1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
327 #define SWIG_name "_controls"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
371 static const wxString
wxPyEmptyString(wxEmptyString
);
372 static const wxString
wxPyControlNameStr(wxControlNameStr
);
374 const wxArrayString wxPyEmptyStringArray
;
376 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
379 SWIG_PyObj_AsInt(PyObject
*obj
)
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
387 SWIG_PyObj_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
395 SWIG_PyObj_AsBool(PyObject
*obj
)
397 return PyObject_IsTrue(obj
) ? true : false;
400 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
401 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
402 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
403 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
404 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
405 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
407 #include <wx/checklst.h>
410 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
411 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
413 wxPyClientData
* data
= new wxPyClientData(clientData
);
414 self
->Insert(item
, pos
, data
);
416 self
->Insert(item
, pos
);
418 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
420 self
->GetSelections(lst
);
421 PyObject
*tup
= PyTuple_New(lst
.GetCount());
422 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
423 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
427 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
429 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
430 self
->GetItem(item
)->SetTextColour(c
);
433 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
435 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
436 self
->GetItem(item
)->SetBackgroundColour(c
);
439 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
441 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
442 self
->GetItem(item
)->SetFont(f
);
445 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
447 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
453 } else if (target
== Py_None
) {
457 if (!PyTuple_Check(target
)) {
459 target
= PyTuple_New(1);
460 PyTuple_SetItem(target
, 0, o2
);
463 PyTuple_SetItem(o3
, 0, o
);
466 target
= PySequence_Concat(o2
, o3
);
473 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
474 self
->AppendText(text
);
476 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
477 return self
->GetValue().Mid(from
, to
- from
);
479 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
480 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
481 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
482 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
483 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
485 #include <wx/slider.h>
488 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
489 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
491 #if defined(__WXMAC__) || defined(__WXX11__)
492 // implement dummy classes and such for wxMac
494 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
496 class wxToggleButton
: public wxControl
499 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
500 const wxPoint
&, const wxSize
&, long,
501 const wxValidator
&, const wxString
&)
502 { wxPyRaiseNotImplemented(); }
505 { wxPyRaiseNotImplemented(); }
509 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
511 SWIGSTATIC(PyObject
* )
512 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
514 return (value
> (unsigned long)(LONG_MAX
)) ?
515 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
519 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
520 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
522 Py_INCREF(udata
->m_obj
);
529 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
530 self
->SetClientData(new wxPyUserData(clientData
));
532 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
533 wxPyUserData
* udata
= NULL
;
534 if (clientData
&& clientData
!= Py_None
)
535 udata
= new wxPyUserData(clientData
);
536 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
537 shortHelp
, longHelp
, udata
);
539 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
540 wxPyUserData
* udata
= NULL
;
541 if (clientData
&& clientData
!= Py_None
)
542 udata
= new wxPyUserData(clientData
);
543 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
544 shortHelp
, longHelp
, udata
);
546 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
547 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
549 Py_INCREF(udata
->m_obj
);
556 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
557 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
560 #include <wx/listctrl.h>
563 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
564 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
565 // Python aware sorting function for wxPyListCtrl
566 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
568 PyObject
* func
= (PyObject
*)funcPtr
;
569 wxPyBeginBlockThreads();
571 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
572 PyObject
* result
= PyEval_CallObject(func
, args
);
575 retval
= PyInt_AsLong(result
);
579 wxPyEndBlockThreads();
583 // C++ Version of a Python aware class
584 class wxPyListCtrl
: public wxListCtrl
{
585 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
587 wxPyListCtrl() : wxListCtrl() {}
588 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
592 const wxValidator
& validator
,
593 const wxString
& name
) :
594 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
596 bool Create(wxWindow
* parent
, wxWindowID id
,
600 const wxValidator
& validator
,
601 const wxString
& name
) {
602 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
605 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
606 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
607 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
612 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
614 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
615 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
616 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
618 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
620 item
.SetMask( wxLIST_MASK_STATE
|
628 if (self
->GetColumn(col
, item
))
629 return new wxListItem(item
);
633 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
634 wxListItem
* info
= new wxListItem
;
635 info
->m_itemId
= itemId
;
637 info
->m_mask
= 0xFFFF;
638 self
->GetItem(*info
);
641 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
643 self
->GetItemPosition(item
, pos
);
646 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
648 self
->GetItemRect(item
, rect
, code
);
651 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
652 if (!PyCallable_Check(func
))
654 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
656 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
664 #include <wx/treectrl.h>
665 #include "wx/wxPython/pytree.h"
667 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
668 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
669 if (!other
) return False
;
670 return *self
== *other
;
672 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
673 if (!other
) return True
;
674 return *self
!= *other
;
676 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
677 // C++ version of Python aware wxTreeCtrl
678 class wxPyTreeCtrl
: public wxTreeCtrl
{
679 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
681 wxPyTreeCtrl() : wxTreeCtrl() {}
682 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
686 const wxValidator
& validator
,
687 const wxString
& name
) :
688 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
690 bool Create(wxWindow
*parent
, wxWindowID id
,
694 const wxValidator
& validator
,
695 const wxString
& name
) {
696 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
700 int OnCompareItems(const wxTreeItemId
& item1
,
701 const wxTreeItemId
& item2
) {
704 wxPyBeginBlockThreads();
705 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
706 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
707 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
708 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
712 wxPyEndBlockThreads();
714 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
720 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
724 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
727 SWIGSTATIC(unsigned int)
728 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
730 return numeric_cast(unsigned int,
731 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
734 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
735 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
737 data
= new wxPyTreeItemData();
738 data
->SetId(item
); // set the id
739 self
->SetItemData(item
, data
);
743 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
744 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
746 data
= new wxPyTreeItemData();
747 data
->SetId(item
); // set the id
748 self
->SetItemData(item
, data
);
750 return data
->GetData();
752 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
753 data
->SetId(item
); // set the id
754 self
->SetItemData(item
, data
);
756 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
757 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
759 data
= new wxPyTreeItemData(obj
);
760 data
->SetId(item
); // set the id
761 self
->SetItemData(item
, data
);
765 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
766 wxPyBeginBlockThreads();
767 PyObject
* rval
= PyList_New(0);
768 wxArrayTreeItemIds array
;
770 num
= self
->GetSelections(array
);
771 for (x
=0; x
< num
; x
++) {
772 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
773 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
774 PyList_Append(rval
, item
);
776 wxPyEndBlockThreads();
779 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
781 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
782 wxPyBeginBlockThreads();
783 PyObject
* tup
= PyTuple_New(2);
784 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
785 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
786 wxPyEndBlockThreads();
789 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
790 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
791 wxPyBeginBlockThreads();
792 PyObject
* tup
= PyTuple_New(2);
793 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
794 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
795 wxPyEndBlockThreads();
798 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
800 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
801 wxPyBeginBlockThreads();
802 wxRect
* r
= new wxRect(rect
);
803 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
804 wxPyEndBlockThreads();
810 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
811 // C++ version of Python aware wxControl
812 class wxPyControl
: public wxControl
814 DECLARE_DYNAMIC_CLASS(wxPyControl
)
816 wxPyControl() : wxControl() {}
817 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
818 const wxPoint
& pos
= wxDefaultPosition
,
819 const wxSize
& size
= wxDefaultSize
,
821 const wxValidator
& validator
=wxDefaultValidator
,
822 const wxString
& name
= wxPyControlNameStr
)
823 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
826 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
827 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
828 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
829 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
831 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
832 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
835 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
836 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
838 DEC_PYCALLBACK__(InitDialog
);
839 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
840 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
841 DEC_PYCALLBACK_BOOL_(Validate
);
843 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
844 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
845 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
847 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
848 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
853 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
855 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
856 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
857 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
858 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
860 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
861 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
862 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
864 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
865 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
867 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
868 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
869 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
870 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
872 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
873 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
874 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
876 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
877 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
882 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
884 #include <wx/generic/dragimgg.h>
889 static int _wrap_ButtonNameStr_set(PyObject
*) {
890 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
895 static PyObject
*_wrap_ButtonNameStr_get() {
900 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
902 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
909 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 wxWindow
*arg1
= (wxWindow
*) 0 ;
914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
918 long arg6
= (long) 0 ;
919 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
920 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
921 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
922 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
928 PyObject
* obj0
= 0 ;
929 PyObject
* obj1
= 0 ;
930 PyObject
* obj2
= 0 ;
931 PyObject
* obj3
= 0 ;
932 PyObject
* obj4
= 0 ;
933 PyObject
* obj5
= 0 ;
934 PyObject
* obj6
= 0 ;
935 PyObject
* obj7
= 0 ;
937 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
943 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
944 if (PyErr_Occurred()) SWIG_fail
;
947 arg3
= wxString_in_helper(obj2
);
948 if (arg3
== NULL
) SWIG_fail
;
954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
965 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
966 if (PyErr_Occurred()) SWIG_fail
;
970 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
977 arg8
= wxString_in_helper(obj7
);
978 if (arg8
== NULL
) SWIG_fail
;
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) SWIG_fail
;
990 resultobj
= wxPyMake_wxObject(result
);
1014 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
*resultobj
;
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1024 result
= (wxButton
*)new wxButton();
1026 wxPyEndAllowThreads(__tstate
);
1027 if (PyErr_Occurred()) SWIG_fail
;
1030 resultobj
= wxPyMake_wxObject(result
);
1038 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
*resultobj
;
1040 wxButton
*arg1
= (wxButton
*) 0 ;
1041 wxWindow
*arg2
= (wxWindow
*) 0 ;
1043 wxString
*arg4
= 0 ;
1044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1046 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1047 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1048 long arg7
= (long) 0 ;
1049 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1050 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1051 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1052 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1054 bool temp4
= False
;
1057 bool temp9
= False
;
1058 PyObject
* obj0
= 0 ;
1059 PyObject
* obj1
= 0 ;
1060 PyObject
* obj2
= 0 ;
1061 PyObject
* obj3
= 0 ;
1062 PyObject
* obj4
= 0 ;
1063 PyObject
* obj5
= 0 ;
1064 PyObject
* obj6
= 0 ;
1065 PyObject
* obj7
= 0 ;
1066 PyObject
* obj8
= 0 ;
1068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1075 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1079 arg4
= wxString_in_helper(obj3
);
1080 if (arg4
== NULL
) SWIG_fail
;
1086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1097 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1102 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1109 arg9
= wxString_in_helper(obj8
);
1110 if (arg9
== NULL
) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1144 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1146 wxButton
*arg1
= (wxButton
*) 0 ;
1147 PyObject
* obj0
= 0 ;
1149 (char *) "self", NULL
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 (arg1
)->SetDefault();
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1161 Py_INCREF(Py_None
); resultobj
= Py_None
;
1168 static PyObject
*_wrap_Button_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
*resultobj
;
1170 wxButton
*arg1
= (wxButton
*) 0 ;
1171 wxBitmap
*arg2
= 0 ;
1172 PyObject
* obj0
= 0 ;
1173 PyObject
* obj1
= 0 ;
1175 (char *) "self",(char *) "bitmap", NULL
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Button_SetImageLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1180 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1182 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1186 (arg1
)->SetImageLabel((wxBitmap
const &)*arg2
);
1188 wxPyEndAllowThreads(__tstate
);
1189 if (PyErr_Occurred()) SWIG_fail
;
1191 Py_INCREF(Py_None
); resultobj
= Py_None
;
1198 static PyObject
*_wrap_Button_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
*resultobj
;
1200 wxButton
*arg1
= (wxButton
*) 0 ;
1203 PyObject
* obj0
= 0 ;
1204 PyObject
* obj1
= 0 ;
1205 PyObject
* obj2
= 0 ;
1207 (char *) "self",(char *) "x",(char *) "y", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Button_SetImageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1217 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1222 (arg1
)->SetImageMargins(arg2
,arg3
);
1224 wxPyEndAllowThreads(__tstate
);
1225 if (PyErr_Occurred()) SWIG_fail
;
1227 Py_INCREF(Py_None
); resultobj
= Py_None
;
1234 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
*resultobj
;
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 result
= wxButton::GetDefaultSize();
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1251 resultptr
= new wxSize((wxSize
&) result
);
1252 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1260 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1263 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1265 return Py_BuildValue((char *)"");
1267 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
*resultobj
;
1269 wxWindow
*arg1
= (wxWindow
*) 0 ;
1271 wxBitmap
*arg3
= 0 ;
1272 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1273 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1274 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1275 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1276 long arg6
= (long) wxBU_AUTODRAW
;
1277 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1278 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1279 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1280 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1281 wxBitmapButton
*result
;
1284 bool temp8
= False
;
1285 PyObject
* obj0
= 0 ;
1286 PyObject
* obj1
= 0 ;
1287 PyObject
* obj2
= 0 ;
1288 PyObject
* obj3
= 0 ;
1289 PyObject
* obj4
= 0 ;
1290 PyObject
* obj5
= 0 ;
1291 PyObject
* obj6
= 0 ;
1292 PyObject
* obj7
= 0 ;
1294 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1300 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1301 if (PyErr_Occurred()) SWIG_fail
;
1303 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1305 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1316 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1321 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1326 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1328 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1333 arg8
= wxString_in_helper(obj7
);
1334 if (arg8
== NULL
) SWIG_fail
;
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1346 resultobj
= wxPyMake_wxObject(result
);
1362 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
*resultobj
;
1364 wxBitmapButton
*result
;
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1372 result
= (wxBitmapButton
*)new wxBitmapButton();
1374 wxPyEndAllowThreads(__tstate
);
1375 if (PyErr_Occurred()) SWIG_fail
;
1378 resultobj
= wxPyMake_wxObject(result
);
1386 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
*resultobj
;
1388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1389 wxWindow
*arg2
= (wxWindow
*) 0 ;
1391 wxBitmap
*arg4
= 0 ;
1392 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1393 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1394 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1395 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1396 long arg7
= (long) wxBU_AUTODRAW
;
1397 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1398 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1399 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1400 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1404 bool temp9
= False
;
1405 PyObject
* obj0
= 0 ;
1406 PyObject
* obj1
= 0 ;
1407 PyObject
* obj2
= 0 ;
1408 PyObject
* obj3
= 0 ;
1409 PyObject
* obj4
= 0 ;
1410 PyObject
* obj5
= 0 ;
1411 PyObject
* obj6
= 0 ;
1412 PyObject
* obj7
= 0 ;
1413 PyObject
* obj8
= 0 ;
1415 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1422 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1425 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1432 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1438 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1443 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1448 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1450 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1455 arg9
= wxString_in_helper(obj8
);
1456 if (arg9
== NULL
) SWIG_fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1482 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
*resultobj
;
1484 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1486 PyObject
* obj0
= 0 ;
1488 (char *) "self", NULL
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 result
= (arg1
)->GetBitmapLabel();
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1501 wxBitmap
* resultptr
;
1502 resultptr
= new wxBitmap((wxBitmap
&) result
);
1503 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1511 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
*resultobj
;
1513 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1515 PyObject
* obj0
= 0 ;
1517 (char *) "self", NULL
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 result
= (arg1
)->GetBitmapDisabled();
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) SWIG_fail
;
1530 wxBitmap
* resultptr
;
1531 resultptr
= new wxBitmap((wxBitmap
&) result
);
1532 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1540 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
*resultobj
;
1542 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1544 PyObject
* obj0
= 0 ;
1546 (char *) "self", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 result
= (arg1
)->GetBitmapFocus();
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1559 wxBitmap
* resultptr
;
1560 resultptr
= new wxBitmap((wxBitmap
&) result
);
1561 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1569 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
*resultobj
;
1571 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1573 PyObject
* obj0
= 0 ;
1575 (char *) "self", NULL
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 result
= (arg1
)->GetBitmapSelected();
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1588 wxBitmap
* resultptr
;
1589 resultptr
= new wxBitmap((wxBitmap
&) result
);
1590 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1598 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
*resultobj
;
1600 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1601 wxBitmap
*arg2
= 0 ;
1602 PyObject
* obj0
= 0 ;
1603 PyObject
* obj1
= 0 ;
1605 (char *) "self",(char *) "bitmap", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1621 Py_INCREF(Py_None
); resultobj
= Py_None
;
1628 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
*resultobj
;
1630 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1631 wxBitmap
*arg2
= 0 ;
1632 PyObject
* obj0
= 0 ;
1633 PyObject
* obj1
= 0 ;
1635 (char *) "self",(char *) "bitmap", NULL
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 Py_INCREF(Py_None
); resultobj
= Py_None
;
1658 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
*resultobj
;
1660 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1661 wxBitmap
*arg2
= 0 ;
1662 PyObject
* obj0
= 0 ;
1663 PyObject
* obj1
= 0 ;
1665 (char *) "self",(char *) "bitmap", NULL
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1681 Py_INCREF(Py_None
); resultobj
= Py_None
;
1688 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1691 wxBitmap
*arg2
= 0 ;
1692 PyObject
* obj0
= 0 ;
1693 PyObject
* obj1
= 0 ;
1695 (char *) "self",(char *) "bitmap", NULL
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1711 Py_INCREF(Py_None
); resultobj
= Py_None
;
1718 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
*resultobj
;
1720 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1723 PyObject
* obj0
= 0 ;
1724 PyObject
* obj1
= 0 ;
1725 PyObject
* obj2
= 0 ;
1727 (char *) "self",(char *) "x",(char *) "y", NULL
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1733 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1737 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 (arg1
)->SetMargins(arg2
,arg3
);
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 Py_INCREF(Py_None
); resultobj
= Py_None
;
1754 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1758 PyObject
* obj0
= 0 ;
1760 (char *) "self", NULL
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 resultobj
= SWIG_PyObj_FromInt((int)result
);
1779 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1783 PyObject
* obj0
= 0 ;
1785 (char *) "self", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 resultobj
= SWIG_PyObj_FromInt((int)result
);
1804 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1807 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1809 return Py_BuildValue((char *)"");
1811 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1812 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1817 static PyObject
*_wrap_CheckBoxNameStr_get() {
1822 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1824 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1831 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxWindow
*arg1
= (wxWindow
*) 0 ;
1835 wxString
*arg3
= 0 ;
1836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1840 long arg6
= (long) 0 ;
1841 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1842 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1843 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1844 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1846 bool temp3
= False
;
1849 bool temp8
= False
;
1850 PyObject
* obj0
= 0 ;
1851 PyObject
* obj1
= 0 ;
1852 PyObject
* obj2
= 0 ;
1853 PyObject
* obj3
= 0 ;
1854 PyObject
* obj4
= 0 ;
1855 PyObject
* obj5
= 0 ;
1856 PyObject
* obj6
= 0 ;
1857 PyObject
* obj7
= 0 ;
1859 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1865 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1869 arg3
= wxString_in_helper(obj2
);
1870 if (arg3
== NULL
) SWIG_fail
;
1876 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1882 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1887 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1892 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1894 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1899 arg8
= wxString_in_helper(obj7
);
1900 if (arg8
== NULL
) SWIG_fail
;
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1911 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1934 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 result
= (wxCheckBox
*)new wxCheckBox();
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1956 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
*resultobj
;
1958 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1959 wxWindow
*arg2
= (wxWindow
*) 0 ;
1961 wxString
*arg4
= 0 ;
1962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1966 long arg7
= (long) 0 ;
1967 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1968 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1969 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1970 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1972 bool temp4
= False
;
1975 bool temp9
= False
;
1976 PyObject
* obj0
= 0 ;
1977 PyObject
* obj1
= 0 ;
1978 PyObject
* obj2
= 0 ;
1979 PyObject
* obj3
= 0 ;
1980 PyObject
* obj4
= 0 ;
1981 PyObject
* obj5
= 0 ;
1982 PyObject
* obj6
= 0 ;
1983 PyObject
* obj7
= 0 ;
1984 PyObject
* obj8
= 0 ;
1986 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1993 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1997 arg4
= wxString_in_helper(obj3
);
1998 if (arg4
== NULL
) SWIG_fail
;
2004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2010 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2015 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2020 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2027 arg9
= wxString_in_helper(obj8
);
2028 if (arg9
== NULL
) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2062 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2066 PyObject
* obj0
= 0 ;
2068 (char *) "self", NULL
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 result
= (bool)(arg1
)->GetValue();
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2087 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
*resultobj
;
2089 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2091 PyObject
* obj0
= 0 ;
2093 (char *) "self", NULL
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 result
= (bool)(arg1
)->IsChecked();
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2112 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2114 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2116 PyObject
* obj0
= 0 ;
2117 PyObject
* obj1
= 0 ;
2119 (char *) "self",(char *) "state", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2125 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 (arg1
)->SetValue(arg2
);
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2135 Py_INCREF(Py_None
); resultobj
= Py_None
;
2142 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2148 (char *) "self", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2160 resultobj
= SWIG_PyObj_FromInt((int)result
);
2167 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
*resultobj
;
2169 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2171 PyObject
* obj0
= 0 ;
2172 PyObject
* obj1
= 0 ;
2174 (char *) "self",(char *) "state", NULL
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2180 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 Py_INCREF(Py_None
); resultobj
= Py_None
;
2197 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2201 PyObject
* obj0
= 0 ;
2203 (char *) "self", NULL
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2222 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2226 PyObject
* obj0
= 0 ;
2228 (char *) "self", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2247 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2250 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2252 return Py_BuildValue((char *)"");
2254 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2255 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2260 static PyObject
*_wrap_ChoiceNameStr_get() {
2265 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2267 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2274 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 wxWindow
*arg1
= (wxWindow
*) 0 ;
2278 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2279 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2280 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2281 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2282 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2283 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2284 long arg6
= (long) 0 ;
2285 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2286 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2287 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2292 bool temp5
= False
;
2293 bool temp8
= False
;
2294 PyObject
* obj0
= 0 ;
2295 PyObject
* obj1
= 0 ;
2296 PyObject
* obj2
= 0 ;
2297 PyObject
* obj3
= 0 ;
2298 PyObject
* obj4
= 0 ;
2299 PyObject
* obj5
= 0 ;
2300 PyObject
* obj6
= 0 ;
2301 PyObject
* obj7
= 0 ;
2303 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2309 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2315 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2321 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2326 if (! PySequence_Check(obj4
)) {
2327 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2330 arg5
= new wxArrayString
;
2332 int i
, len
=PySequence_Length(obj4
);
2333 for (i
=0; i
<len
; i
++) {
2334 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2336 PyObject
* str
= PyObject_Unicode(item
);
2338 PyObject
* str
= PyObject_Str(item
);
2340 arg5
->Add(Py2wxString(str
));
2348 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2353 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2355 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2360 arg8
= wxString_in_helper(obj7
);
2361 if (arg8
== NULL
) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2374 if (temp5
) delete arg5
;
2383 if (temp5
) delete arg5
;
2393 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= (wxChoice
*)new wxChoice();
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2415 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
*resultobj
;
2417 wxChoice
*arg1
= (wxChoice
*) 0 ;
2418 wxWindow
*arg2
= (wxWindow
*) 0 ;
2420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2424 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2425 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2426 long arg7
= (long) 0 ;
2427 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2428 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2429 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2430 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2434 bool temp6
= False
;
2435 bool temp9
= False
;
2436 PyObject
* obj0
= 0 ;
2437 PyObject
* obj1
= 0 ;
2438 PyObject
* obj2
= 0 ;
2439 PyObject
* obj3
= 0 ;
2440 PyObject
* obj4
= 0 ;
2441 PyObject
* obj5
= 0 ;
2442 PyObject
* obj6
= 0 ;
2443 PyObject
* obj7
= 0 ;
2444 PyObject
* obj8
= 0 ;
2446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2453 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2459 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2465 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2470 if (! PySequence_Check(obj5
)) {
2471 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2474 arg6
= new wxArrayString
;
2476 int i
, len
=PySequence_Length(obj5
);
2477 for (i
=0; i
<len
; i
++) {
2478 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2480 PyObject
* str
= PyObject_Unicode(item
);
2482 PyObject
* str
= PyObject_Str(item
);
2484 arg6
->Add(Py2wxString(str
));
2492 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2497 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2504 arg9
= wxString_in_helper(obj8
);
2505 if (arg9
== NULL
) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2518 if (temp6
) delete arg6
;
2527 if (temp6
) delete arg6
;
2537 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxChoice
*arg1
= (wxChoice
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "self", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 result
= (int)(arg1
)->GetColumns();
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2555 resultobj
= SWIG_PyObj_FromInt((int)result
);
2562 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2564 wxChoice
*arg1
= (wxChoice
*) 0 ;
2565 int arg2
= (int) (int)1 ;
2566 PyObject
* obj0
= 0 ;
2567 PyObject
* obj1
= 0 ;
2569 (char *) "self",(char *) "n", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Choice_SetColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
2573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2576 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 (arg1
)->SetColumns(arg2
);
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 Py_INCREF(Py_None
); resultobj
= Py_None
;
2594 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxChoice
*arg1
= (wxChoice
*) 0 ;
2598 PyObject
* obj0
= 0 ;
2599 PyObject
* obj1
= 0 ;
2601 (char *) "self",(char *) "n", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2607 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 (arg1
)->SetSelection(arg2
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2617 Py_INCREF(Py_None
); resultobj
= Py_None
;
2624 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
*resultobj
;
2626 wxChoice
*arg1
= (wxChoice
*) 0 ;
2627 wxString
*arg2
= 0 ;
2628 bool temp2
= False
;
2629 PyObject
* obj0
= 0 ;
2630 PyObject
* obj1
= 0 ;
2632 (char *) "self",(char *) "string", NULL
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2638 arg2
= wxString_in_helper(obj1
);
2639 if (arg2
== NULL
) SWIG_fail
;
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2649 Py_INCREF(Py_None
); resultobj
= Py_None
;
2664 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxChoice
*arg1
= (wxChoice
*) 0 ;
2668 wxString
*arg3
= 0 ;
2669 bool temp3
= False
;
2670 PyObject
* obj0
= 0 ;
2671 PyObject
* obj1
= 0 ;
2672 PyObject
* obj2
= 0 ;
2674 (char *) "self",(char *) "n",(char *) "s", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2680 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2684 arg3
= wxString_in_helper(obj2
);
2685 if (arg3
== NULL
) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 Py_INCREF(Py_None
); resultobj
= Py_None
;
2710 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2713 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2715 return Py_BuildValue((char *)"");
2717 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2718 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2723 static PyObject
*_wrap_ComboBoxNameStr_get() {
2728 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2730 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2737 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2739 wxWindow
*arg1
= (wxWindow
*) 0 ;
2741 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2742 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2743 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2744 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2745 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2746 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2747 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2748 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2749 long arg7
= (long) 0 ;
2750 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2751 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2752 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2753 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2755 bool temp3
= False
;
2758 bool temp6
= False
;
2759 bool temp9
= False
;
2760 PyObject
* obj0
= 0 ;
2761 PyObject
* obj1
= 0 ;
2762 PyObject
* obj2
= 0 ;
2763 PyObject
* obj3
= 0 ;
2764 PyObject
* obj4
= 0 ;
2765 PyObject
* obj5
= 0 ;
2766 PyObject
* obj6
= 0 ;
2767 PyObject
* obj7
= 0 ;
2768 PyObject
* obj8
= 0 ;
2770 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2776 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2781 arg3
= wxString_in_helper(obj2
);
2782 if (arg3
== NULL
) SWIG_fail
;
2789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2800 if (! PySequence_Check(obj5
)) {
2801 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2804 arg6
= new wxArrayString
;
2806 int i
, len
=PySequence_Length(obj5
);
2807 for (i
=0; i
<len
; i
++) {
2808 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2810 PyObject
* str
= PyObject_Unicode(item
);
2812 PyObject
* str
= PyObject_Str(item
);
2814 arg6
->Add(Py2wxString(str
));
2822 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2827 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2829 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2834 arg9
= wxString_in_helper(obj8
);
2835 if (arg9
== NULL
) SWIG_fail
;
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 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
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2852 if (temp6
) delete arg6
;
2865 if (temp6
) delete arg6
;
2875 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 result
= (wxComboBox
*)new wxComboBox();
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2890 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2897 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
*resultobj
;
2899 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2900 wxWindow
*arg2
= (wxWindow
*) 0 ;
2902 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2903 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2904 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2905 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2906 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2907 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2908 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2909 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2910 long arg8
= (long) 0 ;
2911 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2912 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2913 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2914 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2916 bool temp4
= False
;
2919 bool temp7
= False
;
2920 bool temp10
= False
;
2921 PyObject
* obj0
= 0 ;
2922 PyObject
* obj1
= 0 ;
2923 PyObject
* obj2
= 0 ;
2924 PyObject
* obj3
= 0 ;
2925 PyObject
* obj4
= 0 ;
2926 PyObject
* obj5
= 0 ;
2927 PyObject
* obj6
= 0 ;
2928 PyObject
* obj7
= 0 ;
2929 PyObject
* obj8
= 0 ;
2930 PyObject
* obj9
= 0 ;
2932 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2939 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2944 arg4
= wxString_in_helper(obj3
);
2945 if (arg4
== NULL
) SWIG_fail
;
2952 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2958 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2963 if (! PySequence_Check(obj6
)) {
2964 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2967 arg7
= new wxArrayString
;
2969 int i
, len
=PySequence_Length(obj6
);
2970 for (i
=0; i
<len
; i
++) {
2971 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2973 PyObject
* str
= PyObject_Unicode(item
);
2975 PyObject
* str
= PyObject_Str(item
);
2977 arg7
->Add(Py2wxString(str
));
2985 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2990 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2997 arg10
= wxString_in_helper(obj9
);
2998 if (arg10
== NULL
) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 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
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3015 if (temp7
) delete arg7
;
3028 if (temp7
) delete arg7
;
3038 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3042 PyObject
* obj0
= 0 ;
3044 (char *) "self", NULL
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 result
= ((wxComboBox
const *)arg1
)->GetValue();
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3069 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3072 wxString
*arg2
= 0 ;
3073 bool temp2
= False
;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3077 (char *) "self",(char *) "value", NULL
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3083 arg2
= wxString_in_helper(obj1
);
3084 if (arg2
== NULL
) SWIG_fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 (arg1
)->SetValue((wxString
const &)*arg2
);
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3094 Py_INCREF(Py_None
); resultobj
= Py_None
;
3109 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3111 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3112 PyObject
* obj0
= 0 ;
3114 (char *) "self", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3126 Py_INCREF(Py_None
); resultobj
= Py_None
;
3133 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3136 PyObject
* obj0
= 0 ;
3138 (char *) "self", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3150 Py_INCREF(Py_None
); resultobj
= Py_None
;
3157 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3160 PyObject
* obj0
= 0 ;
3162 (char *) "self", NULL
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 Py_INCREF(Py_None
); resultobj
= Py_None
;
3181 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3183 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3185 PyObject
* obj0
= 0 ;
3186 PyObject
* obj1
= 0 ;
3188 (char *) "self",(char *) "pos", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3194 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 (arg1
)->SetInsertionPoint(arg2
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3204 Py_INCREF(Py_None
); resultobj
= Py_None
;
3211 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3215 PyObject
* obj0
= 0 ;
3217 (char *) "self", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= SWIG_PyObj_FromLong((long)result
);
3236 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3240 PyObject
* obj0
= 0 ;
3242 (char *) "self", NULL
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 resultobj
= SWIG_PyObj_FromLong((long)result
);
3261 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3266 wxString
*arg4
= 0 ;
3267 bool temp4
= False
;
3268 PyObject
* obj0
= 0 ;
3269 PyObject
* obj1
= 0 ;
3270 PyObject
* obj2
= 0 ;
3271 PyObject
* obj3
= 0 ;
3273 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3279 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3283 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3287 arg4
= wxString_in_helper(obj3
);
3288 if (arg4
== NULL
) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3318 PyObject
* obj1
= 0 ;
3320 (char *) "self",(char *) "n", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3326 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 (arg1
)->SetSelection(arg2
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3350 PyObject
* obj2
= 0 ;
3352 (char *) "self",(char *) "from",(char *) "to", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3358 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 (arg1
)->SetSelection(arg2
,arg3
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 Py_INCREF(Py_None
); resultobj
= Py_None
;
3379 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj1
= 0 ;
3386 (char *) "self",(char *) "editable", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3392 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 (arg1
)->SetEditable(arg2
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3402 Py_INCREF(Py_None
); resultobj
= Py_None
;
3409 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3411 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3414 (char *) "self", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 (arg1
)->SetInsertionPointEnd();
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3426 Py_INCREF(Py_None
); resultobj
= Py_None
;
3433 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3440 PyObject
* obj2
= 0 ;
3442 (char *) "self",(char *) "from",(char *) "to", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3448 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 (arg1
)->Remove(arg2
,arg3
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 Py_INCREF(Py_None
); resultobj
= Py_None
;
3469 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3472 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3474 return Py_BuildValue((char *)"");
3476 static int _wrap_GaugeNameStr_set(PyObject
*) {
3477 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3482 static PyObject
*_wrap_GaugeNameStr_get() {
3487 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3489 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3496 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxWindow
*arg1
= (wxWindow
*) 0 ;
3501 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3502 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3503 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3504 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3505 long arg6
= (long) wxGA_HORIZONTAL
;
3506 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3507 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3508 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3509 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3513 bool temp8
= False
;
3514 PyObject
* obj0
= 0 ;
3515 PyObject
* obj1
= 0 ;
3516 PyObject
* obj2
= 0 ;
3517 PyObject
* obj3
= 0 ;
3518 PyObject
* obj4
= 0 ;
3519 PyObject
* obj5
= 0 ;
3520 PyObject
* obj6
= 0 ;
3521 PyObject
* obj7
= 0 ;
3523 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3529 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3550 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3555 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3557 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3562 arg8
= wxString_in_helper(obj7
);
3563 if (arg8
== NULL
) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3589 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 result
= (wxGauge
*)new wxGauge();
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3611 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxGauge
*arg1
= (wxGauge
*) 0 ;
3614 wxWindow
*arg2
= (wxWindow
*) 0 ;
3617 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3618 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3619 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3620 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3621 long arg7
= (long) wxGA_HORIZONTAL
;
3622 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3623 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3624 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3625 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3629 bool temp9
= False
;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3632 PyObject
* obj2
= 0 ;
3633 PyObject
* obj3
= 0 ;
3634 PyObject
* obj4
= 0 ;
3635 PyObject
* obj5
= 0 ;
3636 PyObject
* obj6
= 0 ;
3637 PyObject
* obj7
= 0 ;
3638 PyObject
* obj8
= 0 ;
3640 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3647 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3663 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3668 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3673 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3675 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3680 arg9
= wxString_in_helper(obj8
);
3681 if (arg9
== NULL
) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3707 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3709 wxGauge
*arg1
= (wxGauge
*) 0 ;
3711 PyObject
* obj0
= 0 ;
3712 PyObject
* obj1
= 0 ;
3714 (char *) "self",(char *) "range", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3720 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 (arg1
)->SetRange(arg2
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxGauge
*arg1
= (wxGauge
*) 0 ;
3741 PyObject
* obj0
= 0 ;
3743 (char *) "self", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= SWIG_PyObj_FromInt((int)result
);
3762 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxGauge
*arg1
= (wxGauge
*) 0 ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3769 (char *) "self",(char *) "pos", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3775 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->SetValue(arg2
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxGauge
*arg1
= (wxGauge
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_PyObj_FromInt((int)result
);
3817 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxGauge
*arg1
= (wxGauge
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3823 (char *) "self", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3842 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxGauge
*arg1
= (wxGauge
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "w", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3855 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 (arg1
)->SetShadowWidth(arg2
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 Py_INCREF(Py_None
); resultobj
= Py_None
;
3872 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxGauge
*arg1
= (wxGauge
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3878 (char *) "self", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_PyObj_FromInt((int)result
);
3897 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxGauge
*arg1
= (wxGauge
*) 0 ;
3901 PyObject
* obj0
= 0 ;
3902 PyObject
* obj1
= 0 ;
3904 (char *) "self",(char *) "w", NULL
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3910 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 (arg1
)->SetBezelFace(arg2
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 Py_INCREF(Py_None
); resultobj
= Py_None
;
3927 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxGauge
*arg1
= (wxGauge
*) 0 ;
3931 PyObject
* obj0
= 0 ;
3933 (char *) "self", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3945 resultobj
= SWIG_PyObj_FromInt((int)result
);
3952 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3955 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3957 return Py_BuildValue((char *)"");
3959 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3960 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3965 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3970 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3972 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3979 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3980 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3985 static PyObject
*_wrap_StaticBoxNameStr_get() {
3990 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3992 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3999 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4000 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4005 static PyObject
*_wrap_StaticTextNameStr_get() {
4010 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4012 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4019 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxWindow
*arg1
= (wxWindow
*) 0 ;
4023 wxString
*arg3
= 0 ;
4024 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4025 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4026 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4027 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4028 long arg6
= (long) 0 ;
4029 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4030 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4031 wxStaticBox
*result
;
4032 bool temp3
= False
;
4035 bool temp7
= False
;
4036 PyObject
* obj0
= 0 ;
4037 PyObject
* obj1
= 0 ;
4038 PyObject
* obj2
= 0 ;
4039 PyObject
* obj3
= 0 ;
4040 PyObject
* obj4
= 0 ;
4041 PyObject
* obj5
= 0 ;
4042 PyObject
* obj6
= 0 ;
4044 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4050 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 arg3
= wxString_in_helper(obj2
);
4055 if (arg3
== NULL
) SWIG_fail
;
4061 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4067 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4072 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4078 arg7
= wxString_in_helper(obj6
);
4079 if (arg7
== NULL
) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= wxPyMake_wxObject(result
);
4115 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxStaticBox
*result
;
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxStaticBox
*)new wxStaticBox();
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= wxPyMake_wxObject(result
);
4139 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4142 wxWindow
*arg2
= (wxWindow
*) 0 ;
4144 wxString
*arg4
= 0 ;
4145 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4146 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4147 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4148 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4149 long arg7
= (long) 0 ;
4150 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4151 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4153 bool temp4
= False
;
4156 bool temp8
= False
;
4157 PyObject
* obj0
= 0 ;
4158 PyObject
* obj1
= 0 ;
4159 PyObject
* obj2
= 0 ;
4160 PyObject
* obj3
= 0 ;
4161 PyObject
* obj4
= 0 ;
4162 PyObject
* obj5
= 0 ;
4163 PyObject
* obj6
= 0 ;
4164 PyObject
* obj7
= 0 ;
4166 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4173 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 arg4
= wxString_in_helper(obj3
);
4178 if (arg4
== NULL
) SWIG_fail
;
4184 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4190 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4195 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4201 arg8
= wxString_in_helper(obj7
);
4202 if (arg8
== NULL
) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4236 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4239 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4241 return Py_BuildValue((char *)"");
4243 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxWindow
*arg1
= (wxWindow
*) 0 ;
4247 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4248 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4249 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4250 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4251 long arg5
= (long) wxLI_HORIZONTAL
;
4252 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4253 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4254 wxStaticLine
*result
;
4257 bool temp6
= False
;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj1
= 0 ;
4260 PyObject
* obj2
= 0 ;
4261 PyObject
* obj3
= 0 ;
4262 PyObject
* obj4
= 0 ;
4263 PyObject
* obj5
= 0 ;
4265 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4271 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4277 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4283 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4288 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4294 arg6
= wxString_in_helper(obj5
);
4295 if (arg6
== NULL
) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4321 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 wxStaticLine
*result
;
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (wxStaticLine
*)new wxStaticLine();
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4343 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4346 wxWindow
*arg2
= (wxWindow
*) 0 ;
4348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4352 long arg6
= (long) wxLI_HORIZONTAL
;
4353 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4354 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4358 bool temp7
= False
;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4361 PyObject
* obj2
= 0 ;
4362 PyObject
* obj3
= 0 ;
4363 PyObject
* obj4
= 0 ;
4364 PyObject
* obj5
= 0 ;
4365 PyObject
* obj6
= 0 ;
4367 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4374 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4380 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4386 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4391 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4397 arg7
= wxString_in_helper(obj6
);
4398 if (arg7
== NULL
) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4424 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4428 PyObject
* obj0
= 0 ;
4430 (char *) "self", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4449 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (int)wxStaticLine::GetDefaultSize();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_PyObj_FromInt((int)result
);
4471 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4474 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4476 return Py_BuildValue((char *)"");
4478 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxWindow
*arg1
= (wxWindow
*) 0 ;
4482 wxString
*arg3
= 0 ;
4483 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4484 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4485 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4486 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4487 long arg6
= (long) 0 ;
4488 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4489 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4490 wxStaticText
*result
;
4491 bool temp3
= False
;
4494 bool temp7
= False
;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4497 PyObject
* obj2
= 0 ;
4498 PyObject
* obj3
= 0 ;
4499 PyObject
* obj4
= 0 ;
4500 PyObject
* obj5
= 0 ;
4501 PyObject
* obj6
= 0 ;
4503 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4509 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4513 arg3
= wxString_in_helper(obj2
);
4514 if (arg3
== NULL
) SWIG_fail
;
4520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4531 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4537 arg7
= wxString_in_helper(obj6
);
4538 if (arg7
== NULL
) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4572 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxStaticText
*result
;
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (wxStaticText
*)new wxStaticText();
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4594 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4597 wxWindow
*arg2
= (wxWindow
*) 0 ;
4599 wxString
*arg4
= 0 ;
4600 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4601 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4602 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4603 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4604 long arg7
= (long) 0 ;
4605 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4606 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4608 bool temp4
= False
;
4611 bool temp8
= False
;
4612 PyObject
* obj0
= 0 ;
4613 PyObject
* obj1
= 0 ;
4614 PyObject
* obj2
= 0 ;
4615 PyObject
* obj3
= 0 ;
4616 PyObject
* obj4
= 0 ;
4617 PyObject
* obj5
= 0 ;
4618 PyObject
* obj6
= 0 ;
4619 PyObject
* obj7
= 0 ;
4621 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4626 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4628 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 arg4
= wxString_in_helper(obj3
);
4633 if (arg4
== NULL
) SWIG_fail
;
4639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4650 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4656 arg8
= wxString_in_helper(obj7
);
4657 if (arg8
== NULL
) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4691 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4694 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4696 return Py_BuildValue((char *)"");
4698 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
;
4700 wxWindow
*arg1
= (wxWindow
*) 0 ;
4702 wxBitmap
*arg3
= 0 ;
4703 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4704 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4705 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4706 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4707 long arg6
= (long) 0 ;
4708 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4709 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4710 wxStaticBitmap
*result
;
4713 bool temp7
= False
;
4714 PyObject
* obj0
= 0 ;
4715 PyObject
* obj1
= 0 ;
4716 PyObject
* obj2
= 0 ;
4717 PyObject
* obj3
= 0 ;
4718 PyObject
* obj4
= 0 ;
4719 PyObject
* obj5
= 0 ;
4720 PyObject
* obj6
= 0 ;
4722 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4728 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4733 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4738 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4744 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4749 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4755 arg7
= wxString_in_helper(obj6
);
4756 if (arg7
== NULL
) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4782 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 wxStaticBitmap
*result
;
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4804 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4807 wxWindow
*arg2
= (wxWindow
*) 0 ;
4809 wxBitmap
*arg4
= 0 ;
4810 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4811 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4812 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4813 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4814 long arg7
= (long) 0 ;
4815 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4816 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4820 bool temp8
= False
;
4821 PyObject
* obj0
= 0 ;
4822 PyObject
* obj1
= 0 ;
4823 PyObject
* obj2
= 0 ;
4824 PyObject
* obj3
= 0 ;
4825 PyObject
* obj4
= 0 ;
4826 PyObject
* obj5
= 0 ;
4827 PyObject
* obj6
= 0 ;
4828 PyObject
* obj7
= 0 ;
4830 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4837 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4847 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4853 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4858 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4864 arg8
= wxString_in_helper(obj7
);
4865 if (arg8
== NULL
) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4891 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (arg1
)->GetBitmap();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 wxBitmap
* resultptr
;
4911 resultptr
= new wxBitmap((wxBitmap
&) result
);
4912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4920 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
;
4922 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4923 wxBitmap
*arg2
= 0 ;
4924 PyObject
* obj0
= 0 ;
4925 PyObject
* obj1
= 0 ;
4927 (char *) "self",(char *) "bitmap", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 Py_INCREF(Py_None
); resultobj
= Py_None
;
4950 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4952 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4957 (char *) "self",(char *) "icon", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4964 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 Py_INCREF(Py_None
); resultobj
= Py_None
;
4980 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4983 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4985 return Py_BuildValue((char *)"");
4987 static int _wrap_ListBoxNameStr_set(PyObject
*) {
4988 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4993 static PyObject
*_wrap_ListBoxNameStr_get() {
4998 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5000 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5007 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
;
5009 wxWindow
*arg1
= (wxWindow
*) 0 ;
5011 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5012 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5013 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5014 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5015 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5016 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5017 long arg6
= (long) 0 ;
5018 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5019 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5020 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5021 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5025 bool temp5
= False
;
5026 bool temp8
= False
;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 PyObject
* obj2
= 0 ;
5030 PyObject
* obj3
= 0 ;
5031 PyObject
* obj4
= 0 ;
5032 PyObject
* obj5
= 0 ;
5033 PyObject
* obj6
= 0 ;
5034 PyObject
* obj7
= 0 ;
5036 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5042 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5048 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5054 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5059 if (! PySequence_Check(obj4
)) {
5060 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5063 arg5
= new wxArrayString
;
5065 int i
, len
=PySequence_Length(obj4
);
5066 for (i
=0; i
<len
; i
++) {
5067 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5069 PyObject
* str
= PyObject_Unicode(item
);
5071 PyObject
* str
= PyObject_Str(item
);
5073 arg5
->Add(Py2wxString(str
));
5081 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5086 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5088 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5093 arg8
= wxString_in_helper(obj7
);
5094 if (arg8
== NULL
) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5107 if (temp5
) delete arg5
;
5116 if (temp5
) delete arg5
;
5126 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (wxListBox
*)new wxListBox();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5148 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxListBox
*arg1
= (wxListBox
*) 0 ;
5151 wxWindow
*arg2
= (wxWindow
*) 0 ;
5153 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5154 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5155 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5156 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5157 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5158 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5159 long arg7
= (long) 0 ;
5160 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5161 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5162 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5163 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5167 bool temp6
= False
;
5168 bool temp9
= False
;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5171 PyObject
* obj2
= 0 ;
5172 PyObject
* obj3
= 0 ;
5173 PyObject
* obj4
= 0 ;
5174 PyObject
* obj5
= 0 ;
5175 PyObject
* obj6
= 0 ;
5176 PyObject
* obj7
= 0 ;
5177 PyObject
* obj8
= 0 ;
5179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5186 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5203 if (! PySequence_Check(obj5
)) {
5204 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5207 arg6
= new wxArrayString
;
5209 int i
, len
=PySequence_Length(obj5
);
5210 for (i
=0; i
<len
; i
++) {
5211 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5213 PyObject
* str
= PyObject_Unicode(item
);
5215 PyObject
* str
= PyObject_Str(item
);
5217 arg6
->Add(Py2wxString(str
));
5225 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5230 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5232 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5237 arg9
= wxString_in_helper(obj8
);
5238 if (arg9
== NULL
) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5251 if (temp6
) delete arg6
;
5260 if (temp6
) delete arg6
;
5270 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxListBox
*arg1
= (wxListBox
*) 0 ;
5273 wxString
*arg2
= 0 ;
5275 PyObject
*arg4
= (PyObject
*) NULL
;
5276 bool temp2
= False
;
5277 PyObject
* obj0
= 0 ;
5278 PyObject
* obj1
= 0 ;
5279 PyObject
* obj2
= 0 ;
5280 PyObject
* obj3
= 0 ;
5282 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5288 arg2
= wxString_in_helper(obj1
);
5289 if (arg2
== NULL
) SWIG_fail
;
5293 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 Py_INCREF(Py_None
); resultobj
= Py_None
;
5321 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxListBox
*arg1
= (wxListBox
*) 0 ;
5324 wxArrayString
*arg2
= 0 ;
5326 bool temp2
= False
;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5329 PyObject
* obj2
= 0 ;
5331 (char *) "self",(char *) "items",(char *) "pos", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5337 if (! PySequence_Check(obj1
)) {
5338 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5341 arg2
= new wxArrayString
;
5343 int i
, len
=PySequence_Length(obj1
);
5344 for (i
=0; i
<len
; i
++) {
5345 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5347 PyObject
* str
= PyObject_Unicode(item
);
5349 PyObject
* str
= PyObject_Str(item
);
5351 arg2
->Add(Py2wxString(str
));
5357 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 Py_INCREF(Py_None
); resultobj
= Py_None
;
5369 if (temp2
) delete arg2
;
5374 if (temp2
) delete arg2
;
5380 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxListBox
*arg1
= (wxListBox
*) 0 ;
5383 wxArrayString
*arg2
= 0 ;
5384 bool temp2
= False
;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5388 (char *) "self",(char *) "items", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5394 if (! PySequence_Check(obj1
)) {
5395 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5398 arg2
= new wxArrayString
;
5400 int i
, len
=PySequence_Length(obj1
);
5401 for (i
=0; i
<len
; i
++) {
5402 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5404 PyObject
* str
= PyObject_Unicode(item
);
5406 PyObject
* str
= PyObject_Str(item
);
5408 arg2
->Add(Py2wxString(str
));
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 (arg1
)->Set((wxArrayString
const &)*arg2
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 Py_INCREF(Py_None
); resultobj
= Py_None
;
5422 if (temp2
) delete arg2
;
5427 if (temp2
) delete arg2
;
5433 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxListBox
*arg1
= (wxListBox
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5441 (char *) "self",(char *) "n", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5447 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5464 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxListBox
*arg1
= (wxListBox
*) 0 ;
5468 bool arg3
= (bool) True
;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5471 PyObject
* obj2
= 0 ;
5473 (char *) "self",(char *) "n",(char *) "select", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5479 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5484 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 (arg1
)->SetSelection(arg2
,arg3
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 Py_INCREF(Py_None
); resultobj
= Py_None
;
5502 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxListBox
*arg1
= (wxListBox
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "n", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5515 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 (arg1
)->Select(arg2
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 Py_INCREF(Py_None
); resultobj
= Py_None
;
5532 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxListBox
*arg1
= (wxListBox
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5539 (char *) "self",(char *) "n", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5545 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 (arg1
)->Deselect(arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 Py_INCREF(Py_None
); resultobj
= Py_None
;
5562 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxListBox
*arg1
= (wxListBox
*) 0 ;
5565 int arg2
= (int) -1 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "self",(char *) "itemToLeaveSelected", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5576 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 (arg1
)->DeselectAll(arg2
);
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 Py_INCREF(Py_None
); resultobj
= Py_None
;
5594 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxListBox
*arg1
= (wxListBox
*) 0 ;
5597 wxString
*arg2
= 0 ;
5598 bool arg3
= (bool) True
;
5600 bool temp2
= False
;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 PyObject
* obj2
= 0 ;
5605 (char *) "self",(char *) "s",(char *) "select", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5611 arg2
= wxString_in_helper(obj1
);
5612 if (arg2
== NULL
) SWIG_fail
;
5617 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5643 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
;
5645 wxListBox
*arg1
= (wxListBox
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5649 (char *) "self", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5668 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
;
5670 wxListBox
*arg1
= (wxListBox
*) 0 ;
5672 PyObject
* obj0
= 0 ;
5673 PyObject
* obj1
= 0 ;
5675 (char *) "self",(char *) "n", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5681 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 (arg1
)->SetFirstItem(arg2
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 Py_INCREF(Py_None
); resultobj
= Py_None
;
5698 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxListBox
*arg1
= (wxListBox
*) 0 ;
5701 wxString
*arg2
= 0 ;
5702 bool temp2
= False
;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5706 (char *) "self",(char *) "s", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5712 arg2
= wxString_in_helper(obj1
);
5713 if (arg2
== NULL
) SWIG_fail
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5723 Py_INCREF(Py_None
); resultobj
= Py_None
;
5738 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxListBox
*arg1
= (wxListBox
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5745 (char *) "self",(char *) "n", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5751 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 (arg1
)->EnsureVisible(arg2
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 Py_INCREF(Py_None
); resultobj
= Py_None
;
5768 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxListBox
*arg1
= (wxListBox
*) 0 ;
5771 wxString
*arg2
= 0 ;
5772 bool temp2
= False
;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5776 (char *) "self",(char *) "s", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5782 arg2
= wxString_in_helper(obj1
);
5783 if (arg2
== NULL
) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 Py_INCREF(Py_None
); resultobj
= Py_None
;
5808 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxListBox
*arg1
= (wxListBox
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5814 (char *) "self", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5833 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxListBox
*arg1
= (wxListBox
*) 0 ;
5837 wxColour
*arg3
= 0 ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5841 PyObject
* obj2
= 0 ;
5843 (char *) "self",(char *) "item",(char *) "c", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5854 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 Py_INCREF(Py_None
); resultobj
= Py_None
;
5870 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
;
5872 wxListBox
*arg1
= (wxListBox
*) 0 ;
5874 wxColour
*arg3
= 0 ;
5876 PyObject
* obj0
= 0 ;
5877 PyObject
* obj1
= 0 ;
5878 PyObject
* obj2
= 0 ;
5880 (char *) "self",(char *) "item",(char *) "c", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5886 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5891 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 Py_INCREF(Py_None
); resultobj
= Py_None
;
5907 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxListBox
*arg1
= (wxListBox
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5914 PyObject
* obj2
= 0 ;
5916 (char *) "self",(char *) "item",(char *) "f", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5922 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5927 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5943 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5946 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5948 return Py_BuildValue((char *)"");
5950 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxWindow
*arg1
= (wxWindow
*) 0 ;
5954 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5955 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5956 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5957 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5958 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5959 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5960 long arg6
= (long) 0 ;
5961 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5962 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5963 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5964 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5965 wxCheckListBox
*result
;
5968 bool temp5
= False
;
5969 bool temp8
= False
;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 PyObject
* obj2
= 0 ;
5973 PyObject
* obj3
= 0 ;
5974 PyObject
* obj4
= 0 ;
5975 PyObject
* obj5
= 0 ;
5976 PyObject
* obj6
= 0 ;
5977 PyObject
* obj7
= 0 ;
5979 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5985 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5991 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5997 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6002 if (! PySequence_Check(obj4
)) {
6003 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6006 arg5
= new wxArrayString
;
6008 int i
, len
=PySequence_Length(obj4
);
6009 for (i
=0; i
<len
; i
++) {
6010 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6012 PyObject
* str
= PyObject_Unicode(item
);
6014 PyObject
* str
= PyObject_Str(item
);
6016 arg5
->Add(Py2wxString(str
));
6024 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6029 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6031 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6036 arg8
= wxString_in_helper(obj7
);
6037 if (arg8
== NULL
) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
6050 if (temp5
) delete arg5
;
6059 if (temp5
) delete arg5
;
6069 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxCheckListBox
*result
;
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (wxCheckListBox
*)new wxCheckListBox();
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
6091 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6094 wxWindow
*arg2
= (wxWindow
*) 0 ;
6096 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6097 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6098 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6099 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6100 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6101 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6102 long arg7
= (long) 0 ;
6103 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6104 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6105 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6106 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6110 bool temp6
= False
;
6111 bool temp9
= False
;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6114 PyObject
* obj2
= 0 ;
6115 PyObject
* obj3
= 0 ;
6116 PyObject
* obj4
= 0 ;
6117 PyObject
* obj5
= 0 ;
6118 PyObject
* obj6
= 0 ;
6119 PyObject
* obj7
= 0 ;
6120 PyObject
* obj8
= 0 ;
6122 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6127 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6129 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6146 if (! PySequence_Check(obj5
)) {
6147 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6150 arg6
= new wxArrayString
;
6152 int i
, len
=PySequence_Length(obj5
);
6153 for (i
=0; i
<len
; i
++) {
6154 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6156 PyObject
* str
= PyObject_Unicode(item
);
6158 PyObject
* str
= PyObject_Str(item
);
6160 arg6
->Add(Py2wxString(str
));
6168 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6173 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6175 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6180 arg9
= wxString_in_helper(obj8
);
6181 if (arg9
== NULL
) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6194 if (temp6
) delete arg6
;
6203 if (temp6
) delete arg6
;
6213 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6218 PyObject
* obj0
= 0 ;
6219 PyObject
* obj1
= 0 ;
6221 (char *) "self",(char *) "index", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 result
= (bool)(arg1
)->IsChecked(arg2
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6244 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6248 int arg3
= (int) True
;
6249 PyObject
* obj0
= 0 ;
6250 PyObject
* obj1
= 0 ;
6251 PyObject
* obj2
= 0 ;
6253 (char *) "self",(char *) "index",(char *) "check", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6259 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6264 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 (arg1
)->Check(arg2
,arg3
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 Py_INCREF(Py_None
); resultobj
= Py_None
;
6282 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6286 PyObject
* obj0
= 0 ;
6288 (char *) "self", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (int)(arg1
)->GetItemHeight();
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_PyObj_FromInt((int)result
);
6307 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6316 (char *) "self",(char *) "pt", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= SWIG_PyObj_FromInt((int)result
);
6339 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6345 PyObject
* obj0
= 0 ;
6346 PyObject
* obj1
= 0 ;
6347 PyObject
* obj2
= 0 ;
6349 (char *) "self",(char *) "x",(char *) "y", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6355 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6359 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_PyObj_FromInt((int)result
);
6376 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6379 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6381 return Py_BuildValue((char *)"");
6383 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6384 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6389 static PyObject
*_wrap_TextCtrlNameStr_get() {
6394 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6396 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6403 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6404 PyObject
*resultobj
;
6407 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (wxTextAttr
*)new wxTextAttr();
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6422 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6423 PyObject
*resultobj
;
6424 wxColour
*arg1
= 0 ;
6425 wxColour
const &arg2_defvalue
= wxNullColour
;
6426 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6427 wxFont
const &arg3_defvalue
= wxNullFont
;
6428 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6429 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6435 PyObject
* obj2
= 0 ;
6436 PyObject
* obj3
= 0 ;
6438 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6441 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6446 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6450 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6457 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6475 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6480 argc
= PyObject_Length(args
);
6481 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6482 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6485 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6487 if ((argc
>= 1) && (argc
<= 4)) {
6490 _v
= wxColour_typecheck(argv
[0]);
6494 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6497 _v
= wxColour_typecheck(argv
[1]);
6501 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6505 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6514 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6517 SWIG_PyObj_AsInt(argv
[3]);
6518 if (PyErr_Occurred()) {
6526 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6533 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6538 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6543 (char *) "self", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 Py_INCREF(Py_None
); resultobj
= Py_None
;
6562 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6567 (char *) "self", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 Py_INCREF(Py_None
); resultobj
= Py_None
;
6586 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6589 wxColour
*arg2
= 0 ;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6594 (char *) "self",(char *) "colText", NULL
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6601 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 Py_INCREF(Py_None
); resultobj
= Py_None
;
6617 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6620 wxColour
*arg2
= 0 ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6625 (char *) "self",(char *) "colBack", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6632 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 Py_INCREF(Py_None
); resultobj
= Py_None
;
6648 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6652 long arg3
= (long) wxTEXT_ATTR_FONT
;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6655 PyObject
* obj2
= 0 ;
6657 (char *) "self",(char *) "font",(char *) "flags", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6664 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6668 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 Py_INCREF(Py_None
); resultobj
= Py_None
;
6686 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "alignment", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6699 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 Py_INCREF(Py_None
); resultobj
= Py_None
;
6716 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6719 wxArrayInt
*arg2
= 0 ;
6720 bool temp2
= False
;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6724 (char *) "self",(char *) "tabs", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6730 if (! PySequence_Check(obj1
)) {
6731 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6734 arg2
= new wxArrayInt
;
6736 int i
, len
=PySequence_Length(obj1
);
6737 for (i
=0; i
<len
; i
++) {
6738 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6739 PyObject
* number
= PyNumber_Int(item
);
6740 arg2
->Add(PyInt_AS_LONG(number
));
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 Py_INCREF(Py_None
); resultobj
= Py_None
;
6754 if (temp2
) delete arg2
;
6759 if (temp2
) delete arg2
;
6765 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6769 PyObject
* obj0
= 0 ;
6770 PyObject
* obj1
= 0 ;
6772 (char *) "self",(char *) "indent", NULL
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6778 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 (arg1
)->SetLeftIndent(arg2
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 Py_INCREF(Py_None
); resultobj
= Py_None
;
6795 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6799 PyObject
* obj0
= 0 ;
6800 PyObject
* obj1
= 0 ;
6802 (char *) "self",(char *) "indent", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6808 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 (arg1
)->SetRightIndent(arg2
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 Py_INCREF(Py_None
); resultobj
= Py_None
;
6825 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6832 (char *) "self",(char *) "flags", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6838 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 (arg1
)->SetFlags(arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 Py_INCREF(Py_None
); resultobj
= Py_None
;
6855 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6861 (char *) "self", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6880 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6884 PyObject
* obj0
= 0 ;
6886 (char *) "self", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6905 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
;
6907 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6909 PyObject
* obj0
= 0 ;
6911 (char *) "self", NULL
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6930 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6936 (char *) "self", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6955 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6959 PyObject
* obj0
= 0 ;
6961 (char *) "self", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6980 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6984 PyObject
* obj0
= 0 ;
6986 (char *) "self", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7005 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7009 PyObject
* obj0
= 0 ;
7011 (char *) "self", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7030 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7035 PyObject
* obj0
= 0 ;
7036 PyObject
* obj1
= 0 ;
7038 (char *) "self",(char *) "flag", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7044 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7061 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
;
7063 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7065 PyObject
* obj0
= 0 ;
7067 (char *) "self", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7076 result
= (wxColour
*) &_result_ref
;
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
7089 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7095 (char *) "self", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7104 result
= (wxColour
*) &_result_ref
;
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
7117 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7132 result
= (wxFont
*) &_result_ref
;
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
7145 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7151 (char *) "self", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_PyObj_FromInt((int)result
);
7170 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7174 PyObject
* obj0
= 0 ;
7176 (char *) "self", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7185 result
= (wxArrayInt
*) &_result_ref
;
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= PyList_New(0);
7194 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7195 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7196 PyList_Append(resultobj
, val
);
7206 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7212 (char *) "self", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 resultobj
= SWIG_PyObj_FromLong((long)result
);
7231 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7235 PyObject
* obj0
= 0 ;
7237 (char *) "self", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_PyObj_FromLong((long)result
);
7256 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7262 (char *) "self", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= SWIG_PyObj_FromLong((long)result
);
7281 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7287 (char *) "self", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7306 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxTextAttr
*arg1
= 0 ;
7309 wxTextAttr
*arg2
= 0 ;
7310 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7314 PyObject
* obj2
= 0 ;
7316 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7328 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7337 wxTextAttr
* resultptr
;
7338 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7339 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7347 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7350 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7352 return Py_BuildValue((char *)"");
7354 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxWindow
*arg1
= (wxWindow
*) 0 ;
7358 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7359 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7360 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7361 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7362 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7363 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7364 long arg6
= (long) 0 ;
7365 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7366 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7367 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7368 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7370 bool temp3
= False
;
7373 bool temp8
= False
;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7376 PyObject
* obj2
= 0 ;
7377 PyObject
* obj3
= 0 ;
7378 PyObject
* obj4
= 0 ;
7379 PyObject
* obj5
= 0 ;
7380 PyObject
* obj6
= 0 ;
7381 PyObject
* obj7
= 0 ;
7383 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7389 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7394 arg3
= wxString_in_helper(obj2
);
7395 if (arg3
== NULL
) SWIG_fail
;
7402 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7408 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7413 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7418 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7420 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7425 arg8
= wxString_in_helper(obj7
);
7426 if (arg8
== NULL
) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= wxPyMake_wxObject(result
);
7462 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (wxTextCtrl
*)new wxTextCtrl();
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= wxPyMake_wxObject(result
);
7486 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7489 wxWindow
*arg2
= (wxWindow
*) 0 ;
7491 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7492 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7493 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7494 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7495 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7496 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7497 long arg7
= (long) 0 ;
7498 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7499 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7500 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7501 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7503 bool temp4
= False
;
7506 bool temp9
= False
;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7509 PyObject
* obj2
= 0 ;
7510 PyObject
* obj3
= 0 ;
7511 PyObject
* obj4
= 0 ;
7512 PyObject
* obj5
= 0 ;
7513 PyObject
* obj6
= 0 ;
7514 PyObject
* obj7
= 0 ;
7515 PyObject
* obj8
= 0 ;
7517 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7524 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7529 arg4
= wxString_in_helper(obj3
);
7530 if (arg4
== NULL
) SWIG_fail
;
7537 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7543 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7548 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7553 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7555 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7560 arg9
= wxString_in_helper(obj8
);
7561 if (arg9
== NULL
) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7595 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7601 (char *) "self", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7626 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7629 wxString
*arg2
= 0 ;
7630 bool temp2
= False
;
7631 PyObject
* obj0
= 0 ;
7632 PyObject
* obj1
= 0 ;
7634 (char *) "self",(char *) "value", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7640 arg2
= wxString_in_helper(obj1
);
7641 if (arg2
== NULL
) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 (arg1
)->SetValue((wxString
const &)*arg2
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 Py_INCREF(Py_None
); resultobj
= Py_None
;
7666 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7674 PyObject
* obj2
= 0 ;
7676 (char *) "self",(char *) "from",(char *) "to", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7682 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7709 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "lineNo", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7723 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_PyObj_FromInt((int)result
);
7740 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7748 (char *) "self",(char *) "lineNo", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7754 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7777 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "self", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_PyObj_FromInt((int)result
);
7802 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7808 (char *) "self", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7827 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7831 PyObject
* obj0
= 0 ;
7833 (char *) "self", NULL
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7852 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7858 (char *) "self", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7877 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "self", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7902 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7905 long *arg2
= (long *) 0 ;
7906 long *arg3
= (long *) 0 ;
7909 PyObject
* obj0
= 0 ;
7911 (char *) "self", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7928 resultobj
= t_output_helper(resultobj
,o
);
7931 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7932 resultobj
= t_output_helper(resultobj
,o
);
7940 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7946 (char *) "self", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7971 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
;
7973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 Py_INCREF(Py_None
); resultobj
= Py_None
;
7995 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8000 wxString
*arg4
= 0 ;
8001 bool temp4
= False
;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 PyObject
* obj2
= 0 ;
8005 PyObject
* obj3
= 0 ;
8007 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8013 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8017 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8021 arg4
= wxString_in_helper(obj3
);
8022 if (arg4
== NULL
) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 Py_INCREF(Py_None
); resultobj
= Py_None
;
8047 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8056 (char *) "self",(char *) "from",(char *) "to", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8062 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8066 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 (arg1
)->Remove(arg2
,arg3
);
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 Py_INCREF(Py_None
); resultobj
= Py_None
;
8083 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8086 wxString
*arg2
= 0 ;
8088 bool temp2
= False
;
8089 PyObject
* obj0
= 0 ;
8090 PyObject
* obj1
= 0 ;
8092 (char *) "self",(char *) "file", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8098 arg2
= wxString_in_helper(obj1
);
8099 if (arg2
== NULL
) SWIG_fail
;
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8124 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8127 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8128 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8130 bool temp2
= False
;
8131 PyObject
* obj0
= 0 ;
8132 PyObject
* obj1
= 0 ;
8134 (char *) "self",(char *) "file", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8141 arg2
= wxString_in_helper(obj1
);
8142 if (arg2
== NULL
) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8168 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8171 PyObject
* obj0
= 0 ;
8173 (char *) "self", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 (arg1
)->MarkDirty();
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "self", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 (arg1
)->DiscardEdits();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 Py_INCREF(Py_None
); resultobj
= Py_None
;
8216 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8219 unsigned long arg2
;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8223 (char *) "self",(char *) "len", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8229 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 (arg1
)->SetMaxLength(arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 Py_INCREF(Py_None
); resultobj
= Py_None
;
8246 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8249 wxString
*arg2
= 0 ;
8250 bool temp2
= False
;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8254 (char *) "self",(char *) "text", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8260 arg2
= wxString_in_helper(obj1
);
8261 if (arg2
== NULL
) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 (arg1
)->WriteText((wxString
const &)*arg2
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 Py_INCREF(Py_None
); resultobj
= Py_None
;
8286 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8289 wxString
*arg2
= 0 ;
8290 bool temp2
= False
;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8294 (char *) "self",(char *) "text", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8300 arg2
= wxString_in_helper(obj1
);
8301 if (arg2
== NULL
) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 (arg1
)->AppendText((wxString
const &)*arg2
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 Py_INCREF(Py_None
); resultobj
= Py_None
;
8326 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8329 wxKeyEvent
*arg2
= 0 ;
8331 PyObject
* obj0
= 0 ;
8332 PyObject
* obj1
= 0 ;
8334 (char *) "self",(char *) "event", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8341 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8357 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8362 wxTextAttr
*arg4
= 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8366 PyObject
* obj2
= 0 ;
8367 PyObject
* obj3
= 0 ;
8369 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8375 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8379 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8384 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8400 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8404 wxTextAttr
*arg3
= 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8408 PyObject
* obj2
= 0 ;
8410 (char *) "self",(char *) "position",(char *) "style", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8416 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8437 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8440 wxTextAttr
*arg2
= 0 ;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8445 (char *) "self",(char *) "style", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8468 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
*resultobj
;
8470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8472 PyObject
* obj0
= 0 ;
8474 (char *) "self", NULL
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8483 result
= (wxTextAttr
*) &_result_ref
;
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8496 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8504 PyObject
* obj2
= 0 ;
8506 (char *) "self",(char *) "x",(char *) "y", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8512 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8516 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= SWIG_PyObj_FromLong((long)result
);
8533 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8537 long *arg3
= (long *) 0 ;
8538 long *arg4
= (long *) 0 ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8544 (char *) "self",(char *) "pos", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8552 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 Py_INCREF(Py_None
); resultobj
= Py_None
;
8564 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8565 resultobj
= t_output_helper(resultobj
,o
);
8568 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8569 resultobj
= t_output_helper(resultobj
,o
);
8577 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj1
= 0 ;
8584 (char *) "self",(char *) "pos", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8590 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 (arg1
)->ShowPosition(arg2
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8607 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8611 long *arg3
= (long *) 0 ;
8612 long *arg4
= (long *) 0 ;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8620 (char *) "self",(char *) "pt", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_PyObj_FromInt((int)result
);
8640 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8641 resultobj
= t_output_helper(resultobj
,o
);
8644 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8645 resultobj
= t_output_helper(resultobj
,o
);
8653 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8656 PyObject
* obj0
= 0 ;
8658 (char *) "self", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 Py_INCREF(Py_None
); resultobj
= Py_None
;
8677 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8682 (char *) "self", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 (char *) "self", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 Py_INCREF(Py_None
); resultobj
= Py_None
;
8725 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8750 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8756 (char *) "self", NULL
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8775 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8781 (char *) "self", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8800 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8805 (char *) "self", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8824 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8827 PyObject
* obj0
= 0 ;
8829 (char *) "self", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 Py_INCREF(Py_None
); resultobj
= Py_None
;
8848 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8854 (char *) "self", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8873 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8877 PyObject
* obj0
= 0 ;
8879 (char *) "self", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8898 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8905 (char *) "self",(char *) "pos", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8911 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 (arg1
)->SetInsertionPoint(arg2
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 Py_INCREF(Py_None
); resultobj
= Py_None
;
8928 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8933 (char *) "self", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 (arg1
)->SetInsertionPointEnd();
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8956 PyObject
* obj0
= 0 ;
8958 (char *) "self", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 resultobj
= SWIG_PyObj_FromLong((long)result
);
8977 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8981 PyObject
* obj0
= 0 ;
8983 (char *) "self", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= SWIG_PyObj_FromLong((long)result
);
9002 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9009 PyObject
* obj2
= 0 ;
9011 (char *) "self",(char *) "from",(char *) "to", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9017 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9021 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 (arg1
)->SetSelection(arg2
,arg3
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "self", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 (arg1
)->SelectAll();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 Py_INCREF(Py_None
); resultobj
= Py_None
;
9062 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9069 (char *) "self",(char *) "editable", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9075 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 (arg1
)->SetEditable(arg2
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 Py_INCREF(Py_None
); resultobj
= Py_None
;
9092 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
;
9094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9095 bool arg2
= (bool) True
;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9100 (char *) "self",(char *) "show", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9107 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9125 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (bool)(arg1
)->HideNativeCaret();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9150 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9153 wxString
*arg2
= 0 ;
9154 bool temp2
= False
;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9158 (char *) "self",(char *) "text", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9164 arg2
= wxString_in_helper(obj1
);
9165 if (arg2
== NULL
) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9190 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
;
9192 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 PyObject
* obj2
= 0 ;
9200 (char *) "self",(char *) "from",(char *) "to", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9206 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9210 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9233 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9236 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9238 return Py_BuildValue((char *)"");
9240 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9243 wxMouseEvent
*arg2
= 0 ;
9246 wxTextUrlEvent
*result
;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9249 PyObject
* obj2
= 0 ;
9250 PyObject
* obj3
= 0 ;
9252 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9257 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9265 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9269 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9286 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9289 wxMouseEvent
*result
;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9301 result
= (wxMouseEvent
*) &_result_ref
;
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9314 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9320 (char *) "self", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_PyObj_FromLong((long)result
);
9339 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9343 PyObject
* obj0
= 0 ;
9345 (char *) "self", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= SWIG_PyObj_FromLong((long)result
);
9364 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9367 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9369 return Py_BuildValue((char *)"");
9371 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9372 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9377 static PyObject
*_wrap_ScrollBarNameStr_get() {
9382 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9384 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9391 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxWindow
*arg1
= (wxWindow
*) 0 ;
9394 int arg2
= (int) -1 ;
9395 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9396 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9397 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9398 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9399 long arg5
= (long) wxSB_HORIZONTAL
;
9400 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9401 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9402 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9404 wxScrollBar
*result
;
9407 bool temp7
= False
;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9410 PyObject
* obj2
= 0 ;
9411 PyObject
* obj3
= 0 ;
9412 PyObject
* obj4
= 0 ;
9413 PyObject
* obj5
= 0 ;
9414 PyObject
* obj6
= 0 ;
9416 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9423 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9436 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9441 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9446 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9453 arg7
= wxString_in_helper(obj6
);
9454 if (arg7
== NULL
) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9480 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxScrollBar
*result
;
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (wxScrollBar
*)new wxScrollBar();
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9502 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
;
9504 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9505 wxWindow
*arg2
= (wxWindow
*) 0 ;
9506 int arg3
= (int) -1 ;
9507 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9508 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9509 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9510 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9511 long arg6
= (long) wxSB_HORIZONTAL
;
9512 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9513 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9514 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9515 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9519 bool temp8
= False
;
9520 PyObject
* obj0
= 0 ;
9521 PyObject
* obj1
= 0 ;
9522 PyObject
* obj2
= 0 ;
9523 PyObject
* obj3
= 0 ;
9524 PyObject
* obj4
= 0 ;
9525 PyObject
* obj5
= 0 ;
9526 PyObject
* obj6
= 0 ;
9527 PyObject
* obj7
= 0 ;
9529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9537 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9544 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9550 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9555 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9560 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9562 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9567 arg8
= wxString_in_helper(obj7
);
9568 if (arg8
== NULL
) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9600 (char *) "self", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= SWIG_PyObj_FromInt((int)result
);
9619 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9623 PyObject
* obj0
= 0 ;
9625 (char *) "self", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_PyObj_FromInt((int)result
);
9644 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9650 (char *) "self", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_PyObj_FromInt((int)result
);
9669 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= SWIG_PyObj_FromInt((int)result
);
9694 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9700 (char *) "self", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9719 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9726 (char *) "self",(char *) "viewStart", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9732 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 (arg1
)->SetThumbPosition(arg2
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 Py_INCREF(Py_None
); resultobj
= Py_None
;
9749 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9756 bool arg6
= (bool) True
;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 PyObject
* obj2
= 0 ;
9760 PyObject
* obj3
= 0 ;
9761 PyObject
* obj4
= 0 ;
9762 PyObject
* obj5
= 0 ;
9764 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9770 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9778 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9787 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 Py_INCREF(Py_None
); resultobj
= Py_None
;
9805 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9808 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9810 return Py_BuildValue((char *)"");
9812 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9813 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9818 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9823 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9825 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9832 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9833 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9838 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9843 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9845 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9852 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxWindow
*arg1
= (wxWindow
*) 0 ;
9855 int arg2
= (int) -1 ;
9856 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9857 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9858 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9859 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9860 long arg5
= (long) wxSP_HORIZONTAL
;
9861 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9862 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9863 wxSpinButton
*result
;
9866 bool temp6
= False
;
9867 PyObject
* obj0
= 0 ;
9868 PyObject
* obj1
= 0 ;
9869 PyObject
* obj2
= 0 ;
9870 PyObject
* obj3
= 0 ;
9871 PyObject
* obj4
= 0 ;
9872 PyObject
* obj5
= 0 ;
9874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9881 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9894 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9899 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9905 arg6
= wxString_in_helper(obj5
);
9906 if (arg6
== NULL
) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9932 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxSpinButton
*result
;
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (wxSpinButton
*)new wxSpinButton();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9954 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9957 wxWindow
*arg2
= (wxWindow
*) 0 ;
9958 int arg3
= (int) -1 ;
9959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9963 long arg6
= (long) wxSP_HORIZONTAL
;
9964 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9969 bool temp7
= False
;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9972 PyObject
* obj2
= 0 ;
9973 PyObject
* obj3
= 0 ;
9974 PyObject
* obj4
= 0 ;
9975 PyObject
* obj5
= 0 ;
9976 PyObject
* obj6
= 0 ;
9978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9986 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9993 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9999 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10004 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10010 arg7
= wxString_in_helper(obj6
);
10011 if (arg7
== NULL
) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10037 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10055 resultobj
= SWIG_PyObj_FromInt((int)result
);
10062 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10066 PyObject
* obj0
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= SWIG_PyObj_FromInt((int)result
);
10087 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "self", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_PyObj_FromInt((int)result
);
10112 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self",(char *) "val", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10125 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 (arg1
)->SetValue(arg2
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 Py_INCREF(Py_None
); resultobj
= Py_None
;
10142 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self",(char *) "minVal", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10155 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 (arg1
)->SetMin(arg2
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 char *kwnames
[] = {
10179 (char *) "self",(char *) "maxVal", NULL
10182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10185 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 (arg1
)->SetMax(arg2
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 Py_INCREF(Py_None
); resultobj
= Py_None
;
10202 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 PyObject
* obj1
= 0 ;
10209 PyObject
* obj2
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10221 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 (arg1
)->SetRange(arg2
,arg3
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 Py_INCREF(Py_None
); resultobj
= Py_None
;
10238 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10266 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10268 return Py_BuildValue((char *)"");
10270 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxWindow
*arg1
= (wxWindow
*) 0 ;
10273 int arg2
= (int) -1 ;
10274 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10275 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10280 long arg6
= (long) wxSP_ARROW_KEYS
;
10281 int arg7
= (int) 0 ;
10282 int arg8
= (int) 100 ;
10283 int arg9
= (int) 0 ;
10284 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10285 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10286 wxSpinCtrl
*result
;
10287 bool temp3
= False
;
10290 bool temp10
= False
;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 PyObject
* obj2
= 0 ;
10294 PyObject
* obj3
= 0 ;
10295 PyObject
* obj4
= 0 ;
10296 PyObject
* obj5
= 0 ;
10297 PyObject
* obj6
= 0 ;
10298 PyObject
* obj7
= 0 ;
10299 PyObject
* obj8
= 0 ;
10300 PyObject
* obj9
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10309 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10315 arg3
= wxString_in_helper(obj2
);
10316 if (arg3
== NULL
) SWIG_fail
;
10323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10334 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10340 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10346 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10352 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10358 arg10
= wxString_in_helper(obj9
);
10359 if (arg10
== NULL
) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10393 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxSpinCtrl
*result
;
10396 char *kwnames
[] = {
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10415 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10418 wxWindow
*arg2
= (wxWindow
*) 0 ;
10419 int arg3
= (int) -1 ;
10420 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10421 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10422 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10423 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10424 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10425 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10426 long arg7
= (long) wxSP_ARROW_KEYS
;
10427 int arg8
= (int) 0 ;
10428 int arg9
= (int) 100 ;
10429 int arg10
= (int) 0 ;
10430 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10431 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10433 bool temp4
= False
;
10436 bool temp11
= False
;
10437 PyObject
* obj0
= 0 ;
10438 PyObject
* obj1
= 0 ;
10439 PyObject
* obj2
= 0 ;
10440 PyObject
* obj3
= 0 ;
10441 PyObject
* obj4
= 0 ;
10442 PyObject
* obj5
= 0 ;
10443 PyObject
* obj6
= 0 ;
10444 PyObject
* obj7
= 0 ;
10445 PyObject
* obj8
= 0 ;
10446 PyObject
* obj9
= 0 ;
10447 PyObject
* obj10
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10457 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10463 arg4
= wxString_in_helper(obj3
);
10464 if (arg4
== NULL
) SWIG_fail
;
10471 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10477 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10482 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10488 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10494 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10500 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10506 arg11
= wxString_in_helper(obj10
);
10507 if (arg11
== NULL
) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10541 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 resultobj
= SWIG_PyObj_FromInt((int)result
);
10566 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self",(char *) "value", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10579 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 (arg1
)->SetValue(arg2
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 Py_INCREF(Py_None
); resultobj
= Py_None
;
10596 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10599 wxString
*arg2
= 0 ;
10600 bool temp2
= False
;
10601 PyObject
* obj0
= 0 ;
10602 PyObject
* obj1
= 0 ;
10603 char *kwnames
[] = {
10604 (char *) "self",(char *) "text", NULL
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10610 arg2
= wxString_in_helper(obj1
);
10611 if (arg2
== NULL
) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 (arg1
)->SetValue((wxString
const &)*arg2
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 Py_INCREF(Py_None
); resultobj
= Py_None
;
10636 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 PyObject
* obj2
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10651 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10655 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 (arg1
)->SetRange(arg2
,arg3
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 Py_INCREF(Py_None
); resultobj
= Py_None
;
10672 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_PyObj_FromInt((int)result
);
10697 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10699 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= SWIG_PyObj_FromInt((int)result
);
10722 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 PyObject
* obj2
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "from",(char *) "to", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10737 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->SetSelection(arg2
,arg3
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10758 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10761 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10763 return Py_BuildValue((char *)"");
10765 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10768 int arg2
= (int) 0 ;
10769 wxSpinEvent
*result
;
10770 PyObject
* obj0
= 0 ;
10771 PyObject
* obj1
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "commandType",(char *) "winid", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10779 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10785 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10803 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 resultobj
= SWIG_PyObj_FromInt((int)result
);
10828 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "pos", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10841 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetPosition(arg2
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10861 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10863 return Py_BuildValue((char *)"");
10865 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10866 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10871 static PyObject
*_wrap_RadioBoxNameStr_get() {
10876 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10878 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10885 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10886 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10891 static PyObject
*_wrap_RadioButtonNameStr_get() {
10896 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10898 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10905 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxWindow
*arg1
= (wxWindow
*) 0 ;
10909 wxString
*arg3
= 0 ;
10910 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10911 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10912 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10913 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10914 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10915 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10916 int arg7
= (int) 0 ;
10917 long arg8
= (long) wxRA_HORIZONTAL
;
10918 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10919 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10920 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10921 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10922 wxRadioBox
*result
;
10923 bool temp3
= False
;
10926 bool temp6
= False
;
10927 bool temp10
= False
;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 PyObject
* obj2
= 0 ;
10931 PyObject
* obj3
= 0 ;
10932 PyObject
* obj4
= 0 ;
10933 PyObject
* obj5
= 0 ;
10934 PyObject
* obj6
= 0 ;
10935 PyObject
* obj7
= 0 ;
10936 PyObject
* obj8
= 0 ;
10937 PyObject
* obj9
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10945 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10949 arg3
= wxString_in_helper(obj2
);
10950 if (arg3
== NULL
) SWIG_fail
;
10956 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10962 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10967 if (! PySequence_Check(obj5
)) {
10968 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10971 arg6
= new wxArrayString
;
10973 int i
, len
=PySequence_Length(obj5
);
10974 for (i
=0; i
<len
; i
++) {
10975 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10977 PyObject
* str
= PyObject_Unicode(item
);
10979 PyObject
* str
= PyObject_Str(item
);
10981 arg6
->Add(Py2wxString(str
));
10989 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10995 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10996 if (PyErr_Occurred()) SWIG_fail
;
11000 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11001 if (arg9
== NULL
) {
11002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11007 arg10
= wxString_in_helper(obj9
);
11008 if (arg10
== NULL
) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 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
);
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
11025 if (temp6
) delete arg6
;
11038 if (temp6
) delete arg6
;
11048 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxRadioBox
*result
;
11051 char *kwnames
[] = {
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (wxRadioBox
*)new wxRadioBox();
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
11070 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11073 wxWindow
*arg2
= (wxWindow
*) 0 ;
11075 wxString
*arg4
= 0 ;
11076 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11077 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11078 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11079 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11080 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11081 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11082 int arg8
= (int) 0 ;
11083 long arg9
= (long) wxRA_HORIZONTAL
;
11084 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11085 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11086 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11087 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11089 bool temp4
= False
;
11092 bool temp7
= False
;
11093 bool temp11
= False
;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 PyObject
* obj2
= 0 ;
11097 PyObject
* obj3
= 0 ;
11098 PyObject
* obj4
= 0 ;
11099 PyObject
* obj5
= 0 ;
11100 PyObject
* obj6
= 0 ;
11101 PyObject
* obj7
= 0 ;
11102 PyObject
* obj8
= 0 ;
11103 PyObject
* obj9
= 0 ;
11104 PyObject
* obj10
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11113 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 arg4
= wxString_in_helper(obj3
);
11118 if (arg4
== NULL
) SWIG_fail
;
11124 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11130 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11135 if (! PySequence_Check(obj6
)) {
11136 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11139 arg7
= new wxArrayString
;
11141 int i
, len
=PySequence_Length(obj6
);
11142 for (i
=0; i
<len
; i
++) {
11143 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11145 PyObject
* str
= PyObject_Unicode(item
);
11147 PyObject
* str
= PyObject_Str(item
);
11149 arg7
->Add(Py2wxString(str
));
11157 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11163 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11168 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11169 if (arg10
== NULL
) {
11170 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11175 arg11
= wxString_in_helper(obj10
);
11176 if (arg11
== NULL
) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 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
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11193 if (temp7
) delete arg7
;
11206 if (temp7
) delete arg7
;
11216 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "n", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11229 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 (arg1
)->SetSelection(arg2
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_PyObj_FromInt((int)result
);
11271 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11275 PyObject
* obj0
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11302 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11305 wxString
*arg2
= 0 ;
11307 bool temp2
= False
;
11308 PyObject
* obj0
= 0 ;
11309 PyObject
* obj1
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self",(char *) "s", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11317 arg2
= wxString_in_helper(obj1
);
11318 if (arg2
== NULL
) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11343 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11347 PyObject
* obj0
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_PyObj_FromInt((int)result
);
11368 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11371 wxString
*arg2
= 0 ;
11373 bool temp2
= False
;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "s", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11383 arg2
= wxString_in_helper(obj1
);
11384 if (arg2
== NULL
) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= SWIG_PyObj_FromInt((int)result
);
11409 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self",(char *) "n", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11423 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11446 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11450 wxString
*arg3
= 0 ;
11451 bool temp3
= False
;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "n",(char *) "label", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11462 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11466 arg3
= wxString_in_helper(obj2
);
11467 if (arg3
== NULL
) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 Py_INCREF(Py_None
); resultobj
= Py_None
;
11492 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11496 bool arg3
= (bool) True
;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 PyObject
* obj2
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "n",(char *) "enable", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11507 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11512 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 (arg1
)->Enable(arg2
,arg3
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11534 bool arg3
= (bool) True
;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 PyObject
* obj2
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "self",(char *) "n",(char *) "show", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11545 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11550 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 (arg1
)->Show(arg2
,arg3
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 Py_INCREF(Py_None
); resultobj
= Py_None
;
11568 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 char *kwnames
[] = {
11574 (char *) "self", NULL
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_PyObj_FromInt((int)result
);
11593 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11597 PyObject
* obj0
= 0 ;
11598 char *kwnames
[] = {
11599 (char *) "self", NULL
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_PyObj_FromInt((int)result
);
11618 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
;
11620 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 PyObject
* obj2
= 0 ;
11628 PyObject
* obj3
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11636 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11640 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= SWIG_PyObj_FromInt((int)result
);
11661 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11664 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11666 return Py_BuildValue((char *)"");
11668 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxWindow
*arg1
= (wxWindow
*) 0 ;
11672 wxString
*arg3
= 0 ;
11673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11677 long arg6
= (long) 0 ;
11678 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11679 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11680 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11681 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11682 wxRadioButton
*result
;
11683 bool temp3
= False
;
11686 bool temp8
= False
;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 PyObject
* obj2
= 0 ;
11690 PyObject
* obj3
= 0 ;
11691 PyObject
* obj4
= 0 ;
11692 PyObject
* obj5
= 0 ;
11693 PyObject
* obj6
= 0 ;
11694 PyObject
* obj7
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11702 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11706 arg3
= wxString_in_helper(obj2
);
11707 if (arg3
== NULL
) SWIG_fail
;
11713 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11719 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11724 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11729 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11730 if (arg7
== NULL
) {
11731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11736 arg8
= wxString_in_helper(obj7
);
11737 if (arg8
== NULL
) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11771 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxRadioButton
*result
;
11774 char *kwnames
[] = {
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (wxRadioButton
*)new wxRadioButton();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11793 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11796 wxWindow
*arg2
= (wxWindow
*) 0 ;
11798 wxString
*arg4
= 0 ;
11799 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11800 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11801 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11802 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11803 long arg7
= (long) 0 ;
11804 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11805 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11806 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11807 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11809 bool temp4
= False
;
11812 bool temp9
= False
;
11813 PyObject
* obj0
= 0 ;
11814 PyObject
* obj1
= 0 ;
11815 PyObject
* obj2
= 0 ;
11816 PyObject
* obj3
= 0 ;
11817 PyObject
* obj4
= 0 ;
11818 PyObject
* obj5
= 0 ;
11819 PyObject
* obj6
= 0 ;
11820 PyObject
* obj7
= 0 ;
11821 PyObject
* obj8
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11828 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11830 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11834 arg4
= wxString_in_helper(obj3
);
11835 if (arg4
== NULL
) SWIG_fail
;
11841 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11847 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11852 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11857 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11858 if (arg8
== NULL
) {
11859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11864 arg9
= wxString_in_helper(obj8
);
11865 if (arg9
== NULL
) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11899 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
;
11901 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11903 PyObject
* obj0
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (bool)(arg1
)->GetValue();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11924 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 char *kwnames
[] = {
11931 (char *) "self",(char *) "value", NULL
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11937 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 (arg1
)->SetValue(arg2
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 Py_INCREF(Py_None
); resultobj
= Py_None
;
11954 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11957 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11959 return Py_BuildValue((char *)"");
11961 static int _wrap_SliderNameStr_set(PyObject
*) {
11962 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11967 static PyObject
*_wrap_SliderNameStr_get() {
11972 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11974 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11981 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxWindow
*arg1
= (wxWindow
*) 0 ;
11988 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11989 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11990 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11991 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11992 long arg8
= (long) wxSL_HORIZONTAL
;
11993 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11994 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11995 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11996 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12000 bool temp10
= False
;
12001 PyObject
* obj0
= 0 ;
12002 PyObject
* obj1
= 0 ;
12003 PyObject
* obj2
= 0 ;
12004 PyObject
* obj3
= 0 ;
12005 PyObject
* obj4
= 0 ;
12006 PyObject
* obj5
= 0 ;
12007 PyObject
* obj6
= 0 ;
12008 PyObject
* obj7
= 0 ;
12009 PyObject
* obj8
= 0 ;
12010 PyObject
* obj9
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12022 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12026 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12036 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12042 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12047 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12052 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12053 if (arg9
== NULL
) {
12054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12059 arg10
= wxString_in_helper(obj9
);
12060 if (arg10
== NULL
) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
12086 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12089 char *kwnames
[] = {
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (wxSlider
*)new wxSlider();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
12108 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxSlider
*arg1
= (wxSlider
*) 0 ;
12111 wxWindow
*arg2
= (wxWindow
*) 0 ;
12116 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12117 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12118 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12119 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12120 long arg9
= (long) wxSL_HORIZONTAL
;
12121 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12122 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12123 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12124 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12128 bool temp11
= False
;
12129 PyObject
* obj0
= 0 ;
12130 PyObject
* obj1
= 0 ;
12131 PyObject
* obj2
= 0 ;
12132 PyObject
* obj3
= 0 ;
12133 PyObject
* obj4
= 0 ;
12134 PyObject
* obj5
= 0 ;
12135 PyObject
* obj6
= 0 ;
12136 PyObject
* obj7
= 0 ;
12137 PyObject
* obj8
= 0 ;
12138 PyObject
* obj9
= 0 ;
12139 PyObject
* obj10
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12146 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12148 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12156 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12160 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12166 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12172 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12177 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12182 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12183 if (arg10
== NULL
) {
12184 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12189 arg11
= wxString_in_helper(obj10
);
12190 if (arg11
== NULL
) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12216 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxSlider
*arg1
= (wxSlider
*) 0 ;
12220 PyObject
* obj0
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= SWIG_PyObj_FromInt((int)result
);
12241 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxSlider
*arg1
= (wxSlider
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 PyObject
* obj1
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self",(char *) "value", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12254 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 (arg1
)->SetValue(arg2
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12271 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxSlider
*arg1
= (wxSlider
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 PyObject
* obj2
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12286 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 (arg1
)->SetRange(arg2
,arg3
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 Py_INCREF(Py_None
); resultobj
= Py_None
;
12307 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxSlider
*arg1
= (wxSlider
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_PyObj_FromInt((int)result
);
12332 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxSlider
*arg1
= (wxSlider
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_PyObj_FromInt((int)result
);
12357 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxSlider
*arg1
= (wxSlider
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 PyObject
* obj1
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self",(char *) "minValue", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12370 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 (arg1
)->SetMin(arg2
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 Py_INCREF(Py_None
); resultobj
= Py_None
;
12387 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxSlider
*arg1
= (wxSlider
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 PyObject
* obj1
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self",(char *) "maxValue", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12400 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 (arg1
)->SetMax(arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 Py_INCREF(Py_None
); resultobj
= Py_None
;
12417 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxSlider
*arg1
= (wxSlider
*) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "lineSize", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 (arg1
)->SetLineSize(arg2
);
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12440 Py_INCREF(Py_None
); resultobj
= Py_None
;
12447 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxSlider
*arg1
= (wxSlider
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self",(char *) "pageSize", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12460 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 (arg1
)->SetPageSize(arg2
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 Py_INCREF(Py_None
); resultobj
= Py_None
;
12477 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxSlider
*arg1
= (wxSlider
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_PyObj_FromInt((int)result
);
12502 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxSlider
*arg1
= (wxSlider
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= SWIG_PyObj_FromInt((int)result
);
12527 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxSlider
*arg1
= (wxSlider
*) 0 ;
12531 PyObject
* obj0
= 0 ;
12532 PyObject
* obj1
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self",(char *) "lenPixels", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12540 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->SetThumbLength(arg2
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxSlider
*arg1
= (wxSlider
*) 0 ;
12561 PyObject
* obj0
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= SWIG_PyObj_FromInt((int)result
);
12582 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxSlider
*arg1
= (wxSlider
*) 0 ;
12586 int arg3
= (int) 1 ;
12587 PyObject
* obj0
= 0 ;
12588 PyObject
* obj1
= 0 ;
12589 PyObject
* obj2
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "n",(char *) "pos", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12602 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->SetTickFreq(arg2
,arg3
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxSlider
*arg1
= (wxSlider
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_PyObj_FromInt((int)result
);
12645 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxSlider
*arg1
= (wxSlider
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->ClearTicks();
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxSlider
*arg1
= (wxSlider
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self",(char *) "tickPos", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12682 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->SetTick(arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxSlider
*arg1
= (wxSlider
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 (arg1
)->ClearSel();
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 Py_INCREF(Py_None
); resultobj
= Py_None
;
12723 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxSlider
*arg1
= (wxSlider
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_PyObj_FromInt((int)result
);
12748 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
;
12750 wxSlider
*arg1
= (wxSlider
*) 0 ;
12752 PyObject
* obj0
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "self", NULL
12757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= SWIG_PyObj_FromInt((int)result
);
12773 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxSlider
*arg1
= (wxSlider
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 PyObject
* obj1
= 0 ;
12780 PyObject
* obj2
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self",(char *) "min",(char *) "max", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12788 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12792 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 (arg1
)->SetSelection(arg2
,arg3
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 Py_INCREF(Py_None
); resultobj
= Py_None
;
12809 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12812 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12814 return Py_BuildValue((char *)"");
12816 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12817 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12822 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12827 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12829 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12836 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
;
12838 wxWindow
*arg1
= (wxWindow
*) 0 ;
12840 wxString
*arg3
= 0 ;
12841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12845 long arg6
= (long) 0 ;
12846 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12847 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12848 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12849 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12850 wxToggleButton
*result
;
12851 bool temp3
= False
;
12854 bool temp8
= False
;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 PyObject
* obj2
= 0 ;
12858 PyObject
* obj3
= 0 ;
12859 PyObject
* obj4
= 0 ;
12860 PyObject
* obj5
= 0 ;
12861 PyObject
* obj6
= 0 ;
12862 PyObject
* obj7
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12870 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12874 arg3
= wxString_in_helper(obj2
);
12875 if (arg3
== NULL
) SWIG_fail
;
12881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12892 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12897 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12898 if (arg7
== NULL
) {
12899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12904 arg8
= wxString_in_helper(obj7
);
12905 if (arg8
== NULL
) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12939 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxToggleButton
*result
;
12942 char *kwnames
[] = {
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (wxToggleButton
*)new wxToggleButton();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12961 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12964 wxWindow
*arg2
= (wxWindow
*) 0 ;
12966 wxString
*arg4
= 0 ;
12967 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12968 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12969 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12970 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12971 long arg7
= (long) 0 ;
12972 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12973 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12974 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12975 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12977 bool temp4
= False
;
12980 bool temp9
= False
;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 PyObject
* obj2
= 0 ;
12984 PyObject
* obj3
= 0 ;
12985 PyObject
* obj4
= 0 ;
12986 PyObject
* obj5
= 0 ;
12987 PyObject
* obj6
= 0 ;
12988 PyObject
* obj7
= 0 ;
12989 PyObject
* obj8
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12996 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12998 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13002 arg4
= wxString_in_helper(obj3
);
13003 if (arg4
== NULL
) SWIG_fail
;
13009 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13015 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13020 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13025 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13026 if (arg8
== NULL
) {
13027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13032 arg9
= wxString_in_helper(obj8
);
13033 if (arg9
== NULL
) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13067 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 PyObject
* obj1
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self",(char *) "value", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13080 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 (arg1
)->SetValue(arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 Py_INCREF(Py_None
); resultobj
= Py_None
;
13097 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13122 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13125 wxString
*arg2
= 0 ;
13126 bool temp2
= False
;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "self",(char *) "label", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13136 arg2
= wxString_in_helper(obj1
);
13137 if (arg2
== NULL
) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 (arg1
)->SetLabel((wxString
const &)*arg2
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 Py_INCREF(Py_None
); resultobj
= Py_None
;
13162 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13165 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13167 return Py_BuildValue((char *)"");
13169 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
13170 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13175 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13180 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13182 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13189 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
13214 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 PyObject
* obj1
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "n", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13228 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= wxPyMake_wxObject(result
);
13247 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= SWIG_PyObj_FromInt((int)result
);
13272 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13276 wxString
*arg3
= 0 ;
13278 bool temp3
= False
;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 PyObject
* obj2
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self",(char *) "n",(char *) "strText", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13289 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13293 arg3
= wxString_in_helper(obj2
);
13294 if (arg3
== NULL
) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13319 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "n", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13333 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13356 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13359 wxImageList
*arg2
= (wxImageList
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "imageList", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->SetImageList(arg2
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 Py_INCREF(Py_None
); resultobj
= Py_None
;
13383 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13386 wxImageList
*arg2
= (wxImageList
*) 0 ;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self",(char *) "imageList", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 (arg1
)->AssignImageList(arg2
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 Py_INCREF(Py_None
); resultobj
= Py_None
;
13410 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13413 wxImageList
*result
;
13414 PyObject
* obj0
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= wxPyMake_wxObject(result
);
13437 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13442 PyObject
* obj0
= 0 ;
13443 PyObject
* obj1
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self",(char *) "n", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13451 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_PyObj_FromInt((int)result
);
13468 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 PyObject
* obj2
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self",(char *) "n",(char *) "imageId", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13484 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13505 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 PyObject
* obj1
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self",(char *) "size", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13520 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 Py_INCREF(Py_None
); resultobj
= Py_None
;
13536 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13542 PyObject
* obj0
= 0 ;
13543 PyObject
* obj1
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self",(char *) "sizePage", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13552 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13562 wxSize
* resultptr
;
13563 resultptr
= new wxSize((wxSize
&) result
);
13564 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13572 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self",(char *) "n", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13586 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (bool)(arg1
)->DeletePage(arg2
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13603 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13608 PyObject
* obj0
= 0 ;
13609 PyObject
* obj1
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self",(char *) "n", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13617 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (bool)(arg1
)->RemovePage(arg2
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13634 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (bool)(arg1
)->DeleteAllPages();
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13659 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13662 wxWindow
*arg2
= (wxWindow
*) 0 ;
13663 wxString
*arg3
= 0 ;
13664 bool arg4
= (bool) False
;
13665 int arg5
= (int) -1 ;
13667 bool temp3
= False
;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 PyObject
* obj2
= 0 ;
13671 PyObject
* obj3
= 0 ;
13672 PyObject
* obj4
= 0 ;
13673 char *kwnames
[] = {
13674 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13681 arg3
= wxString_in_helper(obj2
);
13682 if (arg3
== NULL
) SWIG_fail
;
13687 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13693 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13719 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13723 wxWindow
*arg3
= (wxWindow
*) 0 ;
13724 wxString
*arg4
= 0 ;
13725 bool arg5
= (bool) False
;
13726 int arg6
= (int) -1 ;
13728 bool temp4
= False
;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 PyObject
* obj2
= 0 ;
13732 PyObject
* obj3
= 0 ;
13733 PyObject
* obj4
= 0 ;
13734 PyObject
* obj5
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13742 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13747 arg4
= wxString_in_helper(obj3
);
13748 if (arg4
== NULL
) SWIG_fail
;
13753 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13759 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13785 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self",(char *) "n", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13799 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (int)(arg1
)->SetSelection(arg2
);
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_PyObj_FromInt((int)result
);
13816 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
;
13818 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13819 bool arg2
= (bool) True
;
13820 PyObject
* obj0
= 0 ;
13821 PyObject
* obj1
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self",(char *) "forward", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13830 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 (arg1
)->AdvanceSelection(arg2
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 Py_INCREF(Py_None
); resultobj
= Py_None
;
13848 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13851 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13853 return Py_BuildValue((char *)"");
13855 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13858 int arg2
= (int) 0 ;
13859 int arg3
= (int) -1 ;
13860 int arg4
= (int) -1 ;
13861 wxBookCtrlEvent
*result
;
13862 PyObject
* obj0
= 0 ;
13863 PyObject
* obj1
= 0 ;
13864 PyObject
* obj2
= 0 ;
13865 PyObject
* obj3
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13873 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13879 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13885 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13891 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13909 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13913 PyObject
* obj0
= 0 ;
13914 char *kwnames
[] = {
13915 (char *) "self", NULL
13918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_PyObj_FromInt((int)result
);
13934 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self",(char *) "nSel", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13947 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 (arg1
)->SetSelection(arg2
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 Py_INCREF(Py_None
); resultobj
= Py_None
;
13964 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13965 PyObject
*resultobj
;
13966 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 char *kwnames
[] = {
13970 (char *) "self", NULL
13973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_PyObj_FromInt((int)result
);
13989 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "nOldSel", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14002 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 (arg1
)->SetOldSelection(arg2
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 Py_INCREF(Py_None
); resultobj
= Py_None
;
14019 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14022 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14024 return Py_BuildValue((char *)"");
14026 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxWindow
*arg1
= (wxWindow
*) 0 ;
14030 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14031 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14032 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14033 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14034 long arg5
= (long) 0 ;
14035 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14036 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14037 wxNotebook
*result
;
14040 bool temp6
= False
;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 PyObject
* obj3
= 0 ;
14045 PyObject
* obj4
= 0 ;
14046 PyObject
* obj5
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14054 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14066 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14071 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14077 arg6
= wxString_in_helper(obj5
);
14078 if (arg6
== NULL
) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= wxPyMake_wxObject(result
);
14106 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxNotebook
*result
;
14109 char *kwnames
[] = {
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (wxNotebook
*)new wxNotebook();
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= wxPyMake_wxObject(result
);
14130 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14133 wxWindow
*arg2
= (wxWindow
*) 0 ;
14135 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14136 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14137 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14138 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14139 long arg6
= (long) 0 ;
14140 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14141 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14145 bool temp7
= False
;
14146 PyObject
* obj0
= 0 ;
14147 PyObject
* obj1
= 0 ;
14148 PyObject
* obj2
= 0 ;
14149 PyObject
* obj3
= 0 ;
14150 PyObject
* obj4
= 0 ;
14151 PyObject
* obj5
= 0 ;
14152 PyObject
* obj6
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14161 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14178 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14184 arg7
= wxString_in_helper(obj6
);
14185 if (arg7
== NULL
) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14211 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_PyObj_FromInt((int)result
);
14236 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self",(char *) "padding", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14251 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 Py_INCREF(Py_None
); resultobj
= Py_None
;
14267 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self",(char *) "sz", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14282 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14291 Py_INCREF(Py_None
); resultobj
= Py_None
;
14298 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
;
14300 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14301 wxPoint
*arg2
= 0 ;
14302 long *arg3
= (long *) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self",(char *) "pt", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_PyObj_FromInt((int)result
);
14328 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14329 resultobj
= t_output_helper(resultobj
,o
);
14337 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 PyObject
* obj1
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self",(char *) "sizePage", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14353 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 wxSize
* resultptr
;
14364 resultptr
= new wxSize((wxSize
&) result
);
14365 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14373 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14376 wxWindow
*arg2
= (wxWindow
*) 0 ;
14377 wxColour
*arg3
= 0 ;
14379 PyObject
* obj0
= 0 ;
14380 PyObject
* obj1
= 0 ;
14381 PyObject
* obj2
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self",(char *) "window",(char *) "colour", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14391 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 Py_INCREF(Py_None
); resultobj
= Py_None
;
14407 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14410 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14412 return Py_BuildValue((char *)"");
14414 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14417 int arg2
= (int) 0 ;
14418 int arg3
= (int) -1 ;
14419 int arg4
= (int) -1 ;
14420 wxNotebookEvent
*result
;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 PyObject
* obj2
= 0 ;
14424 PyObject
* obj3
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14432 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14438 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14444 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14450 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14468 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14471 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14473 return Py_BuildValue((char *)"");
14475 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxWindow
*arg1
= (wxWindow
*) 0 ;
14479 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14480 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14481 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14482 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14483 long arg5
= (long) 0 ;
14484 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14485 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14486 wxListbook
*result
;
14489 bool temp6
= False
;
14490 PyObject
* obj0
= 0 ;
14491 PyObject
* obj1
= 0 ;
14492 PyObject
* obj2
= 0 ;
14493 PyObject
* obj3
= 0 ;
14494 PyObject
* obj4
= 0 ;
14495 PyObject
* obj5
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14503 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14515 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14520 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14526 arg6
= wxString_in_helper(obj5
);
14527 if (arg6
== NULL
) SWIG_fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14553 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxListbook
*result
;
14556 char *kwnames
[] = {
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (wxListbook
*)new wxListbook();
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14575 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxListbook
*arg1
= (wxListbook
*) 0 ;
14578 wxWindow
*arg2
= (wxWindow
*) 0 ;
14580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14584 long arg6
= (long) 0 ;
14585 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14590 bool temp7
= False
;
14591 PyObject
* obj0
= 0 ;
14592 PyObject
* obj1
= 0 ;
14593 PyObject
* obj2
= 0 ;
14594 PyObject
* obj3
= 0 ;
14595 PyObject
* obj4
= 0 ;
14596 PyObject
* obj5
= 0 ;
14597 PyObject
* obj6
= 0 ;
14598 char *kwnames
[] = {
14599 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14606 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14612 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14618 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14623 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14629 arg7
= wxString_in_helper(obj6
);
14630 if (arg7
== NULL
) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14656 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxListbook
*arg1
= (wxListbook
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14681 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14684 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14686 return Py_BuildValue((char *)"");
14688 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14691 int arg2
= (int) 0 ;
14692 int arg3
= (int) -1 ;
14693 int arg4
= (int) -1 ;
14694 wxListbookEvent
*result
;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 PyObject
* obj2
= 0 ;
14698 PyObject
* obj3
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14706 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14718 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14724 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14742 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14745 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14747 return Py_BuildValue((char *)"");
14749 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14752 wxBookCtrlSizer
*result
;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "nb", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14774 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14777 PyObject
* obj0
= 0 ;
14778 char *kwnames
[] = {
14779 (char *) "self", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 (arg1
)->RecalcSizes();
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 Py_INCREF(Py_None
); resultobj
= Py_None
;
14798 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "self", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (arg1
)->CalcMin();
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14817 wxSize
* resultptr
;
14818 resultptr
= new wxSize((wxSize
&) result
);
14819 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14827 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14830 wxBookCtrl
*result
;
14831 PyObject
* obj0
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "self", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14852 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14855 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14857 return Py_BuildValue((char *)"");
14859 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14862 wxNotebookSizer
*result
;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "nb", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14884 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14887 PyObject
* obj0
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "self", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 (arg1
)->RecalcSizes();
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 Py_INCREF(Py_None
); resultobj
= Py_None
;
14908 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (arg1
)->CalcMin();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14927 wxSize
* resultptr
;
14928 resultptr
= new wxSize((wxSize
&) result
);
14929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14937 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
;
14939 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14940 wxNotebook
*result
;
14941 PyObject
* obj0
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= wxPyMake_wxObject(result
);
14964 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14967 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14969 return Py_BuildValue((char *)"");
14971 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (int)(arg1
)->GetId();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_PyObj_FromInt((int)result
);
14996 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (wxControl
*)(arg1
)->GetControl();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= wxPyMake_wxObject(result
);
15023 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15026 wxToolBarBase
*result
;
15027 PyObject
* obj0
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= wxPyMake_wxObject(result
);
15050 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (int)(arg1
)->IsButton();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= SWIG_PyObj_FromInt((int)result
);
15075 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (int)(arg1
)->IsControl();
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= SWIG_PyObj_FromInt((int)result
);
15100 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (int)(arg1
)->IsSeparator();
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= SWIG_PyObj_FromInt((int)result
);
15125 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (int)(arg1
)->GetStyle();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= SWIG_PyObj_FromInt((int)result
);
15150 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15154 PyObject
* obj0
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 result
= (int)(arg1
)->GetKind();
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= SWIG_PyObj_FromInt((int)result
);
15175 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (bool)(arg1
)->IsEnabled();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15200 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15204 PyObject
* obj0
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (bool)(arg1
)->IsToggled();
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15225 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (bool)(arg1
)->CanBeToggled();
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15250 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15265 result
= (wxBitmap
*) &_result_ref
;
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15278 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15293 result
= (wxBitmap
*) &_result_ref
;
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
15306 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (arg1
)->GetBitmap();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 wxBitmap
* resultptr
;
15326 resultptr
= new wxBitmap((wxBitmap
&) result
);
15327 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
15335 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (arg1
)->GetLabel();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15366 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 result
= (arg1
)->GetShortHelp();
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15397 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 char *kwnames
[] = {
15403 (char *) "self", NULL
15406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 result
= (arg1
)->GetLongHelp();
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15428 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "enable", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15442 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (bool)(arg1
)->Enable(arg2
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15459 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15462 PyObject
* obj0
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15488 PyObject
* obj0
= 0 ;
15489 PyObject
* obj1
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self",(char *) "toggle", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15497 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (bool)(arg1
)->SetToggle(arg2
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15514 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15517 wxString
*arg2
= 0 ;
15519 bool temp2
= False
;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self",(char *) "help", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15529 arg2
= wxString_in_helper(obj1
);
15530 if (arg2
== NULL
) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15555 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15558 wxString
*arg2
= 0 ;
15560 bool temp2
= False
;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self",(char *) "help", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15570 arg2
= wxString_in_helper(obj1
);
15571 if (arg2
== NULL
) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15596 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15599 wxBitmap
*arg2
= 0 ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "bmp", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15609 if (arg2
== NULL
) {
15610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 Py_INCREF(Py_None
); resultobj
= Py_None
;
15626 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15629 wxBitmap
*arg2
= 0 ;
15630 PyObject
* obj0
= 0 ;
15631 PyObject
* obj1
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self",(char *) "bmp", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15639 if (arg2
== NULL
) {
15640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 Py_INCREF(Py_None
); resultobj
= Py_None
;
15656 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15659 wxString
*arg2
= 0 ;
15660 bool temp2
= False
;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self",(char *) "label", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15670 arg2
= wxString_in_helper(obj1
);
15671 if (arg2
== NULL
) SWIG_fail
;
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 (arg1
)->SetLabel((wxString
const &)*arg2
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 Py_INCREF(Py_None
); resultobj
= Py_None
;
15696 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15698 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15699 PyObject
* obj0
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15713 Py_INCREF(Py_None
); resultobj
= Py_None
;
15720 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
;
15722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15723 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15724 PyObject
* obj0
= 0 ;
15725 PyObject
* obj1
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "self",(char *) "tbar", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 (arg1
)->Attach(arg2
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 Py_INCREF(Py_None
); resultobj
= Py_None
;
15747 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
;
15772 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15775 PyObject
*arg2
= (PyObject
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self",(char *) "clientData", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 Py_INCREF(Py_None
); resultobj
= Py_None
;
15799 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15802 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15804 return Py_BuildValue((char *)"");
15806 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
;
15808 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15810 wxString
*arg3
= 0 ;
15811 wxBitmap
*arg4
= 0 ;
15812 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15813 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15814 int arg6
= (int) wxITEM_NORMAL
;
15815 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15816 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15817 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15818 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15819 PyObject
*arg9
= (PyObject
*) NULL
;
15820 wxToolBarToolBase
*result
;
15821 bool temp3
= False
;
15822 bool temp7
= False
;
15823 bool temp8
= False
;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 PyObject
* obj2
= 0 ;
15827 PyObject
* obj3
= 0 ;
15828 PyObject
* obj4
= 0 ;
15829 PyObject
* obj5
= 0 ;
15830 PyObject
* obj6
= 0 ;
15831 PyObject
* obj7
= 0 ;
15832 PyObject
* obj8
= 0 ;
15833 char *kwnames
[] = {
15834 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15840 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15844 arg3
= wxString_in_helper(obj2
);
15845 if (arg3
== NULL
) SWIG_fail
;
15848 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15849 if (arg4
== NULL
) {
15850 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15853 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15854 if (arg5
== NULL
) {
15855 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15860 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15866 arg7
= wxString_in_helper(obj6
);
15867 if (arg7
== NULL
) SWIG_fail
;
15873 arg8
= wxString_in_helper(obj7
);
15874 if (arg8
== NULL
) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= wxPyMake_wxObject(result
);
15921 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15926 wxString
*arg4
= 0 ;
15927 wxBitmap
*arg5
= 0 ;
15928 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15929 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15930 int arg7
= (int) wxITEM_NORMAL
;
15931 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15932 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15933 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15934 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15935 PyObject
*arg10
= (PyObject
*) NULL
;
15936 wxToolBarToolBase
*result
;
15937 bool temp4
= False
;
15938 bool temp8
= False
;
15939 bool temp9
= False
;
15940 PyObject
* obj0
= 0 ;
15941 PyObject
* obj1
= 0 ;
15942 PyObject
* obj2
= 0 ;
15943 PyObject
* obj3
= 0 ;
15944 PyObject
* obj4
= 0 ;
15945 PyObject
* obj5
= 0 ;
15946 PyObject
* obj6
= 0 ;
15947 PyObject
* obj7
= 0 ;
15948 PyObject
* obj8
= 0 ;
15949 PyObject
* obj9
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15957 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15961 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 arg4
= wxString_in_helper(obj3
);
15966 if (arg4
== NULL
) SWIG_fail
;
15969 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15970 if (arg5
== NULL
) {
15971 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15974 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15975 if (arg6
== NULL
) {
15976 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15981 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15987 arg8
= wxString_in_helper(obj7
);
15988 if (arg8
== NULL
) SWIG_fail
;
15994 arg9
= wxString_in_helper(obj8
);
15995 if (arg9
== NULL
) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 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
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= wxPyMake_wxObject(result
);
16042 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16045 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16046 wxToolBarToolBase
*result
;
16047 PyObject
* obj0
= 0 ;
16048 PyObject
* obj1
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self",(char *) "tool", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= wxPyMake_wxObject(result
);
16072 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16076 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16077 wxToolBarToolBase
*result
;
16078 PyObject
* obj0
= 0 ;
16079 PyObject
* obj1
= 0 ;
16080 PyObject
* obj2
= 0 ;
16081 char *kwnames
[] = {
16082 (char *) "self",(char *) "pos",(char *) "tool", NULL
16085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16088 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= wxPyMake_wxObject(result
);
16108 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16111 wxControl
*arg2
= (wxControl
*) 0 ;
16112 wxToolBarToolBase
*result
;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "self",(char *) "control", NULL
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= wxPyMake_wxObject(result
);
16138 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16142 wxControl
*arg3
= (wxControl
*) 0 ;
16143 wxToolBarToolBase
*result
;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 PyObject
* obj2
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "pos",(char *) "control", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16154 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= wxPyMake_wxObject(result
);
16174 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self",(char *) "id", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16188 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= wxPyMake_wxObject(result
);
16207 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16210 wxToolBarToolBase
*result
;
16211 PyObject
* obj0
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= wxPyMake_wxObject(result
);
16234 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16238 wxToolBarToolBase
*result
;
16239 PyObject
* obj0
= 0 ;
16240 PyObject
* obj1
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "self",(char *) "pos", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16248 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= wxPyMake_wxObject(result
);
16267 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16271 wxToolBarToolBase
*result
;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self",(char *) "id", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16281 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= wxPyMake_wxObject(result
);
16300 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16305 PyObject
* obj0
= 0 ;
16306 PyObject
* obj1
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self",(char *) "pos", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16314 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16331 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "id", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16345 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 result
= (bool)(arg1
)->DeleteTool(arg2
);
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16362 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
;
16364 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "self", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 (arg1
)->ClearTools();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 Py_INCREF(Py_None
); resultobj
= Py_None
;
16386 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= (bool)(arg1
)->Realize();
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16411 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
;
16413 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 PyObject
* obj1
= 0 ;
16418 PyObject
* obj2
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self",(char *) "id",(char *) "enable", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16426 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16430 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 (arg1
)->EnableTool(arg2
,arg3
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 Py_INCREF(Py_None
); resultobj
= Py_None
;
16447 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 PyObject
* obj2
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self",(char *) "id",(char *) "toggle", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16462 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 (arg1
)->ToggleTool(arg2
,arg3
);
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 Py_INCREF(Py_None
); resultobj
= Py_None
;
16483 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 PyObject
* obj2
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self",(char *) "id",(char *) "toggle", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16498 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 (arg1
)->SetToggle(arg2
,arg3
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 Py_INCREF(Py_None
); resultobj
= Py_None
;
16519 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self",(char *) "id", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16533 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= result
;
16550 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16554 PyObject
*arg3
= (PyObject
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 PyObject
* obj2
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self",(char *) "id",(char *) "clientData", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16565 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 Py_INCREF(Py_None
); resultobj
= Py_None
;
16583 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 PyObject
* obj1
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self",(char *) "id", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= SWIG_PyObj_FromInt((int)result
);
16614 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 PyObject
* obj1
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self",(char *) "id", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 result
= (bool)(arg1
)->GetToolState(arg2
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16645 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "id", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16659 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16676 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16678 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16680 wxString
*arg3
= 0 ;
16681 bool temp3
= False
;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 PyObject
* obj2
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "id",(char *) "helpString", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16692 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16696 arg3
= wxString_in_helper(obj2
);
16697 if (arg3
== NULL
) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 Py_INCREF(Py_None
); resultobj
= Py_None
;
16722 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self",(char *) "id", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16736 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (arg1
)->GetToolShortHelp(arg2
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16759 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16763 wxString
*arg3
= 0 ;
16764 bool temp3
= False
;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 PyObject
* obj2
= 0 ;
16768 char *kwnames
[] = {
16769 (char *) "self",(char *) "id",(char *) "helpString", NULL
16772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16775 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16779 arg3
= wxString_in_helper(obj2
);
16780 if (arg3
== NULL
) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 Py_INCREF(Py_None
); resultobj
= Py_None
;
16805 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self",(char *) "id", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16819 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (arg1
)->GetToolLongHelp(arg2
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16842 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16847 PyObject
* obj0
= 0 ;
16848 PyObject
* obj1
= 0 ;
16849 PyObject
* obj2
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "self",(char *) "x",(char *) "y", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16857 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16861 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 (arg1
)->SetMargins(arg2
,arg3
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 Py_INCREF(Py_None
); resultobj
= Py_None
;
16878 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self",(char *) "size", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 Py_INCREF(Py_None
); resultobj
= Py_None
;
16909 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 PyObject
* obj1
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "self",(char *) "packing", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16922 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 (arg1
)->SetToolPacking(arg2
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 Py_INCREF(Py_None
); resultobj
= Py_None
;
16939 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "self",(char *) "separation", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16952 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->SetToolSeparation(arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 Py_INCREF(Py_None
); resultobj
= Py_None
;
16969 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "self", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (arg1
)->GetToolMargins();
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16988 wxSize
* resultptr
;
16989 resultptr
= new wxSize((wxSize
&) result
);
16990 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16998 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
;
17000 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17002 PyObject
* obj0
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "self", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (arg1
)->GetMargins();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 wxSize
* resultptr
;
17018 resultptr
= new wxSize((wxSize
&) result
);
17019 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17027 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (int)(arg1
)->GetToolPacking();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= SWIG_PyObj_FromInt((int)result
);
17052 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (int)(arg1
)->GetToolSeparation();
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= SWIG_PyObj_FromInt((int)result
);
17077 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17081 PyObject
* obj0
= 0 ;
17082 PyObject
* obj1
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "self",(char *) "nRows", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17090 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 (arg1
)->SetRows(arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 PyObject
* obj2
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "self",(char *) "rows",(char *) "cols", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17122 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 Py_INCREF(Py_None
); resultobj
= Py_None
;
17143 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (int)(arg1
)->GetMaxRows();
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= SWIG_PyObj_FromInt((int)result
);
17168 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17172 PyObject
* obj0
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (int)(arg1
)->GetMaxCols();
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_PyObj_FromInt((int)result
);
17193 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self",(char *) "size", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17208 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 Py_INCREF(Py_None
); resultobj
= Py_None
;
17224 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17228 PyObject
* obj0
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (arg1
)->GetToolBitmapSize();
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 wxSize
* resultptr
;
17244 resultptr
= new wxSize((wxSize
&) result
);
17245 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17253 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "self", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (arg1
)->GetToolSize();
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 wxSize
* resultptr
;
17273 resultptr
= new wxSize((wxSize
&) result
);
17274 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17282 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17287 wxToolBarToolBase
*result
;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 PyObject
* obj2
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self",(char *) "x",(char *) "y", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17298 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17302 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= wxPyMake_wxObject(result
);
17321 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17325 wxToolBarToolBase
*result
;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "toolid", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17335 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= wxPyMake_wxObject(result
);
17354 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= (bool)(arg1
)->IsVertical();
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17379 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17382 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17384 return Py_BuildValue((char *)"");
17386 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxWindow
*arg1
= (wxWindow
*) 0 ;
17390 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17391 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17392 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17393 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17394 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17395 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17396 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17400 bool temp6
= False
;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 PyObject
* obj2
= 0 ;
17404 PyObject
* obj3
= 0 ;
17405 PyObject
* obj4
= 0 ;
17406 PyObject
* obj5
= 0 ;
17407 char *kwnames
[] = {
17408 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17414 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17426 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17431 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17437 arg6
= wxString_in_helper(obj5
);
17438 if (arg6
== NULL
) SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= wxPyMake_wxObject(result
);
17466 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17469 char *kwnames
[] = {
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 result
= (wxToolBar
*)new wxToolBar();
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= wxPyMake_wxObject(result
);
17490 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
;
17492 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17493 wxWindow
*arg2
= (wxWindow
*) 0 ;
17495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17499 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17500 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17501 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17505 bool temp7
= False
;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 PyObject
* obj2
= 0 ;
17509 PyObject
* obj3
= 0 ;
17510 PyObject
* obj4
= 0 ;
17511 PyObject
* obj5
= 0 ;
17512 PyObject
* obj6
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17521 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17527 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17533 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17538 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17544 arg7
= wxString_in_helper(obj6
);
17545 if (arg7
== NULL
) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17571 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17576 wxToolBarToolBase
*result
;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 PyObject
* obj2
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self",(char *) "x",(char *) "y", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17587 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17591 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= wxPyMake_wxObject(result
);
17610 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17613 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17615 return Py_BuildValue((char *)"");
17617 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17618 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17623 static PyObject
*_wrap_ListCtrlNameStr_get() {
17628 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17630 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17637 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxColour
const &arg1_defvalue
= wxNullColour
;
17640 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17641 wxColour
const &arg2_defvalue
= wxNullColour
;
17642 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17643 wxFont
const &arg3_defvalue
= wxNullFont
;
17644 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17645 wxListItemAttr
*result
;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 PyObject
* obj2
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17659 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17665 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17669 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17670 if (arg3
== NULL
) {
17671 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17688 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17691 wxColour
*arg2
= 0 ;
17693 PyObject
* obj0
= 0 ;
17694 PyObject
* obj1
= 0 ;
17695 char *kwnames
[] = {
17696 (char *) "self",(char *) "colText", NULL
17699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17703 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 Py_INCREF(Py_None
); resultobj
= Py_None
;
17719 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17722 wxColour
*arg2
= 0 ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self",(char *) "colBack", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 Py_INCREF(Py_None
); resultobj
= Py_None
;
17750 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self",(char *) "font", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17763 if (arg2
== NULL
) {
17764 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 (arg1
)->SetFont((wxFont
const &)*arg2
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 Py_INCREF(Py_None
); resultobj
= Py_None
;
17780 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17784 PyObject
* obj0
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (bool)(arg1
)->HasTextColour();
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17805 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17809 PyObject
* obj0
= 0 ;
17810 char *kwnames
[] = {
17811 (char *) "self", NULL
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (bool)(arg1
)->HasBackgroundColour();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17830 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (bool)(arg1
)->HasFont();
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17855 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17859 PyObject
* obj0
= 0 ;
17860 char *kwnames
[] = {
17861 (char *) "self", NULL
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= (arg1
)->GetTextColour();
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 wxColour
* resultptr
;
17875 resultptr
= new wxColour((wxColour
&) result
);
17876 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17884 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= (arg1
)->GetBackgroundColour();
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17903 wxColour
* resultptr
;
17904 resultptr
= new wxColour((wxColour
&) result
);
17905 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17913 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (arg1
)->GetFont();
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17932 wxFont
* resultptr
;
17933 resultptr
= new wxFont((wxFont
&) result
);
17934 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17942 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 wxListItemAttr_Destroy(arg1
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 Py_INCREF(Py_None
); resultobj
= Py_None
;
17966 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17969 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17971 return Py_BuildValue((char *)"");
17973 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxListItem
*result
;
17976 char *kwnames
[] = {
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (wxListItem
*)new wxListItem();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= wxPyMake_wxObject(result
);
17997 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxListItem
*arg1
= (wxListItem
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 Py_INCREF(Py_None
); resultobj
= Py_None
;
18021 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxListItem
*arg1
= (wxListItem
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 Py_INCREF(Py_None
); resultobj
= Py_None
;
18045 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxListItem
*arg1
= (wxListItem
*) 0 ;
18048 PyObject
* obj0
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 (arg1
)->ClearAttributes();
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 Py_INCREF(Py_None
); resultobj
= Py_None
;
18069 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
;
18071 wxListItem
*arg1
= (wxListItem
*) 0 ;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 char *kwnames
[] = {
18076 (char *) "self",(char *) "mask", NULL
18079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18082 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 (arg1
)->SetMask(arg2
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 Py_INCREF(Py_None
); resultobj
= Py_None
;
18099 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
;
18101 wxListItem
*arg1
= (wxListItem
*) 0 ;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "id", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18112 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 (arg1
)->SetId(arg2
);
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 Py_INCREF(Py_None
); resultobj
= Py_None
;
18129 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18131 wxListItem
*arg1
= (wxListItem
*) 0 ;
18133 PyObject
* obj0
= 0 ;
18134 PyObject
* obj1
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self",(char *) "col", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18142 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 (arg1
)->SetColumn(arg2
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 Py_INCREF(Py_None
); resultobj
= Py_None
;
18159 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxListItem
*arg1
= (wxListItem
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self",(char *) "state", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18172 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 (arg1
)->SetState(arg2
);
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 Py_INCREF(Py_None
); resultobj
= Py_None
;
18189 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxListItem
*arg1
= (wxListItem
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self",(char *) "stateMask", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18202 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 (arg1
)->SetStateMask(arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 Py_INCREF(Py_None
); resultobj
= Py_None
;
18219 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18221 wxListItem
*arg1
= (wxListItem
*) 0 ;
18222 wxString
*arg2
= 0 ;
18223 bool temp2
= False
;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "text", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18233 arg2
= wxString_in_helper(obj1
);
18234 if (arg2
== NULL
) SWIG_fail
;
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 (arg1
)->SetText((wxString
const &)*arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 Py_INCREF(Py_None
); resultobj
= Py_None
;
18259 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxListItem
*arg1
= (wxListItem
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "image", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18272 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 (arg1
)->SetImage(arg2
);
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 Py_INCREF(Py_None
); resultobj
= Py_None
;
18289 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxListItem
*arg1
= (wxListItem
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18295 char *kwnames
[] = {
18296 (char *) "self",(char *) "data", NULL
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18302 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 (arg1
)->SetData(arg2
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 Py_INCREF(Py_None
); resultobj
= Py_None
;
18319 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxListItem
*arg1
= (wxListItem
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "width", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18332 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 (arg1
)->SetWidth(arg2
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 Py_INCREF(Py_None
); resultobj
= Py_None
;
18349 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxListItem
*arg1
= (wxListItem
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "align", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18362 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 Py_INCREF(Py_None
); resultobj
= Py_None
;
18379 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxListItem
*arg1
= (wxListItem
*) 0 ;
18382 wxColour
*arg2
= 0 ;
18384 PyObject
* obj0
= 0 ;
18385 PyObject
* obj1
= 0 ;
18386 char *kwnames
[] = {
18387 (char *) "self",(char *) "colText", NULL
18390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18394 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 Py_INCREF(Py_None
); resultobj
= Py_None
;
18410 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
;
18412 wxListItem
*arg1
= (wxListItem
*) 0 ;
18413 wxColour
*arg2
= 0 ;
18415 PyObject
* obj0
= 0 ;
18416 PyObject
* obj1
= 0 ;
18417 char *kwnames
[] = {
18418 (char *) "self",(char *) "colBack", NULL
18421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 Py_INCREF(Py_None
); resultobj
= Py_None
;
18441 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxListItem
*arg1
= (wxListItem
*) 0 ;
18445 PyObject
* obj0
= 0 ;
18446 PyObject
* obj1
= 0 ;
18447 char *kwnames
[] = {
18448 (char *) "self",(char *) "font", NULL
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18454 if (arg2
== NULL
) {
18455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 (arg1
)->SetFont((wxFont
const &)*arg2
);
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 Py_INCREF(Py_None
); resultobj
= Py_None
;
18471 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxListItem
*arg1
= (wxListItem
*) 0 ;
18475 PyObject
* obj0
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= (long)(arg1
)->GetMask();
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= SWIG_PyObj_FromLong((long)result
);
18496 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxListItem
*arg1
= (wxListItem
*) 0 ;
18500 PyObject
* obj0
= 0 ;
18501 char *kwnames
[] = {
18502 (char *) "self", NULL
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= (long)(arg1
)->GetId();
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_PyObj_FromLong((long)result
);
18521 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
;
18523 wxListItem
*arg1
= (wxListItem
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "self", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (int)(arg1
)->GetColumn();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_PyObj_FromInt((int)result
);
18546 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxListItem
*arg1
= (wxListItem
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (long)(arg1
)->GetState();
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= SWIG_PyObj_FromLong((long)result
);
18571 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxListItem
*arg1
= (wxListItem
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 wxString
const &_result_ref
= (arg1
)->GetText();
18586 result
= (wxString
*) &_result_ref
;
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18596 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18605 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxListItem
*arg1
= (wxListItem
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (int)(arg1
)->GetImage();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_PyObj_FromInt((int)result
);
18630 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxListItem
*arg1
= (wxListItem
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (long)(arg1
)->GetData();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_PyObj_FromLong((long)result
);
18655 static PyObject
*_wrap_ListItem_GetWidth(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_GetWidth",kwnames
,&obj0
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18668 result
= (int)(arg1
)->GetWidth();
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= SWIG_PyObj_FromInt((int)result
);
18680 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxListItem
*arg1
= (wxListItem
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 result
= (int)(arg1
)->GetAlign();
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= SWIG_PyObj_FromInt((int)result
);
18705 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxListItem
*arg1
= (wxListItem
*) 0 ;
18708 wxListItemAttr
*result
;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18730 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxListItem
*arg1
= (wxListItem
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18743 result
= (bool)(arg1
)->HasAttributes();
18745 wxPyEndAllowThreads(__tstate
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18755 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxListItem
*arg1
= (wxListItem
*) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18774 wxColour
* resultptr
;
18775 resultptr
= new wxColour((wxColour
&) result
);
18776 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18784 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxListItem
*arg1
= (wxListItem
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18803 wxColour
* resultptr
;
18804 resultptr
= new wxColour((wxColour
&) result
);
18805 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18813 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxListItem
*arg1
= (wxListItem
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "self", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= ((wxListItem
const *)arg1
)->GetFont();
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18832 wxFont
* resultptr
;
18833 resultptr
= new wxFont((wxFont
&) result
);
18834 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18842 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxListItem
*arg1
= (wxListItem
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 PyObject
* obj1
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self",(char *) "m_mask", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18855 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 if (arg1
) (arg1
)->m_mask
= arg2
;
18860 Py_INCREF(Py_None
); resultobj
= Py_None
;
18867 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxListItem
*arg1
= (wxListItem
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18878 result
= (long) ((arg1
)->m_mask
);
18880 resultobj
= SWIG_PyObj_FromLong((long)result
);
18887 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
;
18889 wxListItem
*arg1
= (wxListItem
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 PyObject
* obj1
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self",(char *) "m_itemId", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18900 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 if (arg1
) (arg1
)->m_itemId
= arg2
;
18905 Py_INCREF(Py_None
); resultobj
= Py_None
;
18912 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxListItem
*arg1
= (wxListItem
*) 0 ;
18916 PyObject
* obj0
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18923 result
= (long) ((arg1
)->m_itemId
);
18925 resultobj
= SWIG_PyObj_FromLong((long)result
);
18932 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxListItem
*arg1
= (wxListItem
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self",(char *) "m_col", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18945 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 if (arg1
) (arg1
)->m_col
= arg2
;
18950 Py_INCREF(Py_None
); resultobj
= Py_None
;
18957 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 wxListItem
*arg1
= (wxListItem
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18968 result
= (int) ((arg1
)->m_col
);
18970 resultobj
= SWIG_PyObj_FromInt((int)result
);
18977 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxListItem
*arg1
= (wxListItem
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "m_state", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18990 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 if (arg1
) (arg1
)->m_state
= arg2
;
18995 Py_INCREF(Py_None
); resultobj
= Py_None
;
19002 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxListItem
*arg1
= (wxListItem
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 char *kwnames
[] = {
19008 (char *) "self", NULL
19011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19013 result
= (long) ((arg1
)->m_state
);
19015 resultobj
= SWIG_PyObj_FromLong((long)result
);
19022 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxListItem
*arg1
= (wxListItem
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self",(char *) "m_stateMask", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19035 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19040 Py_INCREF(Py_None
); resultobj
= Py_None
;
19047 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxListItem
*arg1
= (wxListItem
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19058 result
= (long) ((arg1
)->m_stateMask
);
19060 resultobj
= SWIG_PyObj_FromLong((long)result
);
19067 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19069 wxListItem
*arg1
= (wxListItem
*) 0 ;
19070 wxString
*arg2
= (wxString
*) 0 ;
19071 bool temp2
= False
;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self",(char *) "m_text", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19081 arg2
= wxString_in_helper(obj1
);
19082 if (arg2
== NULL
) SWIG_fail
;
19085 if (arg1
) (arg1
)->m_text
= *arg2
;
19087 Py_INCREF(Py_None
); resultobj
= Py_None
;
19102 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxListItem
*arg1
= (wxListItem
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19113 result
= (wxString
*)& ((arg1
)->m_text
);
19117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19128 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxListItem
*arg1
= (wxListItem
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "m_image", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19141 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 if (arg1
) (arg1
)->m_image
= arg2
;
19146 Py_INCREF(Py_None
); resultobj
= Py_None
;
19153 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxListItem
*arg1
= (wxListItem
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19164 result
= (int) ((arg1
)->m_image
);
19166 resultobj
= SWIG_PyObj_FromInt((int)result
);
19173 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxListItem
*arg1
= (wxListItem
*) 0 ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "m_data", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19186 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 if (arg1
) (arg1
)->m_data
= arg2
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxListItem
*arg1
= (wxListItem
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "self", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19209 result
= (long) ((arg1
)->m_data
);
19211 resultobj
= SWIG_PyObj_FromLong((long)result
);
19218 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 wxListItem
*arg1
= (wxListItem
*) 0 ;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self",(char *) "m_format", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19231 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 if (arg1
) (arg1
)->m_format
= arg2
;
19236 Py_INCREF(Py_None
); resultobj
= Py_None
;
19243 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxListItem
*arg1
= (wxListItem
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19254 result
= (int) ((arg1
)->m_format
);
19256 resultobj
= SWIG_PyObj_FromInt((int)result
);
19263 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxListItem
*arg1
= (wxListItem
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 PyObject
* obj1
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self",(char *) "m_width", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19276 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 if (arg1
) (arg1
)->m_width
= arg2
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19288 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxListItem
*arg1
= (wxListItem
*) 0 ;
19292 PyObject
* obj0
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19299 result
= (int) ((arg1
)->m_width
);
19301 resultobj
= SWIG_PyObj_FromInt((int)result
);
19308 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19311 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19313 return Py_BuildValue((char *)"");
19315 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19318 int arg2
= (int) 0 ;
19319 wxListEvent
*result
;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "commandType",(char *) "id", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19329 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19335 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
19353 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "m_code", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19366 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 if (arg1
) (arg1
)->m_code
= arg2
;
19371 Py_INCREF(Py_None
); resultobj
= Py_None
;
19378 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19389 result
= (int) ((arg1
)->m_code
);
19391 resultobj
= SWIG_PyObj_FromInt((int)result
);
19398 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "self",(char *) "m_oldItemIndex", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19411 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19423 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19434 result
= (long) ((arg1
)->m_oldItemIndex
);
19436 resultobj
= SWIG_PyObj_FromLong((long)result
);
19443 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 PyObject
* obj1
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self",(char *) "m_itemIndex", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19456 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19461 Py_INCREF(Py_None
); resultobj
= Py_None
;
19468 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 char *kwnames
[] = {
19474 (char *) "self", NULL
19477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19479 result
= (long) ((arg1
)->m_itemIndex
);
19481 resultobj
= SWIG_PyObj_FromLong((long)result
);
19488 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "m_col", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 if (arg1
) (arg1
)->m_col
= arg2
;
19506 Py_INCREF(Py_None
); resultobj
= Py_None
;
19513 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19524 result
= (int) ((arg1
)->m_col
);
19526 resultobj
= SWIG_PyObj_FromInt((int)result
);
19533 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19536 wxPoint
*arg2
= (wxPoint
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "m_pointDrag", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19546 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19548 Py_INCREF(Py_None
); resultobj
= Py_None
;
19555 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19566 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19575 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19578 wxListItem
*result
;
19579 PyObject
* obj0
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19586 result
= (wxListItem
*)& ((arg1
)->m_item
);
19589 resultobj
= wxPyMake_wxObject(result
);
19597 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (int)(arg1
)->GetKeyCode();
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_PyObj_FromInt((int)result
);
19622 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19624 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19626 PyObject
* obj0
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 result
= (long)(arg1
)->GetIndex();
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 resultobj
= SWIG_PyObj_FromLong((long)result
);
19647 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19651 PyObject
* obj0
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (int)(arg1
)->GetColumn();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_PyObj_FromInt((int)result
);
19672 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 result
= (arg1
)->GetPoint();
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19691 wxPoint
* resultptr
;
19692 resultptr
= new wxPoint((wxPoint
&) result
);
19693 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19701 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 wxString
const &_result_ref
= (arg1
)->GetLabel();
19716 result
= (wxString
*) &_result_ref
;
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19726 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19735 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 wxString
const &_result_ref
= (arg1
)->GetText();
19750 result
= (wxString
*) &_result_ref
;
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19760 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19769 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19770 PyObject
*resultobj
;
19771 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19773 PyObject
* obj0
= 0 ;
19774 char *kwnames
[] = {
19775 (char *) "self", NULL
19778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (int)(arg1
)->GetImage();
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_PyObj_FromInt((int)result
);
19794 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 result
= (long)(arg1
)->GetData();
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= SWIG_PyObj_FromLong((long)result
);
19819 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19823 PyObject
* obj0
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "self", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (long)(arg1
)->GetMask();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_PyObj_FromLong((long)result
);
19844 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19847 wxListItem
*result
;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19859 result
= (wxListItem
*) &_result_ref
;
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19872 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19876 PyObject
* obj0
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19885 result
= (long)(arg1
)->GetCacheFrom();
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= SWIG_PyObj_FromLong((long)result
);
19897 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 result
= (long)(arg1
)->GetCacheTo();
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= SWIG_PyObj_FromLong((long)result
);
19922 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "self", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19947 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self",(char *) "editCancelled", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19960 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 (arg1
)->SetEditCanceled(arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 Py_INCREF(Py_None
); resultobj
= Py_None
;
19977 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19980 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19982 return Py_BuildValue((char *)"");
19984 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxWindow
*arg1
= (wxWindow
*) 0 ;
19987 int arg2
= (int) -1 ;
19988 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19989 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19990 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19991 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19992 long arg5
= (long) wxLC_ICON
;
19993 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19994 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19995 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19996 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19997 wxPyListCtrl
*result
;
20000 bool temp7
= False
;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 PyObject
* obj2
= 0 ;
20004 PyObject
* obj3
= 0 ;
20005 PyObject
* obj4
= 0 ;
20006 PyObject
* obj5
= 0 ;
20007 PyObject
* obj6
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20016 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20034 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20039 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20040 if (arg6
== NULL
) {
20041 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20046 arg7
= wxString_in_helper(obj6
);
20047 if (arg7
== NULL
) SWIG_fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
20073 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxPyListCtrl
*result
;
20076 char *kwnames
[] = {
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
20095 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20098 wxWindow
*arg2
= (wxWindow
*) 0 ;
20099 int arg3
= (int) -1 ;
20100 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20101 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20102 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20103 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20104 long arg6
= (long) wxLC_ICON
;
20105 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20106 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20107 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20108 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20112 bool temp8
= False
;
20113 PyObject
* obj0
= 0 ;
20114 PyObject
* obj1
= 0 ;
20115 PyObject
* obj2
= 0 ;
20116 PyObject
* obj3
= 0 ;
20117 PyObject
* obj4
= 0 ;
20118 PyObject
* obj5
= 0 ;
20119 PyObject
* obj6
= 0 ;
20120 PyObject
* obj7
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20127 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20130 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20148 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20153 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20154 if (arg7
== NULL
) {
20155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20160 arg8
= wxString_in_helper(obj7
);
20161 if (arg8
== NULL
) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20187 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20190 PyObject
*arg2
= (PyObject
*) 0 ;
20191 PyObject
*arg3
= (PyObject
*) 0 ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 PyObject
* obj2
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self",(char *) "self",(char *) "_class", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 Py_INCREF(Py_None
); resultobj
= Py_None
;
20217 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20220 wxColour
*arg2
= 0 ;
20223 PyObject
* obj0
= 0 ;
20224 PyObject
* obj1
= 0 ;
20225 char *kwnames
[] = {
20226 (char *) "self",(char *) "col", NULL
20229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20233 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20249 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20252 wxColour
*arg2
= 0 ;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self",(char *) "col", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20281 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20285 wxListItem
*result
;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 char *kwnames
[] = {
20289 (char *) "self",(char *) "col", NULL
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20295 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= wxPyMake_wxObject(result
);
20314 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20318 wxListItem
*arg3
= 0 ;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20322 PyObject
* obj2
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self",(char *) "col",(char *) "item", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20330 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20334 if (arg3
== NULL
) {
20335 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20351 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self",(char *) "col", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20365 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20375 resultobj
= SWIG_PyObj_FromInt((int)result
);
20382 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 PyObject
* obj2
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self",(char *) "col",(char *) "width", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20398 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20402 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20419 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20423 PyObject
* obj0
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= SWIG_PyObj_FromInt((int)result
);
20444 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20448 PyObject
* obj0
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "self", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 wxRect
* resultptr
;
20464 resultptr
= new wxRect((wxRect
&) result
);
20465 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20473 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20476 wxTextCtrl
*result
;
20477 PyObject
* obj0
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20492 resultobj
= wxPyMake_wxObject(result
);
20500 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20504 int arg3
= (int) 0 ;
20505 wxListItem
*result
;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 PyObject
* obj2
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self",(char *) "itemId",(char *) "col", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20516 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20521 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= wxPyMake_wxObject(result
);
20541 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20544 wxListItem
*arg2
= 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self",(char *) "info", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20555 if (arg2
== NULL
) {
20556 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= (bool)(arg1
)->SetItem(*arg2
);
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20572 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
;
20574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20577 wxString
*arg4
= 0 ;
20578 int arg5
= (int) -1 ;
20580 bool temp4
= False
;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 PyObject
* obj2
= 0 ;
20584 PyObject
* obj3
= 0 ;
20585 PyObject
* obj4
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20593 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20597 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20601 arg4
= wxString_in_helper(obj3
);
20602 if (arg4
== NULL
) SWIG_fail
;
20607 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 resultobj
= SWIG_PyObj_FromLong((long)result
);
20633 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20639 PyObject
* obj0
= 0 ;
20640 PyObject
* obj1
= 0 ;
20641 PyObject
* obj2
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20649 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= SWIG_PyObj_FromInt((int)result
);
20670 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 PyObject
* obj1
= 0 ;
20679 PyObject
* obj2
= 0 ;
20680 PyObject
* obj3
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20688 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20692 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20696 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20713 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 PyObject
* obj1
= 0 ;
20722 PyObject
* obj2
= 0 ;
20723 PyObject
* obj3
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20731 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20739 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20756 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "item", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20770 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20793 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20794 PyObject
*resultobj
;
20795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20797 wxString
*arg3
= 0 ;
20798 bool temp3
= False
;
20799 PyObject
* obj0
= 0 ;
20800 PyObject
* obj1
= 0 ;
20801 PyObject
* obj2
= 0 ;
20802 char *kwnames
[] = {
20803 (char *) "self",(char *) "item",(char *) "str", NULL
20806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20809 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 arg3
= wxString_in_helper(obj2
);
20814 if (arg3
== NULL
) SWIG_fail
;
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 Py_INCREF(Py_None
); resultobj
= Py_None
;
20839 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 PyObject
* obj1
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self",(char *) "item", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20853 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 resultobj
= SWIG_PyObj_FromLong((long)result
);
20870 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20876 PyObject
* obj0
= 0 ;
20877 PyObject
* obj1
= 0 ;
20878 PyObject
* obj2
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self",(char *) "item",(char *) "data", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20886 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20890 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20907 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self",(char *) "item", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20921 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20932 wxPoint
* resultptr
;
20933 resultptr
= new wxPoint((wxPoint
&) result
);
20934 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20942 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20946 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20948 PyObject
* obj0
= 0 ;
20949 PyObject
* obj1
= 0 ;
20950 PyObject
* obj2
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self",(char *) "item",(char *) "code", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20958 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20963 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 wxRect
* resultptr
;
20976 resultptr
= new wxRect((wxRect
&) result
);
20977 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20985 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20989 wxPoint
*arg3
= 0 ;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 PyObject
* obj2
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self",(char *) "item",(char *) "pos", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21002 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21023 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_PyObj_FromInt((int)result
);
21048 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= SWIG_PyObj_FromInt((int)result
);
21073 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21092 wxSize
* resultptr
;
21093 resultptr
= new wxSize((wxSize
&) result
);
21094 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21102 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= SWIG_PyObj_FromInt((int)result
);
21127 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
;
21129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21131 PyObject
* obj0
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21146 wxColour
* resultptr
;
21147 resultptr
= new wxColour((wxColour
&) result
);
21148 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21156 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
;
21158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21159 wxColour
*arg2
= 0 ;
21161 PyObject
* obj0
= 0 ;
21162 PyObject
* obj1
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self",(char *) "col", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21171 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 Py_INCREF(Py_None
); resultobj
= Py_None
;
21187 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "self", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= SWIG_PyObj_FromLong((long)result
);
21212 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21216 bool arg3
= (bool) True
;
21217 PyObject
* obj0
= 0 ;
21218 PyObject
* obj1
= 0 ;
21219 PyObject
* obj2
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self",(char *) "style",(char *) "add", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21227 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21232 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 (arg1
)->SetSingleStyle(arg2
,arg3
);
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 Py_INCREF(Py_None
); resultobj
= Py_None
;
21250 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(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 *) "style", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",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
)->SetWindowStyleFlag(arg2
);
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21273 Py_INCREF(Py_None
); resultobj
= Py_None
;
21280 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21284 int arg3
= (int) wxLIST_NEXT_ALL
;
21285 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 PyObject
* obj2
= 0 ;
21290 PyObject
* obj3
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21298 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21303 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21309 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= SWIG_PyObj_FromLong((long)result
);
21327 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21331 wxImageList
*result
;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 char *kwnames
[] = {
21335 (char *) "self",(char *) "which", NULL
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21341 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= wxPyMake_wxObject(result
);
21360 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21363 wxImageList
*arg2
= (wxImageList
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 PyObject
* obj2
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self",(char *) "imageList",(char *) "which", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21374 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21376 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 (arg1
)->SetImageList(arg2
,arg3
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 Py_INCREF(Py_None
); resultobj
= Py_None
;
21393 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21396 wxImageList
*arg2
= (wxImageList
*) 0 ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 PyObject
* obj2
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "imageList",(char *) "which", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21409 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 (arg1
)->AssignImageList(arg2
,arg3
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 Py_INCREF(Py_None
); resultobj
= Py_None
;
21426 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21451 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21455 PyObject
* obj0
= 0 ;
21456 PyObject
* obj1
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self",(char *) "item", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21464 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 (arg1
)->RefreshItem(arg2
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 Py_INCREF(Py_None
); resultobj
= Py_None
;
21481 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 PyObject
* obj2
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21496 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 (arg1
)->RefreshItems(arg2
,arg3
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 Py_INCREF(Py_None
); resultobj
= Py_None
;
21517 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21520 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "flag", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21532 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (bool)(arg1
)->Arrange(arg2
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21550 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self",(char *) "item", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21564 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (bool)(arg1
)->DeleteItem(arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21581 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (bool)(arg1
)->DeleteAllItems();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21606 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "col", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21620 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21625 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21637 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
;
21639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21641 PyObject
* obj0
= 0 ;
21642 char *kwnames
[] = {
21643 (char *) "self", NULL
21646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (bool)(arg1
)->DeleteAllColumns();
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21662 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21665 PyObject
* obj0
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "self", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 (arg1
)->ClearAll();
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 Py_INCREF(Py_None
); resultobj
= Py_None
;
21686 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21690 wxTextCtrl
*result
;
21691 PyObject
* obj0
= 0 ;
21692 PyObject
* obj1
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self",(char *) "item", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21700 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= wxPyMake_wxObject(result
);
21719 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21724 PyObject
* obj0
= 0 ;
21725 PyObject
* obj1
= 0 ;
21726 char *kwnames
[] = {
21727 (char *) "self",(char *) "cancel", NULL
21730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21733 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21750 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self",(char *) "item", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21764 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21781 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21785 wxString
*arg3
= 0 ;
21786 bool arg4
= (bool) False
;
21788 bool temp3
= False
;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 PyObject
* obj2
= 0 ;
21792 PyObject
* obj3
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21800 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21804 arg3
= wxString_in_helper(obj2
);
21805 if (arg3
== NULL
) SWIG_fail
;
21810 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_PyObj_FromLong((long)result
);
21836 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21842 PyObject
* obj0
= 0 ;
21843 PyObject
* obj1
= 0 ;
21844 PyObject
* obj2
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "start",(char *) "data", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21852 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21856 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_PyObj_FromLong((long)result
);
21873 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21877 wxPoint
*arg3
= 0 ;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 PyObject
* obj2
= 0 ;
21884 PyObject
* obj3
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21892 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21897 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21900 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= SWIG_PyObj_FromLong((long)result
);
21917 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21920 wxPoint
*arg2
= 0 ;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 char *kwnames
[] = {
21928 (char *) "self",(char *) "point", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= SWIG_PyObj_FromLong((long)result
);
21947 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21948 resultobj
= t_output_helper(resultobj
,o
);
21956 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21959 wxListItem
*arg2
= 0 ;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self",(char *) "info", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21970 if (arg2
== NULL
) {
21971 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (long)(arg1
)->InsertItem(*arg2
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_PyObj_FromLong((long)result
);
21987 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21991 wxString
*arg3
= 0 ;
21993 bool temp3
= False
;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 PyObject
* obj2
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self",(char *) "index",(char *) "label", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22004 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 arg3
= wxString_in_helper(obj2
);
22009 if (arg3
== NULL
) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_PyObj_FromLong((long)result
);
22034 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 PyObject
* obj2
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22050 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22054 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= SWIG_PyObj_FromLong((long)result
);
22071 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
;
22073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22075 wxString
*arg3
= 0 ;
22078 bool temp3
= False
;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 PyObject
* obj2
= 0 ;
22082 PyObject
* obj3
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22090 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22094 arg3
= wxString_in_helper(obj2
);
22095 if (arg3
== NULL
) SWIG_fail
;
22099 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= SWIG_PyObj_FromLong((long)result
);
22124 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
;
22126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22128 wxListItem
*arg3
= 0 ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 PyObject
* obj2
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self",(char *) "col",(char *) "info", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22140 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22144 if (arg3
== NULL
) {
22145 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= SWIG_PyObj_FromLong((long)result
);
22161 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22165 wxString
*arg3
= 0 ;
22166 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22167 int arg5
= (int) -1 ;
22169 bool temp3
= False
;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 PyObject
* obj2
= 0 ;
22173 PyObject
* obj3
= 0 ;
22174 PyObject
* obj4
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22182 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22186 arg3
= wxString_in_helper(obj2
);
22187 if (arg3
== NULL
) SWIG_fail
;
22192 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22198 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_PyObj_FromLong((long)result
);
22224 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22228 PyObject
* obj0
= 0 ;
22229 PyObject
* obj1
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self",(char *) "count", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22237 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 (arg1
)->SetItemCount(arg2
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 Py_INCREF(Py_None
); resultobj
= Py_None
;
22254 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 PyObject
* obj1
= 0 ;
22262 PyObject
* obj2
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self",(char *) "dx",(char *) "dy", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22270 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22274 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22291 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22295 wxColour
*arg3
= 0 ;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 PyObject
* obj2
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self",(char *) "item",(char *) "col", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22307 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22312 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 Py_INCREF(Py_None
); resultobj
= Py_None
;
22328 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self",(char *) "item", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22342 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22353 wxColour
* resultptr
;
22354 resultptr
= new wxColour((wxColour
&) result
);
22355 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22363 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
;
22365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22367 wxColour
*arg3
= 0 ;
22369 PyObject
* obj0
= 0 ;
22370 PyObject
* obj1
= 0 ;
22371 PyObject
* obj2
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self",(char *) "item",(char *) "col", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22379 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22384 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 Py_INCREF(Py_None
); resultobj
= Py_None
;
22400 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22405 PyObject
* obj0
= 0 ;
22406 PyObject
* obj1
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self",(char *) "item", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22414 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 wxColour
* resultptr
;
22426 resultptr
= new wxColour((wxColour
&) result
);
22427 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22435 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22438 PyObject
*arg2
= (PyObject
*) 0 ;
22440 PyObject
* obj0
= 0 ;
22441 PyObject
* obj1
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self",(char *) "func", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22463 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22467 PyObject
* obj0
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= wxPyMake_wxObject(result
);
22490 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22493 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22495 return Py_BuildValue((char *)"");
22497 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxWindow
*arg1
= (wxWindow
*) 0 ;
22500 int arg2
= (int) -1 ;
22501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22503 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22504 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22505 long arg5
= (long) wxLC_REPORT
;
22506 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22507 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22508 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22509 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22510 wxListView
*result
;
22513 bool temp7
= False
;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 PyObject
* obj2
= 0 ;
22517 PyObject
* obj3
= 0 ;
22518 PyObject
* obj4
= 0 ;
22519 PyObject
* obj5
= 0 ;
22520 PyObject
* obj6
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22529 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22536 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22542 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22547 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22552 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22553 if (arg6
== NULL
) {
22554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22559 arg7
= wxString_in_helper(obj6
);
22560 if (arg7
== NULL
) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22586 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxListView
*result
;
22589 char *kwnames
[] = {
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 result
= (wxListView
*)new wxListView();
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22608 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxListView
*arg1
= (wxListView
*) 0 ;
22611 wxWindow
*arg2
= (wxWindow
*) 0 ;
22612 int arg3
= (int) -1 ;
22613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22617 long arg6
= (long) wxLC_REPORT
;
22618 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22619 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22620 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22621 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22625 bool temp8
= False
;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 PyObject
* obj2
= 0 ;
22629 PyObject
* obj3
= 0 ;
22630 PyObject
* obj4
= 0 ;
22631 PyObject
* obj5
= 0 ;
22632 PyObject
* obj6
= 0 ;
22633 PyObject
* obj7
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22643 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22650 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22656 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22661 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22666 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22667 if (arg7
== NULL
) {
22668 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22673 arg8
= wxString_in_helper(obj7
);
22674 if (arg8
== NULL
) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22700 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxListView
*arg1
= (wxListView
*) 0 ;
22704 bool arg3
= (bool) True
;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 PyObject
* obj2
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self",(char *) "n",(char *) "on", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22715 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22720 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 (arg1
)->Select(arg2
,arg3
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 Py_INCREF(Py_None
); resultobj
= Py_None
;
22738 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxListView
*arg1
= (wxListView
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "index", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22751 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->Focus(arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxListView
*arg1
= (wxListView
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= SWIG_PyObj_FromLong((long)result
);
22793 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22795 wxListView
*arg1
= (wxListView
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "item", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22807 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= SWIG_PyObj_FromLong((long)result
);
22824 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxListView
*arg1
= (wxListView
*) 0 ;
22828 PyObject
* obj0
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= SWIG_PyObj_FromLong((long)result
);
22849 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxListView
*arg1
= (wxListView
*) 0 ;
22854 PyObject
* obj0
= 0 ;
22855 PyObject
* obj1
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self",(char *) "index", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22863 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 result
= (bool)(arg1
)->IsSelected(arg2
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22880 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxListView
*arg1
= (wxListView
*) 0 ;
22885 PyObject
* obj0
= 0 ;
22886 PyObject
* obj1
= 0 ;
22887 PyObject
* obj2
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self",(char *) "col",(char *) "image", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22899 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 (arg1
)->SetColumnImage(arg2
,arg3
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 Py_INCREF(Py_None
); resultobj
= Py_None
;
22916 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxListView
*arg1
= (wxListView
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self",(char *) "col", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22929 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 (arg1
)->ClearColumnImage(arg2
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22949 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22951 return Py_BuildValue((char *)"");
22953 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22954 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22959 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22964 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22966 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22973 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxTreeItemId
*result
;
22976 char *kwnames
[] = {
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (wxTreeItemId
*)new wxTreeItemId();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22995 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 Py_INCREF(Py_None
); resultobj
= Py_None
;
23019 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "self", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23044 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23045 PyObject
*resultobj
;
23046 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23047 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23049 PyObject
* obj0
= 0 ;
23050 PyObject
* obj1
= 0 ;
23051 char *kwnames
[] = {
23052 (char *) "self",(char *) "other", NULL
23055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23057 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23072 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23075 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "self",(char *) "other", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23085 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23100 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23103 void *arg2
= (void *) 0 ;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self",(char *) "m_pItem", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23113 if (arg1
) (arg1
)->m_pItem
= arg2
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23133 result
= (void *) ((arg1
)->m_pItem
);
23135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
23142 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23145 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23147 return Py_BuildValue((char *)"");
23149 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 PyObject
*arg1
= (PyObject
*) NULL
;
23152 wxPyTreeItemData
*result
;
23153 PyObject
* obj0
= 0 ;
23154 char *kwnames
[] = {
23155 (char *) "obj", NULL
23158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
23176 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23178 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23180 PyObject
* obj0
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (PyObject
*)(arg1
)->GetData();
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= result
;
23201 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23204 PyObject
*arg2
= (PyObject
*) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self",(char *) "obj", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 (arg1
)->SetData(arg2
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 Py_INCREF(Py_None
); resultobj
= Py_None
;
23228 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23231 wxTreeItemId
*result
;
23232 PyObject
* obj0
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23243 result
= (wxTreeItemId
*) &_result_ref
;
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
23256 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23259 wxTreeItemId
*arg2
= 0 ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self",(char *) "id", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23269 if (arg2
== NULL
) {
23270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 Py_INCREF(Py_None
); resultobj
= Py_None
;
23286 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23289 PyObject
* obj0
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 wxPyTreeItemData_Destroy(arg1
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 Py_INCREF(Py_None
); resultobj
= Py_None
;
23310 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23313 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23315 return Py_BuildValue((char *)"");
23317 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
;
23319 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23320 int arg2
= (int) 0 ;
23321 wxTreeEvent
*result
;
23322 PyObject
* obj0
= 0 ;
23323 PyObject
* obj1
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "commandType",(char *) "id", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23331 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23337 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
23355 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23358 wxTreeItemId result
;
23359 PyObject
* obj0
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 wxTreeItemId
* resultptr
;
23375 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23376 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23384 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23387 wxTreeItemId
*arg2
= 0 ;
23388 PyObject
* obj0
= 0 ;
23389 PyObject
* obj1
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self",(char *) "item", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23397 if (arg2
== NULL
) {
23398 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 Py_INCREF(Py_None
); resultobj
= Py_None
;
23414 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23417 wxTreeItemId result
;
23418 PyObject
* obj0
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23433 wxTreeItemId
* resultptr
;
23434 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23443 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23446 wxTreeItemId
*arg2
= 0 ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self",(char *) "item", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23456 if (arg2
== NULL
) {
23457 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 Py_INCREF(Py_None
); resultobj
= Py_None
;
23473 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23492 wxPoint
* resultptr
;
23493 resultptr
= new wxPoint((wxPoint
&) result
);
23494 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23502 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
;
23504 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23505 wxPoint
*arg2
= 0 ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "pt", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 Py_INCREF(Py_None
); resultobj
= Py_None
;
23533 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23536 wxKeyEvent
*result
;
23537 PyObject
* obj0
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23548 result
= (wxKeyEvent
*) &_result_ref
;
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23561 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_PyObj_FromInt((int)result
);
23586 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23589 wxKeyEvent
*arg2
= 0 ;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self",(char *) "evt", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23598 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23599 if (arg2
== NULL
) {
23600 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 Py_INCREF(Py_None
); resultobj
= Py_None
;
23616 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23618 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23620 PyObject
* obj0
= 0 ;
23621 char *kwnames
[] = {
23622 (char *) "self", NULL
23625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23631 result
= (wxString
*) &_result_ref
;
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23641 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23650 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
;
23652 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23653 wxString
*arg2
= 0 ;
23654 bool temp2
= False
;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self",(char *) "label", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23664 arg2
= wxString_in_helper(obj1
);
23665 if (arg2
== NULL
) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 (arg1
)->SetLabel((wxString
const &)*arg2
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 Py_INCREF(Py_None
); resultobj
= Py_None
;
23690 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23694 PyObject
* obj0
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23715 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "editCancelled", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23728 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 (arg1
)->SetEditCanceled(arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 Py_INCREF(Py_None
); resultobj
= Py_None
;
23745 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23748 wxString
*arg2
= 0 ;
23749 bool temp2
= False
;
23750 PyObject
* obj0
= 0 ;
23751 PyObject
* obj1
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self",(char *) "toolTip", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23759 arg2
= wxString_in_helper(obj1
);
23760 if (arg2
== NULL
) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 Py_INCREF(Py_None
); resultobj
= Py_None
;
23785 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23788 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23790 return Py_BuildValue((char *)"");
23792 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxWindow
*arg1
= (wxWindow
*) 0 ;
23795 int arg2
= (int) -1 ;
23796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23800 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23801 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23802 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23803 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23804 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23805 wxPyTreeCtrl
*result
;
23808 bool temp7
= False
;
23809 PyObject
* obj0
= 0 ;
23810 PyObject
* obj1
= 0 ;
23811 PyObject
* obj2
= 0 ;
23812 PyObject
* obj3
= 0 ;
23813 PyObject
* obj4
= 0 ;
23814 PyObject
* obj5
= 0 ;
23815 PyObject
* obj6
= 0 ;
23816 char *kwnames
[] = {
23817 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23831 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23837 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23842 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23847 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23848 if (arg6
== NULL
) {
23849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23854 arg7
= wxString_in_helper(obj6
);
23855 if (arg7
== NULL
) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= wxPyMake_wxObject(result
);
23883 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
;
23885 wxPyTreeCtrl
*result
;
23886 char *kwnames
[] = {
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= wxPyMake_wxObject(result
);
23907 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23910 wxWindow
*arg2
= (wxWindow
*) 0 ;
23911 int arg3
= (int) -1 ;
23912 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23913 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23914 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23915 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23916 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23917 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23918 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23919 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23920 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23924 bool temp8
= False
;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 PyObject
* obj2
= 0 ;
23928 PyObject
* obj3
= 0 ;
23929 PyObject
* obj4
= 0 ;
23930 PyObject
* obj5
= 0 ;
23931 PyObject
* obj6
= 0 ;
23932 PyObject
* obj7
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23939 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23942 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23949 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23955 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23960 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23965 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23966 if (arg7
== NULL
) {
23967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23972 arg8
= wxString_in_helper(obj7
);
23973 if (arg8
== NULL
) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23999 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24002 PyObject
*arg2
= (PyObject
*) 0 ;
24003 PyObject
*arg3
= (PyObject
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 PyObject
* obj2
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "self",(char *) "_class", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 Py_INCREF(Py_None
); resultobj
= Py_None
;
24029 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24047 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24054 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24057 unsigned int result
;
24058 PyObject
* obj0
= 0 ;
24059 char *kwnames
[] = {
24060 (char *) "self", NULL
24063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
24079 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
;
24081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24082 unsigned int arg2
;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self",(char *) "indent", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24092 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 (arg1
)->SetIndent(arg2
);
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24102 Py_INCREF(Py_None
); resultobj
= Py_None
;
24109 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
;
24111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24112 unsigned int result
;
24113 PyObject
* obj0
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
24134 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24137 unsigned int arg2
;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self",(char *) "spacing", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24147 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 (arg1
)->SetSpacing(arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 Py_INCREF(Py_None
); resultobj
= Py_None
;
24164 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24167 wxImageList
*result
;
24168 PyObject
* obj0
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= wxPyMake_wxObject(result
);
24191 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24194 wxImageList
*result
;
24195 PyObject
* obj0
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24210 resultobj
= wxPyMake_wxObject(result
);
24218 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
;
24220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24221 wxImageList
*arg2
= (wxImageList
*) 0 ;
24222 PyObject
* obj0
= 0 ;
24223 PyObject
* obj1
= 0 ;
24224 char *kwnames
[] = {
24225 (char *) "self",(char *) "imageList", NULL
24228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 (arg1
)->SetImageList(arg2
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24238 Py_INCREF(Py_None
); resultobj
= Py_None
;
24245 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24248 wxImageList
*arg2
= (wxImageList
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self",(char *) "imageList", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24257 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 (arg1
)->SetStateImageList(arg2
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 Py_INCREF(Py_None
); resultobj
= Py_None
;
24272 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24275 wxImageList
*arg2
= (wxImageList
*) 0 ;
24276 PyObject
* obj0
= 0 ;
24277 PyObject
* obj1
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "self",(char *) "imageList", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 (arg1
)->AssignImageList(arg2
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 Py_INCREF(Py_None
); resultobj
= Py_None
;
24299 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24302 wxImageList
*arg2
= (wxImageList
*) 0 ;
24303 PyObject
* obj0
= 0 ;
24304 PyObject
* obj1
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self",(char *) "imageList", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24311 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 (arg1
)->AssignStateImageList(arg2
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24319 Py_INCREF(Py_None
); resultobj
= Py_None
;
24326 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
;
24328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24329 wxTreeItemId
*arg2
= 0 ;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self",(char *) "item", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24340 if (arg2
== NULL
) {
24341 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24363 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24366 wxTreeItemId
*arg2
= 0 ;
24367 int arg3
= (int) wxTreeItemIcon_Normal
;
24369 PyObject
* obj0
= 0 ;
24370 PyObject
* obj1
= 0 ;
24371 PyObject
* obj2
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self",(char *) "item",(char *) "which", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24379 if (arg2
== NULL
) {
24380 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24384 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_PyObj_FromInt((int)result
);
24402 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24405 wxTreeItemId
*arg2
= 0 ;
24406 wxPyTreeItemData
*result
;
24407 PyObject
* obj0
= 0 ;
24408 PyObject
* obj1
= 0 ;
24409 char *kwnames
[] = {
24410 (char *) "self",(char *) "item", NULL
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24416 if (arg2
== NULL
) {
24417 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
24433 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24436 wxTreeItemId
*arg2
= 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "item", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24447 if (arg2
== NULL
) {
24448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= result
;
24464 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
;
24466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24467 wxTreeItemId
*arg2
= 0 ;
24469 PyObject
* obj0
= 0 ;
24470 PyObject
* obj1
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self",(char *) "item", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24478 if (arg2
== NULL
) {
24479 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 wxColour
* resultptr
;
24490 resultptr
= new wxColour((wxColour
&) result
);
24491 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24499 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24502 wxTreeItemId
*arg2
= 0 ;
24504 PyObject
* obj0
= 0 ;
24505 PyObject
* obj1
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self",(char *) "item", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24513 if (arg2
== NULL
) {
24514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24524 wxColour
* resultptr
;
24525 resultptr
= new wxColour((wxColour
&) result
);
24526 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24534 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24537 wxTreeItemId
*arg2
= 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "item", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24548 if (arg2
== NULL
) {
24549 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24559 wxFont
* resultptr
;
24560 resultptr
= new wxFont((wxFont
&) result
);
24561 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24569 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24572 wxTreeItemId
*arg2
= 0 ;
24573 wxString
*arg3
= 0 ;
24574 bool temp3
= False
;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 PyObject
* obj2
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self",(char *) "item",(char *) "text", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24584 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24585 if (arg2
== NULL
) {
24586 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24589 arg3
= wxString_in_helper(obj2
);
24590 if (arg3
== NULL
) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 Py_INCREF(Py_None
); resultobj
= Py_None
;
24615 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24618 wxTreeItemId
*arg2
= 0 ;
24620 int arg4
= (int) wxTreeItemIcon_Normal
;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 PyObject
* obj2
= 0 ;
24624 PyObject
* obj3
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24632 if (arg2
== NULL
) {
24633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24636 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24641 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 Py_INCREF(Py_None
); resultobj
= Py_None
;
24659 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
;
24661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24662 wxTreeItemId
*arg2
= 0 ;
24663 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24664 PyObject
* obj0
= 0 ;
24665 PyObject
* obj1
= 0 ;
24666 PyObject
* obj2
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self",(char *) "item",(char *) "data", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24673 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24674 if (arg2
== NULL
) {
24675 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24677 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 Py_INCREF(Py_None
); resultobj
= Py_None
;
24692 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
;
24694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24695 wxTreeItemId
*arg2
= 0 ;
24696 PyObject
*arg3
= (PyObject
*) 0 ;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 PyObject
* obj2
= 0 ;
24700 char *kwnames
[] = {
24701 (char *) "self",(char *) "item",(char *) "obj", NULL
24704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24706 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24707 if (arg2
== NULL
) {
24708 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24718 Py_INCREF(Py_None
); resultobj
= Py_None
;
24725 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24728 wxTreeItemId
*arg2
= 0 ;
24729 bool arg3
= (bool) True
;
24730 PyObject
* obj0
= 0 ;
24731 PyObject
* obj1
= 0 ;
24732 PyObject
* obj2
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self",(char *) "item",(char *) "has", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24740 if (arg2
== NULL
) {
24741 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24745 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 Py_INCREF(Py_None
); resultobj
= Py_None
;
24763 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24766 wxTreeItemId
*arg2
= 0 ;
24767 bool arg3
= (bool) True
;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 PyObject
* obj2
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "item",(char *) "bold", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24778 if (arg2
== NULL
) {
24779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24783 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 Py_INCREF(Py_None
); resultobj
= Py_None
;
24801 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24804 wxTreeItemId
*arg2
= 0 ;
24805 bool arg3
= (bool) True
;
24806 PyObject
* obj0
= 0 ;
24807 PyObject
* obj1
= 0 ;
24808 PyObject
* obj2
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self",(char *) "item",(char *) "highlight", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24816 if (arg2
== NULL
) {
24817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24821 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 Py_INCREF(Py_None
); resultobj
= Py_None
;
24839 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24842 wxTreeItemId
*arg2
= 0 ;
24843 wxColour
*arg3
= 0 ;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 PyObject
* obj2
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self",(char *) "item",(char *) "col", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24855 if (arg2
== NULL
) {
24856 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24860 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 Py_INCREF(Py_None
); resultobj
= Py_None
;
24876 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24879 wxTreeItemId
*arg2
= 0 ;
24880 wxColour
*arg3
= 0 ;
24882 PyObject
* obj0
= 0 ;
24883 PyObject
* obj1
= 0 ;
24884 PyObject
* obj2
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self",(char *) "item",(char *) "col", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24892 if (arg2
== NULL
) {
24893 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24897 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 Py_INCREF(Py_None
); resultobj
= Py_None
;
24913 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
;
24915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24916 wxTreeItemId
*arg2
= 0 ;
24918 PyObject
* obj0
= 0 ;
24919 PyObject
* obj1
= 0 ;
24920 PyObject
* obj2
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self",(char *) "item",(char *) "font", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24928 if (arg2
== NULL
) {
24929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24931 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24932 if (arg3
== NULL
) {
24933 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 Py_INCREF(Py_None
); resultobj
= Py_None
;
24949 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24952 wxTreeItemId
*arg2
= 0 ;
24954 PyObject
* obj0
= 0 ;
24955 PyObject
* obj1
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self",(char *) "item", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24963 if (arg2
== NULL
) {
24964 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24980 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24983 wxTreeItemId
*arg2
= 0 ;
24985 PyObject
* obj0
= 0 ;
24986 PyObject
* obj1
= 0 ;
24987 char *kwnames
[] = {
24988 (char *) "self",(char *) "item", NULL
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24994 if (arg2
== NULL
) {
24995 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25011 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25014 wxTreeItemId
*arg2
= 0 ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self",(char *) "item", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25024 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25025 if (arg2
== NULL
) {
25026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25042 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25045 wxTreeItemId
*arg2
= 0 ;
25047 PyObject
* obj0
= 0 ;
25048 PyObject
* obj1
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self",(char *) "item", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25056 if (arg2
== NULL
) {
25057 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25073 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25076 wxTreeItemId
*arg2
= 0 ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self",(char *) "item", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25087 if (arg2
== NULL
) {
25088 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25104 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25105 PyObject
*resultobj
;
25106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25107 wxTreeItemId
*arg2
= 0 ;
25108 bool arg3
= (bool) True
;
25110 PyObject
* obj0
= 0 ;
25111 PyObject
* obj1
= 0 ;
25112 PyObject
* obj2
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self",(char *) "item",(char *) "recursively", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25120 if (arg2
== NULL
) {
25121 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25125 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
25143 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25144 PyObject
*resultobj
;
25145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25146 wxTreeItemId result
;
25147 PyObject
* obj0
= 0 ;
25148 char *kwnames
[] = {
25149 (char *) "self", NULL
25152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 wxTreeItemId
* resultptr
;
25163 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25164 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25172 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25175 wxTreeItemId result
;
25176 PyObject
* obj0
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 wxTreeItemId
* resultptr
;
25192 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25193 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25201 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= result
;
25226 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25229 wxTreeItemId
*arg2
= 0 ;
25230 wxTreeItemId result
;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 char *kwnames
[] = {
25234 (char *) "self",(char *) "item", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25240 if (arg2
== NULL
) {
25241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25251 wxTreeItemId
* resultptr
;
25252 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25253 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25261 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25264 wxTreeItemId
*arg2
= 0 ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self",(char *) "item", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25275 if (arg2
== NULL
) {
25276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= result
;
25292 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25295 wxTreeItemId
*arg2
= 0 ;
25296 void *arg3
= (void *) 0 ;
25298 PyObject
* obj0
= 0 ;
25299 PyObject
* obj1
= 0 ;
25300 PyObject
* obj2
= 0 ;
25301 char *kwnames
[] = {
25302 (char *) "self",(char *) "item",(char *) "cookie", NULL
25305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25307 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25308 if (arg2
== NULL
) {
25309 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25311 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= result
;
25326 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
;
25328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25329 wxTreeItemId
*arg2
= 0 ;
25330 wxTreeItemId result
;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self",(char *) "item", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25340 if (arg2
== NULL
) {
25341 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25351 wxTreeItemId
* resultptr
;
25352 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25353 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25361 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25364 wxTreeItemId
*arg2
= 0 ;
25365 wxTreeItemId result
;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self",(char *) "item", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25374 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25375 if (arg2
== NULL
) {
25376 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25386 wxTreeItemId
* resultptr
;
25387 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25388 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25396 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25399 wxTreeItemId
*arg2
= 0 ;
25400 wxTreeItemId result
;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self",(char *) "item", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25410 if (arg2
== NULL
) {
25411 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25421 wxTreeItemId
* resultptr
;
25422 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25423 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25431 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25434 wxTreeItemId result
;
25435 PyObject
* obj0
= 0 ;
25436 char *kwnames
[] = {
25437 (char *) "self", NULL
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25450 wxTreeItemId
* resultptr
;
25451 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25452 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25460 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25463 wxTreeItemId
*arg2
= 0 ;
25464 wxTreeItemId result
;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "item", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25473 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25474 if (arg2
== NULL
) {
25475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25485 wxTreeItemId
* resultptr
;
25486 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25487 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25495 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25498 wxTreeItemId
*arg2
= 0 ;
25499 wxTreeItemId result
;
25500 PyObject
* obj0
= 0 ;
25501 PyObject
* obj1
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self",(char *) "item", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25509 if (arg2
== NULL
) {
25510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25520 wxTreeItemId
* resultptr
;
25521 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25522 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25530 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25533 wxString
*arg2
= 0 ;
25534 int arg3
= (int) -1 ;
25535 int arg4
= (int) -1 ;
25536 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25537 wxTreeItemId result
;
25538 bool temp2
= False
;
25539 PyObject
* obj0
= 0 ;
25540 PyObject
* obj1
= 0 ;
25541 PyObject
* obj2
= 0 ;
25542 PyObject
* obj3
= 0 ;
25543 PyObject
* obj4
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25551 arg2
= wxString_in_helper(obj1
);
25552 if (arg2
== NULL
) SWIG_fail
;
25557 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25563 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25568 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25578 wxTreeItemId
* resultptr
;
25579 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25580 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25596 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25599 wxTreeItemId
*arg2
= 0 ;
25600 wxString
*arg3
= 0 ;
25601 int arg4
= (int) -1 ;
25602 int arg5
= (int) -1 ;
25603 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25604 wxTreeItemId result
;
25605 bool temp3
= False
;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 PyObject
* obj2
= 0 ;
25609 PyObject
* obj3
= 0 ;
25610 PyObject
* obj4
= 0 ;
25611 PyObject
* obj5
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25619 if (arg2
== NULL
) {
25620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25623 arg3
= wxString_in_helper(obj2
);
25624 if (arg3
== NULL
) SWIG_fail
;
25629 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25635 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25640 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 wxTreeItemId
* resultptr
;
25651 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25652 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25668 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25671 wxTreeItemId
*arg2
= 0 ;
25672 wxTreeItemId
*arg3
= 0 ;
25673 wxString
*arg4
= 0 ;
25674 int arg5
= (int) -1 ;
25675 int arg6
= (int) -1 ;
25676 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25677 wxTreeItemId result
;
25678 bool temp4
= False
;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 PyObject
* obj2
= 0 ;
25682 PyObject
* obj3
= 0 ;
25683 PyObject
* obj4
= 0 ;
25684 PyObject
* obj5
= 0 ;
25685 PyObject
* obj6
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25693 if (arg2
== NULL
) {
25694 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25696 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25697 if (arg3
== NULL
) {
25698 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25701 arg4
= wxString_in_helper(obj3
);
25702 if (arg4
== NULL
) SWIG_fail
;
25707 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25713 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25718 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 wxTreeItemId
* resultptr
;
25729 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25730 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25746 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
;
25748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25749 wxTreeItemId
*arg2
= 0 ;
25751 wxString
*arg4
= 0 ;
25752 int arg5
= (int) -1 ;
25753 int arg6
= (int) -1 ;
25754 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25755 wxTreeItemId result
;
25756 bool temp4
= False
;
25757 PyObject
* obj0
= 0 ;
25758 PyObject
* obj1
= 0 ;
25759 PyObject
* obj2
= 0 ;
25760 PyObject
* obj3
= 0 ;
25761 PyObject
* obj4
= 0 ;
25762 PyObject
* obj5
= 0 ;
25763 PyObject
* obj6
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25771 if (arg2
== NULL
) {
25772 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25775 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25779 arg4
= wxString_in_helper(obj3
);
25780 if (arg4
== NULL
) SWIG_fail
;
25785 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25791 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25796 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25806 wxTreeItemId
* resultptr
;
25807 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25808 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25824 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25827 wxTreeItemId
*arg2
= 0 ;
25828 wxString
*arg3
= 0 ;
25829 int arg4
= (int) -1 ;
25830 int arg5
= (int) -1 ;
25831 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25832 wxTreeItemId result
;
25833 bool temp3
= False
;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 PyObject
* obj2
= 0 ;
25837 PyObject
* obj3
= 0 ;
25838 PyObject
* obj4
= 0 ;
25839 PyObject
* obj5
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25847 if (arg2
== NULL
) {
25848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25851 arg3
= wxString_in_helper(obj2
);
25852 if (arg3
== NULL
) SWIG_fail
;
25857 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25863 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25868 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25878 wxTreeItemId
* resultptr
;
25879 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25896 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25899 wxTreeItemId
*arg2
= 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "item", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25908 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25909 if (arg2
== NULL
) {
25910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 Py_INCREF(Py_None
); resultobj
= Py_None
;
25926 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25929 wxTreeItemId
*arg2
= 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self",(char *) "item", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25939 if (arg2
== NULL
) {
25940 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25949 Py_INCREF(Py_None
); resultobj
= Py_None
;
25956 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25959 PyObject
* obj0
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 (arg1
)->DeleteAllItems();
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25973 Py_INCREF(Py_None
); resultobj
= Py_None
;
25980 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
;
25982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25983 wxTreeItemId
*arg2
= 0 ;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "item", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25993 if (arg2
== NULL
) {
25994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 Py_INCREF(Py_None
); resultobj
= Py_None
;
26010 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26013 wxTreeItemId
*arg2
= 0 ;
26014 PyObject
* obj0
= 0 ;
26015 PyObject
* obj1
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self",(char *) "item", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26023 if (arg2
== NULL
) {
26024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 Py_INCREF(Py_None
); resultobj
= Py_None
;
26040 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26043 wxTreeItemId
*arg2
= 0 ;
26044 PyObject
* obj0
= 0 ;
26045 PyObject
* obj1
= 0 ;
26046 char *kwnames
[] = {
26047 (char *) "self",(char *) "item", NULL
26050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26053 if (arg2
== NULL
) {
26054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 Py_INCREF(Py_None
); resultobj
= Py_None
;
26070 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26073 wxTreeItemId
*arg2
= 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self",(char *) "item", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26083 if (arg2
== NULL
) {
26084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 Py_INCREF(Py_None
); resultobj
= Py_None
;
26100 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26103 PyObject
* obj0
= 0 ;
26104 char *kwnames
[] = {
26105 (char *) "self", NULL
26108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 (arg1
)->Unselect();
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 Py_INCREF(Py_None
); resultobj
= Py_None
;
26124 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26125 PyObject
*resultobj
;
26126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26127 wxTreeItemId
*arg2
= 0 ;
26128 PyObject
* obj0
= 0 ;
26129 PyObject
* obj1
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self",(char *) "item", NULL
26134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26137 if (arg2
== NULL
) {
26138 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 Py_INCREF(Py_None
); resultobj
= Py_None
;
26154 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26157 PyObject
* obj0
= 0 ;
26158 char *kwnames
[] = {
26159 (char *) "self", NULL
26162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 (arg1
)->UnselectAll();
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26171 Py_INCREF(Py_None
); resultobj
= Py_None
;
26178 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26181 wxTreeItemId
*arg2
= 0 ;
26182 bool arg3
= (bool) True
;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 PyObject
* obj2
= 0 ;
26186 char *kwnames
[] = {
26187 (char *) "self",(char *) "item",(char *) "select", NULL
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26193 if (arg2
== NULL
) {
26194 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26198 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26219 wxTreeItemId
*arg2
= 0 ;
26220 PyObject
* obj0
= 0 ;
26221 PyObject
* obj1
= 0 ;
26222 char *kwnames
[] = {
26223 (char *) "self",(char *) "item", NULL
26226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26229 if (arg2
== NULL
) {
26230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 Py_INCREF(Py_None
); resultobj
= Py_None
;
26246 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26249 wxTreeItemId
*arg2
= 0 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "item", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26259 if (arg2
== NULL
) {
26260 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 Py_INCREF(Py_None
); resultobj
= Py_None
;
26276 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
;
26278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26279 wxTreeItemId
*arg2
= 0 ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 char *kwnames
[] = {
26283 (char *) "self",(char *) "item", NULL
26286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26288 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26289 if (arg2
== NULL
) {
26290 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 Py_INCREF(Py_None
); resultobj
= Py_None
;
26306 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26309 wxTreeItemId
*arg2
= 0 ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self",(char *) "item", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26318 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26319 if (arg2
== NULL
) {
26320 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 Py_INCREF(Py_None
); resultobj
= Py_None
;
26336 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26339 wxTextCtrl
*result
;
26340 PyObject
* obj0
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= wxPyMake_wxObject(result
);
26363 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26366 wxTreeItemId
*arg2
= 0 ;
26367 bool arg3
= (bool) False
;
26368 PyObject
* obj0
= 0 ;
26369 PyObject
* obj1
= 0 ;
26370 PyObject
* obj2
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26378 if (arg2
== NULL
) {
26379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26383 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26394 Py_INCREF(Py_None
); resultobj
= Py_None
;
26401 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26402 PyObject
*resultobj
;
26403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26404 wxTreeItemId
*arg2
= 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self",(char *) "item", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26414 if (arg2
== NULL
) {
26415 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 Py_INCREF(Py_None
); resultobj
= Py_None
;
26431 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26434 wxPoint
*arg2
= 0 ;
26436 wxTreeItemId result
;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj1
= 0 ;
26441 char *kwnames
[] = {
26442 (char *) "self",(char *) "point", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 wxTreeItemId
* resultptr
;
26461 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26462 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26465 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26466 resultobj
= t_output_helper(resultobj
,o
);
26474 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26475 PyObject
*resultobj
;
26476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26477 wxTreeItemId
*arg2
= 0 ;
26478 bool arg3
= (bool) False
;
26480 PyObject
* obj0
= 0 ;
26481 PyObject
* obj1
= 0 ;
26482 PyObject
* obj2
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26490 if (arg2
== NULL
) {
26491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26495 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= result
;
26513 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26516 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26518 return Py_BuildValue((char *)"");
26520 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26521 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26526 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26531 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26533 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26540 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxWindow
*arg1
= (wxWindow
*) 0 ;
26543 int arg2
= (int) (int)-1 ;
26544 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26545 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26550 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26551 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26552 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26553 int arg8
= (int) 0 ;
26554 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26555 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26556 wxGenericDirCtrl
*result
;
26557 bool temp3
= False
;
26560 bool temp7
= False
;
26561 bool temp9
= False
;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 PyObject
* obj2
= 0 ;
26565 PyObject
* obj3
= 0 ;
26566 PyObject
* obj4
= 0 ;
26567 PyObject
* obj5
= 0 ;
26568 PyObject
* obj6
= 0 ;
26569 PyObject
* obj7
= 0 ;
26570 PyObject
* obj8
= 0 ;
26571 char *kwnames
[] = {
26572 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26579 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26585 arg3
= wxString_in_helper(obj2
);
26586 if (arg3
== NULL
) SWIG_fail
;
26593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26604 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26610 arg7
= wxString_in_helper(obj6
);
26611 if (arg7
== NULL
) SWIG_fail
;
26617 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26623 arg9
= wxString_in_helper(obj8
);
26624 if (arg9
== NULL
) SWIG_fail
;
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26632 wxPyEndAllowThreads(__tstate
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26635 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26666 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
;
26668 wxGenericDirCtrl
*result
;
26669 char *kwnames
[] = {
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26688 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26691 wxWindow
*arg2
= (wxWindow
*) 0 ;
26692 int arg3
= (int) (int)-1 ;
26693 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26694 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26695 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26696 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26697 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26698 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26699 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26700 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26701 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26702 int arg9
= (int) 0 ;
26703 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26704 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26706 bool temp4
= False
;
26709 bool temp8
= False
;
26710 bool temp10
= False
;
26711 PyObject
* obj0
= 0 ;
26712 PyObject
* obj1
= 0 ;
26713 PyObject
* obj2
= 0 ;
26714 PyObject
* obj3
= 0 ;
26715 PyObject
* obj4
= 0 ;
26716 PyObject
* obj5
= 0 ;
26717 PyObject
* obj6
= 0 ;
26718 PyObject
* obj7
= 0 ;
26719 PyObject
* obj8
= 0 ;
26720 PyObject
* obj9
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26727 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26730 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26731 if (PyErr_Occurred()) SWIG_fail
;
26736 arg4
= wxString_in_helper(obj3
);
26737 if (arg4
== NULL
) SWIG_fail
;
26744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26755 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26761 arg8
= wxString_in_helper(obj7
);
26762 if (arg8
== NULL
) SWIG_fail
;
26768 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26774 arg10
= wxString_in_helper(obj9
);
26775 if (arg10
== NULL
) SWIG_fail
;
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26817 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26820 wxString
*arg2
= 0 ;
26822 bool temp2
= False
;
26823 PyObject
* obj0
= 0 ;
26824 PyObject
* obj1
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self",(char *) "path", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26832 arg2
= wxString_in_helper(obj1
);
26833 if (arg2
== NULL
) SWIG_fail
;
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26858 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
;
26860 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26862 PyObject
* obj0
= 0 ;
26863 char *kwnames
[] = {
26864 (char *) "self", NULL
26867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26889 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
;
26891 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26892 wxString
*arg2
= 0 ;
26893 bool temp2
= False
;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 char *kwnames
[] = {
26897 (char *) "self",(char *) "path", NULL
26900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26903 arg2
= wxString_in_helper(obj1
);
26904 if (arg2
== NULL
) SWIG_fail
;
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 Py_INCREF(Py_None
); resultobj
= Py_None
;
26929 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26930 PyObject
*resultobj
;
26931 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26933 PyObject
* obj0
= 0 ;
26934 char *kwnames
[] = {
26935 (char *) "self", NULL
26938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26960 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26961 PyObject
*resultobj
;
26962 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26964 PyObject
* obj0
= 0 ;
26965 char *kwnames
[] = {
26966 (char *) "self", NULL
26969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26991 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
;
26993 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26994 wxString
*arg2
= 0 ;
26995 bool temp2
= False
;
26996 PyObject
* obj0
= 0 ;
26997 PyObject
* obj1
= 0 ;
26998 char *kwnames
[] = {
26999 (char *) "self",(char *) "path", NULL
27002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27005 arg2
= wxString_in_helper(obj1
);
27006 if (arg2
== NULL
) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 (arg1
)->SetPath((wxString
const &)*arg2
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 Py_INCREF(Py_None
); resultobj
= Py_None
;
27031 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27035 PyObject
* obj0
= 0 ;
27036 PyObject
* obj1
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self",(char *) "show", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27044 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 (arg1
)->ShowHidden(arg2
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 Py_INCREF(Py_None
); resultobj
= Py_None
;
27061 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (bool)(arg1
)->GetShowHidden();
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27086 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
;
27088 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27117 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
;
27119 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27120 wxString
*arg2
= 0 ;
27121 bool temp2
= False
;
27122 PyObject
* obj0
= 0 ;
27123 PyObject
* obj1
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self",(char *) "filter", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27131 arg2
= wxString_in_helper(obj1
);
27132 if (arg2
== NULL
) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 (arg1
)->SetFilter((wxString
const &)*arg2
);
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27142 Py_INCREF(Py_None
); resultobj
= Py_None
;
27157 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
;
27159 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27161 PyObject
* obj0
= 0 ;
27162 char *kwnames
[] = {
27163 (char *) "self", NULL
27166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 resultobj
= SWIG_PyObj_FromInt((int)result
);
27182 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
;
27184 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27186 PyObject
* obj0
= 0 ;
27187 PyObject
* obj1
= 0 ;
27188 char *kwnames
[] = {
27189 (char *) "self",(char *) "n", NULL
27192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27195 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 (arg1
)->SetFilterIndex(arg2
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 Py_INCREF(Py_None
); resultobj
= Py_None
;
27212 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27215 wxTreeItemId result
;
27216 PyObject
* obj0
= 0 ;
27217 char *kwnames
[] = {
27218 (char *) "self", NULL
27221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 result
= (arg1
)->GetRootId();
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27231 wxTreeItemId
* resultptr
;
27232 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27233 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27241 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
;
27243 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27244 wxPyTreeCtrl
*result
;
27245 PyObject
* obj0
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27256 wxPyEndAllowThreads(__tstate
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27260 resultobj
= wxPyMake_wxObject(result
);
27268 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
;
27270 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27271 wxDirFilterListCtrl
*result
;
27272 PyObject
* obj0
= 0 ;
27273 char *kwnames
[] = {
27274 (char *) "self", NULL
27277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27281 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27283 wxPyEndAllowThreads(__tstate
);
27284 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27293 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27294 PyObject
*resultobj
;
27295 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27296 wxTreeItemId arg2
;
27297 wxString
*arg3
= 0 ;
27299 wxTreeItemId result
;
27300 wxTreeItemId
*argp2
;
27301 bool temp3
= False
;
27303 PyObject
* obj0
= 0 ;
27304 PyObject
* obj1
= 0 ;
27305 PyObject
* obj2
= 0 ;
27306 char *kwnames
[] = {
27307 (char *) "self",(char *) "parentId",(char *) "path", NULL
27311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27313 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27316 arg3
= wxString_in_helper(obj2
);
27317 if (arg3
== NULL
) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27328 wxTreeItemId
* resultptr
;
27329 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27330 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
27333 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27334 resultobj
= t_output_helper(resultobj
,o
);
27350 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
;
27352 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27353 PyObject
* obj0
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 (arg1
)->DoResize();
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 Py_INCREF(Py_None
); resultobj
= Py_None
;
27374 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27377 PyObject
* obj0
= 0 ;
27378 char *kwnames
[] = {
27379 (char *) "self", NULL
27382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 (arg1
)->ReCreateTree();
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27391 Py_INCREF(Py_None
); resultobj
= Py_None
;
27398 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27401 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27403 return Py_BuildValue((char *)"");
27405 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27406 PyObject
*resultobj
;
27407 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27408 int arg2
= (int) (int)-1 ;
27409 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27410 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27411 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27412 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27413 long arg5
= (long) 0 ;
27414 wxDirFilterListCtrl
*result
;
27417 PyObject
* obj0
= 0 ;
27418 PyObject
* obj1
= 0 ;
27419 PyObject
* obj2
= 0 ;
27420 PyObject
* obj3
= 0 ;
27421 PyObject
* obj4
= 0 ;
27422 char *kwnames
[] = {
27423 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27430 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27437 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27443 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27448 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27466 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
;
27468 wxDirFilterListCtrl
*result
;
27469 char *kwnames
[] = {
27473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27488 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27491 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27492 int arg3
= (int) (int)-1 ;
27493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27497 long arg6
= (long) 0 ;
27501 PyObject
* obj0
= 0 ;
27502 PyObject
* obj1
= 0 ;
27503 PyObject
* obj2
= 0 ;
27504 PyObject
* obj3
= 0 ;
27505 PyObject
* obj4
= 0 ;
27506 PyObject
* obj5
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27516 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27534 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27552 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27553 PyObject
*resultobj
;
27554 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27555 wxString
*arg2
= 0 ;
27557 bool temp2
= False
;
27558 PyObject
* obj0
= 0 ;
27559 PyObject
* obj1
= 0 ;
27560 PyObject
* obj2
= 0 ;
27561 char *kwnames
[] = {
27562 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27568 arg2
= wxString_in_helper(obj1
);
27569 if (arg2
== NULL
) SWIG_fail
;
27573 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 Py_INCREF(Py_None
); resultobj
= Py_None
;
27598 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27601 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27603 return Py_BuildValue((char *)"");
27605 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27606 PyObject
*resultobj
;
27607 wxWindow
*arg1
= (wxWindow
*) 0 ;
27609 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27610 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27611 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27612 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27613 long arg5
= (long) 0 ;
27614 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27615 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27616 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27617 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27618 wxPyControl
*result
;
27621 bool temp7
= False
;
27622 PyObject
* obj0
= 0 ;
27623 PyObject
* obj1
= 0 ;
27624 PyObject
* obj2
= 0 ;
27625 PyObject
* obj3
= 0 ;
27626 PyObject
* obj4
= 0 ;
27627 PyObject
* obj5
= 0 ;
27628 PyObject
* obj6
= 0 ;
27629 char *kwnames
[] = {
27630 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27636 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27642 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27648 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27653 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27658 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27659 if (arg6
== NULL
) {
27660 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27665 arg7
= wxString_in_helper(obj6
);
27666 if (arg7
== NULL
) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27692 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
;
27694 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27695 PyObject
*arg2
= (PyObject
*) 0 ;
27696 PyObject
*arg3
= (PyObject
*) 0 ;
27697 PyObject
* obj0
= 0 ;
27698 PyObject
* obj1
= 0 ;
27699 PyObject
* obj2
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self",(char *) "self",(char *) "_class", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 Py_INCREF(Py_None
); resultobj
= Py_None
;
27722 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
;
27724 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 PyObject
* obj2
= 0 ;
27732 PyObject
* obj3
= 0 ;
27733 PyObject
* obj4
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27741 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27749 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27763 Py_INCREF(Py_None
); resultobj
= Py_None
;
27770 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27777 int arg6
= (int) wxSIZE_AUTO
;
27778 PyObject
* obj0
= 0 ;
27779 PyObject
* obj1
= 0 ;
27780 PyObject
* obj2
= 0 ;
27781 PyObject
* obj3
= 0 ;
27782 PyObject
* obj4
= 0 ;
27783 PyObject
* obj5
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27791 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27795 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27799 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27803 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27808 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 Py_INCREF(Py_None
); resultobj
= Py_None
;
27826 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27831 PyObject
* obj0
= 0 ;
27832 PyObject
* obj1
= 0 ;
27833 PyObject
* obj2
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self",(char *) "width",(char *) "height", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27841 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27845 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 Py_INCREF(Py_None
); resultobj
= Py_None
;
27862 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
;
27864 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27867 PyObject
* obj0
= 0 ;
27868 PyObject
* obj1
= 0 ;
27869 PyObject
* obj2
= 0 ;
27870 char *kwnames
[] = {
27871 (char *) "self",(char *) "x",(char *) "y", NULL
27874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27877 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27881 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27886 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27888 wxPyEndAllowThreads(__tstate
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27891 Py_INCREF(Py_None
); resultobj
= Py_None
;
27898 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27899 PyObject
*resultobj
;
27900 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27901 int *arg2
= (int *) 0 ;
27902 int *arg3
= (int *) 0 ;
27905 PyObject
* obj0
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self", NULL
27912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27921 Py_INCREF(Py_None
); resultobj
= Py_None
;
27923 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27924 resultobj
= t_output_helper(resultobj
,o
);
27927 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27928 resultobj
= t_output_helper(resultobj
,o
);
27936 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
;
27938 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27939 int *arg2
= (int *) 0 ;
27940 int *arg3
= (int *) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 Py_INCREF(Py_None
); resultobj
= Py_None
;
27961 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27962 resultobj
= t_output_helper(resultobj
,o
);
27965 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27966 resultobj
= t_output_helper(resultobj
,o
);
27974 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27977 int *arg2
= (int *) 0 ;
27978 int *arg3
= (int *) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self", NULL
27988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27997 Py_INCREF(Py_None
); resultobj
= Py_None
;
27999 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28000 resultobj
= t_output_helper(resultobj
,o
);
28003 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28004 resultobj
= t_output_helper(resultobj
,o
);
28012 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28016 PyObject
* obj0
= 0 ;
28017 char *kwnames
[] = {
28018 (char *) "self", NULL
28021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28031 wxSize
* resultptr
;
28032 resultptr
= new wxSize((wxSize
&) result
);
28033 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
28041 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28042 PyObject
*resultobj
;
28043 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28045 PyObject
* obj0
= 0 ;
28046 char *kwnames
[] = {
28047 (char *) "self", NULL
28050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28060 wxSize
* resultptr
;
28061 resultptr
= new wxSize((wxSize
&) result
);
28062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
28070 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "self", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 (arg1
)->base_InitDialog();
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 Py_INCREF(Py_None
); resultobj
= Py_None
;
28094 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
;
28096 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28098 PyObject
* obj0
= 0 ;
28099 char *kwnames
[] = {
28100 (char *) "self", NULL
28103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 result
= (bool)(arg1
)->base_TransferDataToWindow();
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28119 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28144 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
;
28146 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28148 PyObject
* obj0
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (bool)(arg1
)->base_Validate();
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28169 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28194 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28198 PyObject
* obj0
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28219 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
;
28221 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28223 PyObject
* obj0
= 0 ;
28224 char *kwnames
[] = {
28225 (char *) "self", NULL
28228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28238 wxSize
* resultptr
;
28239 resultptr
= new wxSize((wxSize
&) result
);
28240 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
28248 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
;
28250 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28251 wxWindow
*arg2
= (wxWindow
*) 0 ;
28252 PyObject
* obj0
= 0 ;
28253 PyObject
* obj1
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "self",(char *) "child", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 (arg1
)->base_AddChild(arg2
);
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 Py_INCREF(Py_None
); resultobj
= Py_None
;
28275 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28278 wxWindow
*arg2
= (wxWindow
*) 0 ;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 char *kwnames
[] = {
28282 (char *) "self",(char *) "child", NULL
28285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28287 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 (arg1
)->base_RemoveChild(arg2
);
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28295 Py_INCREF(Py_None
); resultobj
= Py_None
;
28302 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28305 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28307 return Py_BuildValue((char *)"");
28309 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28312 int arg2
= (int) 0 ;
28313 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28314 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28315 wxHelpEvent
*result
;
28317 PyObject
* obj0
= 0 ;
28318 PyObject
* obj1
= 0 ;
28319 PyObject
* obj2
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "type",(char *) "winid",(char *) "pt", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28327 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28333 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28340 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28345 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
28357 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28361 PyObject
* obj0
= 0 ;
28362 char *kwnames
[] = {
28363 (char *) "self", NULL
28366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28372 result
= (wxPoint
*) &_result_ref
;
28375 wxPyEndAllowThreads(__tstate
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
28385 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28386 PyObject
*resultobj
;
28387 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28388 wxPoint
*arg2
= 0 ;
28390 PyObject
* obj0
= 0 ;
28391 PyObject
* obj1
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "self",(char *) "pos", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28404 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 Py_INCREF(Py_None
); resultobj
= Py_None
;
28416 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
;
28418 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28420 PyObject
* obj0
= 0 ;
28421 char *kwnames
[] = {
28422 (char *) "self", NULL
28425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28431 result
= (wxString
*) &_result_ref
;
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28441 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28450 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
;
28452 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28453 wxString
*arg2
= 0 ;
28454 bool temp2
= False
;
28455 PyObject
* obj0
= 0 ;
28456 PyObject
* obj1
= 0 ;
28457 char *kwnames
[] = {
28458 (char *) "self",(char *) "link", NULL
28461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28464 arg2
= wxString_in_helper(obj1
);
28465 if (arg2
== NULL
) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 (arg1
)->SetLink((wxString
const &)*arg2
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 Py_INCREF(Py_None
); resultobj
= Py_None
;
28490 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28494 PyObject
* obj0
= 0 ;
28495 char *kwnames
[] = {
28496 (char *) "self", NULL
28499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28504 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28505 result
= (wxString
*) &_result_ref
;
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28513 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28515 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28524 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28527 wxString
*arg2
= 0 ;
28528 bool temp2
= False
;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 char *kwnames
[] = {
28532 (char *) "self",(char *) "target", NULL
28535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28538 arg2
= wxString_in_helper(obj1
);
28539 if (arg2
== NULL
) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 (arg1
)->SetTarget((wxString
const &)*arg2
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 Py_INCREF(Py_None
); resultobj
= Py_None
;
28564 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28567 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28569 return Py_BuildValue((char *)"");
28571 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
;
28573 wxWindow
*arg1
= (wxWindow
*) NULL
;
28574 bool arg2
= (bool) True
;
28575 wxContextHelp
*result
;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "window",(char *) "doNow", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28588 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28606 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
;
28608 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28609 PyObject
* obj0
= 0 ;
28610 char *kwnames
[] = {
28611 (char *) "self", NULL
28614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 Py_INCREF(Py_None
); resultobj
= Py_None
;
28630 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28633 wxWindow
*arg2
= (wxWindow
*) NULL
;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self",(char *) "window", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28660 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
;
28662 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28664 PyObject
* obj0
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (bool)(arg1
)->EndContextHelp();
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28685 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28688 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28690 return Py_BuildValue((char *)"");
28692 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
;
28694 wxWindow
*arg1
= (wxWindow
*) 0 ;
28695 int arg2
= (int) wxID_CONTEXT_HELP
;
28696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28700 long arg5
= (long) wxBU_AUTODRAW
;
28701 wxContextHelpButton
*result
;
28704 PyObject
* obj0
= 0 ;
28705 PyObject
* obj1
= 0 ;
28706 PyObject
* obj2
= 0 ;
28707 PyObject
* obj3
= 0 ;
28708 PyObject
* obj4
= 0 ;
28709 char *kwnames
[] = {
28710 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28717 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28730 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28735 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28741 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28753 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28756 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28758 return Py_BuildValue((char *)"");
28760 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
;
28762 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28763 wxHelpProvider
*result
;
28764 PyObject
* obj0
= 0 ;
28765 char *kwnames
[] = {
28766 (char *) "helpProvider", NULL
28769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28785 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxHelpProvider
*result
;
28788 char *kwnames
[] = {
28792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28807 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28810 wxWindow
*arg2
= (wxWindow
*) 0 ;
28812 PyObject
* obj0
= 0 ;
28813 PyObject
* obj1
= 0 ;
28814 char *kwnames
[] = {
28815 (char *) "self",(char *) "window", NULL
28818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28841 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
;
28843 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28844 wxWindow
*arg2
= (wxWindow
*) 0 ;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 char *kwnames
[] = {
28849 (char *) "self",(char *) "window", NULL
28852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= (bool)(arg1
)->ShowHelp(arg2
);
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28869 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28872 wxWindow
*arg2
= (wxWindow
*) 0 ;
28873 wxString
*arg3
= 0 ;
28874 bool temp3
= False
;
28875 PyObject
* obj0
= 0 ;
28876 PyObject
* obj1
= 0 ;
28877 PyObject
* obj2
= 0 ;
28878 char *kwnames
[] = {
28879 (char *) "self",(char *) "window",(char *) "text", NULL
28882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28886 arg3
= wxString_in_helper(obj2
);
28887 if (arg3
== NULL
) SWIG_fail
;
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28894 wxPyEndAllowThreads(__tstate
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28897 Py_INCREF(Py_None
); resultobj
= Py_None
;
28912 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28913 PyObject
*resultobj
;
28914 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28916 wxString
*arg3
= 0 ;
28917 bool temp3
= False
;
28918 PyObject
* obj0
= 0 ;
28919 PyObject
* obj1
= 0 ;
28920 PyObject
* obj2
= 0 ;
28921 char *kwnames
[] = {
28922 (char *) "self",(char *) "id",(char *) "text", NULL
28925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28928 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28932 arg3
= wxString_in_helper(obj2
);
28933 if (arg3
== NULL
) SWIG_fail
;
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 Py_INCREF(Py_None
); resultobj
= Py_None
;
28958 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28959 PyObject
*resultobj
;
28960 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28961 PyObject
* obj0
= 0 ;
28962 char *kwnames
[] = {
28963 (char *) "self", NULL
28966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 wxHelpProvider_Destroy(arg1
);
28972 wxPyEndAllowThreads(__tstate
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28975 Py_INCREF(Py_None
); resultobj
= Py_None
;
28982 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28985 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28987 return Py_BuildValue((char *)"");
28989 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
;
28991 wxSimpleHelpProvider
*result
;
28992 char *kwnames
[] = {
28996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29011 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29014 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29016 return Py_BuildValue((char *)"");
29018 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
;
29020 wxBitmap
*arg1
= 0 ;
29021 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29022 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29023 wxGenericDragImage
*result
;
29024 PyObject
* obj0
= 0 ;
29025 PyObject
* obj1
= 0 ;
29026 char *kwnames
[] = {
29027 (char *) "image",(char *) "cursor", NULL
29030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29032 if (arg1
== NULL
) {
29033 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29037 if (arg2
== NULL
) {
29038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29045 wxPyEndAllowThreads(__tstate
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29055 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29056 PyObject
*resultobj
;
29058 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29059 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29060 wxGenericDragImage
*result
;
29061 PyObject
* obj0
= 0 ;
29062 PyObject
* obj1
= 0 ;
29063 char *kwnames
[] = {
29064 (char *) "image",(char *) "cursor", NULL
29067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29069 if (arg1
== NULL
) {
29070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29074 if (arg2
== NULL
) {
29075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29092 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
;
29094 wxString
*arg1
= 0 ;
29095 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29096 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29097 wxGenericDragImage
*result
;
29098 bool temp1
= False
;
29099 PyObject
* obj0
= 0 ;
29100 PyObject
* obj1
= 0 ;
29101 char *kwnames
[] = {
29102 (char *) "str",(char *) "cursor", NULL
29105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29107 arg1
= wxString_in_helper(obj0
);
29108 if (arg1
== NULL
) SWIG_fail
;
29112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29113 if (arg2
== NULL
) {
29114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29121 wxPyEndAllowThreads(__tstate
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29139 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29140 PyObject
*resultobj
;
29141 wxPyTreeCtrl
*arg1
= 0 ;
29142 wxTreeItemId
*arg2
= 0 ;
29143 wxGenericDragImage
*result
;
29144 PyObject
* obj0
= 0 ;
29145 PyObject
* obj1
= 0 ;
29146 char *kwnames
[] = {
29147 (char *) "treeCtrl",(char *) "id", NULL
29150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29152 if (arg1
== NULL
) {
29153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29156 if (arg2
== NULL
) {
29157 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29173 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
;
29175 wxPyListCtrl
*arg1
= 0 ;
29177 wxGenericDragImage
*result
;
29178 PyObject
* obj0
= 0 ;
29179 PyObject
* obj1
= 0 ;
29180 char *kwnames
[] = {
29181 (char *) "listCtrl",(char *) "id", NULL
29184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29186 if (arg1
== NULL
) {
29187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29190 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
29207 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29210 PyObject
* obj0
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 Py_INCREF(Py_None
); resultobj
= Py_None
;
29231 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29234 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self",(char *) "bitmap", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 (arg1
)->SetBackingBitmap(arg2
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 Py_INCREF(Py_None
); resultobj
= Py_None
;
29258 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29261 wxPoint
*arg2
= 0 ;
29262 wxWindow
*arg3
= (wxWindow
*) 0 ;
29263 bool arg4
= (bool) False
;
29264 wxRect
*arg5
= (wxRect
*) NULL
;
29267 PyObject
* obj0
= 0 ;
29268 PyObject
* obj1
= 0 ;
29269 PyObject
* obj2
= 0 ;
29270 PyObject
* obj3
= 0 ;
29271 PyObject
* obj4
= 0 ;
29272 char *kwnames
[] = {
29273 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29282 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29285 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29290 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29306 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29307 PyObject
*resultobj
;
29308 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29309 wxPoint
*arg2
= 0 ;
29310 wxWindow
*arg3
= (wxWindow
*) 0 ;
29311 wxWindow
*arg4
= (wxWindow
*) 0 ;
29314 PyObject
* obj0
= 0 ;
29315 PyObject
* obj1
= 0 ;
29316 PyObject
* obj2
= 0 ;
29317 PyObject
* obj3
= 0 ;
29318 char *kwnames
[] = {
29319 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29328 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29329 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29344 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29348 PyObject
* obj0
= 0 ;
29349 char *kwnames
[] = {
29350 (char *) "self", NULL
29353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 result
= (bool)(arg1
)->EndDrag();
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29369 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29372 wxPoint
*arg2
= 0 ;
29375 PyObject
* obj0
= 0 ;
29376 PyObject
* obj1
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "self",(char *) "pt", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29401 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
;
29403 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29405 PyObject
* obj0
= 0 ;
29406 char *kwnames
[] = {
29407 (char *) "self", NULL
29410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29414 result
= (bool)(arg1
)->Show();
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29426 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
;
29428 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29430 PyObject
* obj0
= 0 ;
29431 char *kwnames
[] = {
29432 (char *) "self", NULL
29435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29439 result
= (bool)(arg1
)->Hide();
29441 wxPyEndAllowThreads(__tstate
);
29442 if (PyErr_Occurred()) SWIG_fail
;
29444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
;
29453 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29454 wxPoint
*arg2
= 0 ;
29457 PyObject
* obj0
= 0 ;
29458 PyObject
* obj1
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self",(char *) "pos", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29467 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29471 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29473 wxPyEndAllowThreads(__tstate
);
29474 if (PyErr_Occurred()) SWIG_fail
;
29477 wxRect
* resultptr
;
29478 resultptr
= new wxRect((wxRect
&) result
);
29479 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
29487 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
;
29489 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29491 wxPoint
*arg3
= 0 ;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 PyObject
* obj2
= 0 ;
29497 char *kwnames
[] = {
29498 (char *) "self",(char *) "dc",(char *) "pos", NULL
29501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29504 if (arg2
== NULL
) {
29505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29513 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29525 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29526 PyObject
*resultobj
;
29527 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29529 wxMemoryDC
*arg3
= 0 ;
29535 PyObject
* obj0
= 0 ;
29536 PyObject
* obj1
= 0 ;
29537 PyObject
* obj2
= 0 ;
29538 PyObject
* obj3
= 0 ;
29539 PyObject
* obj4
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29547 if (arg2
== NULL
) {
29548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29550 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29551 if (arg3
== NULL
) {
29552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29556 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29560 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29576 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29579 wxPoint
*arg2
= 0 ;
29580 wxPoint
*arg3
= 0 ;
29586 PyObject
* obj0
= 0 ;
29587 PyObject
* obj1
= 0 ;
29588 PyObject
* obj2
= 0 ;
29589 PyObject
* obj3
= 0 ;
29590 PyObject
* obj4
= 0 ;
29591 char *kwnames
[] = {
29592 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29603 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29606 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29610 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29627 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29630 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29632 return Py_BuildValue((char *)"");
29634 static PyMethodDef SwigMethods
[] = {
29635 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29643 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29658 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29669 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29678 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29696 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29709 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29713 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29719 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29723 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29730 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29752 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29761 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29762 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29763 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29791 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29805 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29847 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29850 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29852 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29863 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29875 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29886 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29890 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29907 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29913 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29938 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29942 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29945 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29965 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29971 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29981 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29983 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29988 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29990 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29995 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30000 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30030 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30075 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30080 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30092 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30144 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30171 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30196 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30241 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30253 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30261 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30268 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30284 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30360 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30382 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30387 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30408 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30416 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30421 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30423 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30431 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30433 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30455 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30457 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30458 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30460 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30461 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30463 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30464 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30466 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30467 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30469 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30470 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30472 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30473 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30475 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30476 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30478 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30479 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30481 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30482 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30484 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30485 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30487 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30490 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30491 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30493 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30494 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30496 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30497 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30499 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30500 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30502 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30503 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30505 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30506 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30508 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30509 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30511 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30512 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30514 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30515 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30517 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30518 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30520 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30521 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30523 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30524 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30526 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30527 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30529 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30530 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30532 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30533 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30535 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30536 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30538 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30539 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30541 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30542 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30544 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30545 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30547 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30548 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30550 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30551 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30553 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30554 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30556 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30557 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30559 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30560 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30562 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30563 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30565 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30566 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30568 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30569 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30571 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30572 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30574 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30575 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30577 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30578 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30580 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30581 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30583 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30584 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30586 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30587 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30589 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30590 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30592 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30593 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30595 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30596 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30598 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30601 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30602 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30604 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30605 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30607 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30608 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30610 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30611 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30613 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30614 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30616 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30617 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30619 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30620 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30622 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30623 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30625 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30626 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30628 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30629 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30631 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30632 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30634 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30635 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30637 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30638 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30640 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30641 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30643 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30644 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30646 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30647 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30649 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30650 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30652 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30653 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30655 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30656 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30658 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30659 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30661 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30662 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30664 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30665 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30667 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30668 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30670 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30671 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30673 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30674 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30676 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30677 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30679 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30680 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30682 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30683 return (void *)((wxControl
*) ((wxGauge
*) x
));
30685 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30686 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30688 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30689 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30691 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30692 return (void *)((wxControl
*) ((wxButton
*) x
));
30694 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30695 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30697 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30698 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30700 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30701 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30703 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30704 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30706 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30707 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30709 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30710 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30712 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30713 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30715 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30716 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30718 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30719 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30721 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30722 return (void *)((wxControl
*) ((wxSlider
*) x
));
30724 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30725 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30727 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30728 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30730 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30731 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30733 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30734 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30736 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30737 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30739 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
30740 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
30742 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30743 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30745 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30746 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30748 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30749 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30751 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30752 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30754 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30755 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30757 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30758 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30760 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30761 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30763 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30766 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30767 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30769 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30770 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30772 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30773 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30775 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30778 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30779 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30781 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30784 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30787 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30788 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30790 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30791 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30793 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30796 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30797 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30799 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30802 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30805 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30806 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30808 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30809 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30811 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30812 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30814 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30815 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30817 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30818 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30820 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30821 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30823 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30826 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30827 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30829 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30830 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30832 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30835 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30838 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30841 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30844 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30847 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30850 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30853 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30856 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30859 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30862 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30865 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30868 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30871 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30872 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30874 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30877 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30880 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30881 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30883 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30884 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30886 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30887 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30889 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30890 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30892 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30893 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30895 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30896 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30898 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30899 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30901 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30902 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30904 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30905 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30907 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30908 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30910 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30911 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30913 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30914 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30916 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30917 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30919 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30920 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30922 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30925 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30926 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30928 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30929 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30931 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30932 return (void *)((wxObject
*) ((wxSizer
*) x
));
30934 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30935 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30937 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30940 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30943 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30946 static void *_p_wxEventTo_p_wxObject(void *x
) {
30947 return (void *)((wxObject
*) ((wxEvent
*) x
));
30949 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30950 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30952 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30953 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30955 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30956 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30958 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30961 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30964 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30967 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30968 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30970 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30971 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30973 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30974 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30976 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30977 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30979 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30980 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30982 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30983 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30985 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30988 static void *_p_wxControlTo_p_wxObject(void *x
) {
30989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30991 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30994 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30997 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31000 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31003 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31006 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31007 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31009 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31012 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31013 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31015 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31016 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31018 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31021 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31024 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31027 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31028 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31030 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31031 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31033 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31036 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31037 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31039 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31042 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31045 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31046 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31048 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31049 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31051 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31054 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31055 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31057 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31058 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31060 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31061 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31063 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31064 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31066 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31067 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31069 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31070 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31072 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31075 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31076 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31078 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31079 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31081 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31082 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31084 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31085 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31087 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31088 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31090 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31091 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31093 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31094 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31096 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31097 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31099 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31100 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31102 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31103 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31105 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31108 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31109 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31111 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31114 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31115 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31117 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31118 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31120 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31123 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31126 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31129 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31132 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31135 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31138 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31141 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31142 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31144 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31147 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31150 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31153 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31156 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31157 return (void *)((wxObject
*) ((wxListItem
*) x
));
31159 static void *_p_wxImageTo_p_wxObject(void *x
) {
31160 return (void *)((wxObject
*) ((wxImage
*) x
));
31162 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31163 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31165 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31166 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31168 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31169 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31171 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31172 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31174 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31177 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31178 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31180 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31181 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31183 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31184 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31186 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31187 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31189 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31190 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31192 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31193 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31195 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31196 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31198 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31201 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31202 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31204 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31207 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31208 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31210 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31211 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31213 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31214 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31216 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31217 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31219 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31220 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31222 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31225 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31228 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31229 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31231 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31234 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31235 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31237 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31238 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31240 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31243 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31246 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31247 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31249 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31252 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31255 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31256 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31258 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31259 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31261 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31262 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31264 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31265 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31267 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31268 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31270 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31271 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31273 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31274 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31276 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31277 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31279 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31280 return (void *)((wxWindow
*) ((wxControl
*) x
));
31282 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31283 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31285 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31286 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31288 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31289 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31291 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31292 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31294 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31295 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31297 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31298 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31300 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31301 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31303 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31304 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31306 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31307 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31309 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31310 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31312 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31313 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31315 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31316 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31318 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31319 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31321 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31322 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31324 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31325 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31327 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31328 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31330 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31331 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31333 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31334 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31336 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31337 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31339 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31340 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31342 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31343 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31345 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31346 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31348 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31349 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31351 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31352 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31354 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31355 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31357 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31358 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31360 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31361 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31363 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31364 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31366 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31367 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31369 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31370 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31372 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31373 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31375 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31376 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31378 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31379 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31381 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31382 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31384 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31385 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31387 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31388 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31390 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31391 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31393 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31394 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31396 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31397 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31399 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31400 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31402 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31403 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31405 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31406 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31408 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31409 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31411 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31412 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31414 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
31415 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
31417 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31418 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31420 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31421 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31423 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31424 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31426 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31427 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31429 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31430 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31432 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31433 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}};
31434 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}};
31435 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31436 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31437 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}};
31438 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31439 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31440 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31441 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}};
31442 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31443 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
31444 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31445 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}};
31446 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31447 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31448 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
31449 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31450 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31451 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31452 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
31453 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31454 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31455 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31456 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31457 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31458 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31459 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31460 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31461 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31462 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31463 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}};
31464 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31465 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31466 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31467 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31468 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31469 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31470 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31471 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31472 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}};
31473 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31474 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
31475 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31476 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}};
31477 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31478 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}};
31479 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
31480 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31481 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31482 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31483 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31484 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31485 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31486 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31487 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31488 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31489 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31490 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31491 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31492 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31493 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31494 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
31495 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31496 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31497 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31498 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31499 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31500 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}};
31501 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31502 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31503 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}};
31504 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31505 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31506 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31507 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31508 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}};
31509 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31510 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
31511 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31512 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31513 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31514 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31515 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
31517 static swig_type_info
*swig_types_initial
[] = {
31518 _swigt__p_wxTextUrlEvent
,
31519 _swigt__p_wxBookCtrlEvent
,
31521 _swigt__p_wxCheckBox
,
31522 _swigt__p_wxPyTreeCtrl
,
31524 _swigt__p_wxGenericDirCtrl
,
31526 _swigt__p_wxPyTreeItemData
,
31527 _swigt__p_wxItemContainer
,
31528 _swigt__p_wxDirFilterListCtrl
,
31529 _swigt__p_wxPyListCtrl
,
31530 _swigt__p_wxStaticLine
,
31531 _swigt__p_wxControl
,
31532 _swigt__p_wxPyControl
,
31534 _swigt__p_wxToolBarBase
,
31536 _swigt__p_wxToggleButton
,
31537 _swigt__p_wxRadioButton
,
31538 _swigt__p_wxChoice
,
31539 _swigt__p_wxMemoryDC
,
31540 _swigt__p_wxListItemAttr
,
31545 _swigt__p_wxListView
,
31547 _swigt__p_wxTextCtrl
,
31548 _swigt__p_wxNotebook
,
31549 _swigt__p_wxNotifyEvent
,
31550 _swigt__p_wxArrayString
,
31551 _swigt__p_wxListbook
,
31552 _swigt__p_wxStaticBitmap
,
31553 _swigt__p_wxSlider
,
31554 _swigt__p_wxStaticBox
,
31555 _swigt__p_wxArrayInt
,
31556 _swigt__p_wxContextHelp
,
31558 _swigt__p_wxEvtHandler
,
31559 _swigt__p_wxListEvent
,
31560 _swigt__p_wxListBox
,
31561 _swigt__p_wxCheckListBox
,
31562 _swigt__p_wxBookCtrl
,
31563 _swigt__p_wxSpinButton
,
31564 _swigt__p_wxButton
,
31565 _swigt__p_wxBitmapButton
,
31567 _swigt__p_wxContextHelpButton
,
31568 _swigt__p_wxRadioBox
,
31569 _swigt__p_wxScrollBar
,
31571 _swigt__p_wxTreeItemId
,
31572 _swigt__p_wxComboBox
,
31573 _swigt__p_wxHelpEvent
,
31574 _swigt__p_wxListItem
,
31575 _swigt__p_wxNotebookSizer
,
31576 _swigt__p_wxSpinEvent
,
31577 _swigt__p_wxGenericDragImage
,
31578 _swigt__p_wxSpinCtrl
,
31579 _swigt__p_wxImageList
,
31580 _swigt__p_wxHelpProvider
,
31581 _swigt__p_wxTextAttr
,
31582 _swigt__p_wxSimpleHelpProvider
,
31584 _swigt__p_wxListbookEvent
,
31585 _swigt__p_wxNotebookEvent
,
31586 _swigt__p_wxObject
,
31587 _swigt__p_wxCursor
,
31588 _swigt__p_wxKeyEvent
,
31589 _swigt__p_wxWindow
,
31590 _swigt__p_wxString
,
31591 _swigt__p_wxBitmap
,
31592 _swigt__p_wxTreeEvent
,
31593 _swigt__p_wxMouseEvent
,
31594 _swigt__p_wxCommandEvent
,
31595 _swigt__p_wxStaticText
,
31596 _swigt__p_wxControlWithItems
,
31597 _swigt__p_wxToolBarToolBase
,
31598 _swigt__p_wxColour
,
31599 _swigt__p_wxToolBar
,
31600 _swigt__p_wxBookCtrlSizer
,
31601 _swigt__p_wxValidator
,
31606 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31608 static swig_const_info swig_const_table
[] = {
31618 SWIGEXPORT(void) SWIG_init(void) {
31619 static PyObject
*SWIG_globals
= 0;
31620 static int typeinit
= 0;
31623 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31624 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31625 d
= PyModule_GetDict(m
);
31628 for (i
= 0; swig_types_initial
[i
]; i
++) {
31629 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31633 SWIG_InstallConstants(d
,swig_const_table
);
31635 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31636 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31637 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31638 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31639 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31640 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31641 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31642 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31643 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31644 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31645 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31646 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31647 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31648 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31649 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31650 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31651 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31652 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31653 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31654 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31655 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31656 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31657 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31658 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31659 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31660 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31661 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31662 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31663 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31664 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31665 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31666 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31667 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31668 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31669 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31670 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31671 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31672 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31673 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31674 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31675 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31676 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31677 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31678 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31679 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31680 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31681 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31682 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31683 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31684 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31685 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31686 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31687 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31688 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31689 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31690 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31691 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31692 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31693 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31694 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31695 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31696 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31697 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31698 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31699 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31700 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31701 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31702 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31703 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31704 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31705 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31706 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31707 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31708 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31709 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31710 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31711 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31712 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31713 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31714 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31715 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31716 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31717 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31718 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31719 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31720 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31721 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31722 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31723 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31724 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31725 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31726 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31727 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31728 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31729 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31730 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31731 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31732 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31733 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31734 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31735 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31736 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31737 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31738 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31739 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31740 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31741 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31742 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31743 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31744 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31745 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31746 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31747 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31748 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31749 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31750 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31751 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31752 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31753 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31754 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31755 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31756 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31757 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31758 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31759 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31760 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31761 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31762 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31763 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31764 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31765 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31766 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31767 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31768 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31769 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31770 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31771 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31772 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31773 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31774 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31775 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31776 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31777 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31778 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31779 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31780 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31781 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31782 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31783 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31784 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31785 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31786 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31787 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31788 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31789 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31790 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31791 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31792 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31793 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31794 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31795 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31796 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31797 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31798 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31799 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31800 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31801 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31802 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31803 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31804 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31805 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31806 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31807 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31808 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31809 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31810 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31811 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31812 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31813 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31814 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31815 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31816 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31817 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31818 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31819 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31820 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31821 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31822 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31823 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31824 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31825 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31826 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31827 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31828 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31829 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31830 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31831 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31832 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31833 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31834 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31835 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31836 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31837 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31838 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31839 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31840 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31841 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31842 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31843 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31844 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31845 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31847 // Map renamed classes back to their common name for OOR
31848 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31850 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31851 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31852 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31853 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31854 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31855 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31856 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31857 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31858 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31859 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31860 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31861 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31862 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31863 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31864 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31865 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31866 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31867 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31868 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31869 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31870 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31871 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31872 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31873 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31874 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31875 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31876 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31877 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31878 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31879 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31880 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31881 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31882 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31883 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31884 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31885 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31886 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31887 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31888 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31889 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31890 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31891 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31892 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31893 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31894 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31895 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31896 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31897 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31898 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31899 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31900 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31901 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31902 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31903 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31904 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31905 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31907 // Map renamed classes back to their common name for OOR
31908 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31909 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31911 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31912 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31913 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31914 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31915 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31916 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31917 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31918 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31919 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31920 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31922 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");