1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
327 #define SWIG_name "_controls"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
371 static const wxString
wxPyEmptyString(wxEmptyString
);
372 static const wxString
wxPyControlNameStr(wxControlNameStr
);
374 const wxArrayString wxPyEmptyStringArray
;
376 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
379 SWIG_PyObj_AsInt(PyObject
*obj
)
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
387 SWIG_PyObj_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
395 SWIG_PyObj_AsBool(PyObject
*obj
)
397 return PyObject_IsTrue(obj
) ? true : false;
400 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
401 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
402 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
403 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
404 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
405 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
407 #include <wx/checklst.h>
410 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
411 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
413 wxPyClientData
* data
= new wxPyClientData(clientData
);
414 self
->Insert(item
, pos
, data
);
416 self
->Insert(item
, pos
);
418 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
420 self
->GetSelections(lst
);
421 PyObject
*tup
= PyTuple_New(lst
.GetCount());
422 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
423 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
427 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
429 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
430 self
->GetItem(item
)->SetTextColour(c
);
433 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
435 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
436 self
->GetItem(item
)->SetBackgroundColour(c
);
439 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
441 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
442 self
->GetItem(item
)->SetFont(f
);
445 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
447 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
453 } else if (target
== Py_None
) {
457 if (!PyTuple_Check(target
)) {
459 target
= PyTuple_New(1);
460 PyTuple_SetItem(target
, 0, o2
);
463 PyTuple_SetItem(o3
, 0, o
);
466 target
= PySequence_Concat(o2
, o3
);
473 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
474 self
->AppendText(text
);
476 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
477 return self
->GetValue().Mid(from
, to
- from
);
479 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
480 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
481 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
482 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
483 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
485 #include <wx/slider.h>
488 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
489 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
491 #if defined(__WXMAC__) || defined(__WXX11__)
492 // implement dummy classes and such for wxMac
494 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
496 class wxToggleButton
: public wxControl
499 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
500 const wxPoint
&, const wxSize
&, long,
501 const wxValidator
&, const wxString
&)
502 { wxPyRaiseNotImplemented(); }
505 { wxPyRaiseNotImplemented(); }
509 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
511 SWIGSTATIC(PyObject
* )
512 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
514 return (value
> (unsigned long)(LONG_MAX
)) ?
515 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
519 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
520 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
522 Py_INCREF(udata
->m_obj
);
529 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
530 self
->SetClientData(new wxPyUserData(clientData
));
532 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
533 wxPyUserData
* udata
= NULL
;
534 if (clientData
&& clientData
!= Py_None
)
535 udata
= new wxPyUserData(clientData
);
536 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
537 shortHelp
, longHelp
, udata
);
539 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
540 wxPyUserData
* udata
= NULL
;
541 if (clientData
&& clientData
!= Py_None
)
542 udata
= new wxPyUserData(clientData
);
543 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
544 shortHelp
, longHelp
, udata
);
546 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
547 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
549 Py_INCREF(udata
->m_obj
);
556 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
557 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
560 #include <wx/listctrl.h>
563 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
564 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
565 // Python aware sorting function for wxPyListCtrl
566 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
568 PyObject
* func
= (PyObject
*)funcPtr
;
569 wxPyBeginBlockThreads();
571 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
572 PyObject
* result
= PyEval_CallObject(func
, args
);
575 retval
= PyInt_AsLong(result
);
579 wxPyEndBlockThreads();
583 // C++ Version of a Python aware class
584 class wxPyListCtrl
: public wxListCtrl
{
585 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
587 wxPyListCtrl() : wxListCtrl() {}
588 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
592 const wxValidator
& validator
,
593 const wxString
& name
) :
594 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
596 bool Create(wxWindow
* parent
, wxWindowID id
,
600 const wxValidator
& validator
,
601 const wxString
& name
) {
602 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
605 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
606 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
607 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
612 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
614 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
615 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
616 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
618 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
620 item
.SetMask( wxLIST_MASK_STATE
|
628 if (self
->GetColumn(col
, item
))
629 return new wxListItem(item
);
633 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
634 wxListItem
* info
= new wxListItem
;
635 info
->m_itemId
= itemId
;
637 info
->m_mask
= 0xFFFF;
638 self
->GetItem(*info
);
641 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
643 self
->GetItemPosition(item
, pos
);
646 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
648 self
->GetItemRect(item
, rect
, code
);
651 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
652 if (!PyCallable_Check(func
))
654 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
656 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
660 return (wxWindow
*)self
->m_mainWin
;
664 #include <wx/treectrl.h>
665 #include "wx/wxPython/pytree.h"
667 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
668 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
669 if (!other
) return False
;
670 return *self
== *other
;
672 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
673 if (!other
) return True
;
674 return *self
!= *other
;
676 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
677 // C++ version of Python aware wxTreeCtrl
678 class wxPyTreeCtrl
: public wxTreeCtrl
{
679 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
681 wxPyTreeCtrl() : wxTreeCtrl() {}
682 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
686 const wxValidator
& validator
,
687 const wxString
& name
) :
688 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
690 bool Create(wxWindow
*parent
, wxWindowID id
,
694 const wxValidator
& validator
,
695 const wxString
& name
) {
696 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
700 int OnCompareItems(const wxTreeItemId
& item1
,
701 const wxTreeItemId
& item2
) {
704 wxPyBeginBlockThreads();
705 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
706 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
707 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
708 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
712 wxPyEndBlockThreads();
714 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
720 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
724 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
727 SWIGSTATIC(unsigned int)
728 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
730 return numeric_cast(unsigned int,
731 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
734 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
735 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
737 data
= new wxPyTreeItemData();
738 data
->SetId(item
); // set the id
739 self
->SetItemData(item
, data
);
743 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
744 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
746 data
= new wxPyTreeItemData();
747 data
->SetId(item
); // set the id
748 self
->SetItemData(item
, data
);
750 return data
->GetData();
752 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
753 data
->SetId(item
); // set the id
754 self
->SetItemData(item
, data
);
756 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
757 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
759 data
= new wxPyTreeItemData(obj
);
760 data
->SetId(item
); // set the id
761 self
->SetItemData(item
, data
);
765 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
766 wxPyBeginBlockThreads();
767 PyObject
* rval
= PyList_New(0);
768 wxArrayTreeItemIds array
;
770 num
= self
->GetSelections(array
);
771 for (x
=0; x
< num
; x
++) {
772 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
773 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
774 PyList_Append(rval
, item
);
776 wxPyEndBlockThreads();
779 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
781 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
782 wxPyBeginBlockThreads();
783 PyObject
* tup
= PyTuple_New(2);
784 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
785 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
786 wxPyEndBlockThreads();
789 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
790 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
791 wxPyBeginBlockThreads();
792 PyObject
* tup
= PyTuple_New(2);
793 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
794 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
795 wxPyEndBlockThreads();
798 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
800 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
801 wxPyBeginBlockThreads();
802 wxRect
* r
= new wxRect(rect
);
803 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
804 wxPyEndBlockThreads();
810 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
811 // C++ version of Python aware wxControl
812 class wxPyControl
: public wxControl
814 DECLARE_DYNAMIC_CLASS(wxPyControl
)
816 wxPyControl() : wxControl() {}
817 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
818 const wxPoint
& pos
= wxDefaultPosition
,
819 const wxSize
& size
= wxDefaultSize
,
821 const wxValidator
& validator
=wxDefaultValidator
,
822 const wxString
& name
= wxPyControlNameStr
)
823 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
826 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
827 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
828 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
829 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
831 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
832 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
835 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
836 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
838 DEC_PYCALLBACK__(InitDialog
);
839 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
840 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
841 DEC_PYCALLBACK_BOOL_(Validate
);
843 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
844 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
845 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
847 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
848 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
853 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
855 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
856 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
857 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
858 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
860 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
861 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
862 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
864 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
865 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
867 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
868 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
869 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
870 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
872 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
873 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
874 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
876 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
877 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
882 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
884 #include <wx/generic/dragimgg.h>
889 static int _wrap_ButtonNameStr_set(PyObject
*) {
890 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
895 static PyObject
*_wrap_ButtonNameStr_get() {
900 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
902 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
909 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 wxWindow
*arg1
= (wxWindow
*) 0 ;
914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
918 long arg6
= (long) 0 ;
919 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
920 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
921 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
922 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
928 PyObject
* obj0
= 0 ;
929 PyObject
* obj1
= 0 ;
930 PyObject
* obj2
= 0 ;
931 PyObject
* obj3
= 0 ;
932 PyObject
* obj4
= 0 ;
933 PyObject
* obj5
= 0 ;
934 PyObject
* obj6
= 0 ;
935 PyObject
* obj7
= 0 ;
937 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
943 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
944 if (PyErr_Occurred()) SWIG_fail
;
947 arg3
= wxString_in_helper(obj2
);
948 if (arg3
== NULL
) SWIG_fail
;
954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
965 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
966 if (PyErr_Occurred()) SWIG_fail
;
970 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
977 arg8
= wxString_in_helper(obj7
);
978 if (arg8
== NULL
) SWIG_fail
;
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) SWIG_fail
;
990 resultobj
= wxPyMake_wxObject(result
);
1014 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
*resultobj
;
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1024 result
= (wxButton
*)new wxButton();
1026 wxPyEndAllowThreads(__tstate
);
1027 if (PyErr_Occurred()) SWIG_fail
;
1030 resultobj
= wxPyMake_wxObject(result
);
1038 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
*resultobj
;
1040 wxButton
*arg1
= (wxButton
*) 0 ;
1041 wxWindow
*arg2
= (wxWindow
*) 0 ;
1043 wxString
*arg4
= 0 ;
1044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1046 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1047 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1048 long arg7
= (long) 0 ;
1049 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1050 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1051 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1052 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1054 bool temp4
= False
;
1057 bool temp9
= False
;
1058 PyObject
* obj0
= 0 ;
1059 PyObject
* obj1
= 0 ;
1060 PyObject
* obj2
= 0 ;
1061 PyObject
* obj3
= 0 ;
1062 PyObject
* obj4
= 0 ;
1063 PyObject
* obj5
= 0 ;
1064 PyObject
* obj6
= 0 ;
1065 PyObject
* obj7
= 0 ;
1066 PyObject
* obj8
= 0 ;
1068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1075 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1079 arg4
= wxString_in_helper(obj3
);
1080 if (arg4
== NULL
) SWIG_fail
;
1086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1097 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1102 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1109 arg9
= wxString_in_helper(obj8
);
1110 if (arg9
== NULL
) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1144 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1146 wxButton
*arg1
= (wxButton
*) 0 ;
1147 PyObject
* obj0
= 0 ;
1149 (char *) "self", NULL
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 (arg1
)->SetDefault();
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1161 Py_INCREF(Py_None
); resultobj
= Py_None
;
1168 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
*resultobj
;
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 result
= wxButton::GetDefaultSize();
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) SWIG_fail
;
1185 resultptr
= new wxSize((wxSize
&) result
);
1186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1194 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1197 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1199 return Py_BuildValue((char *)"");
1201 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
*resultobj
;
1203 wxWindow
*arg1
= (wxWindow
*) 0 ;
1205 wxBitmap
*arg3
= 0 ;
1206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1210 long arg6
= (long) wxBU_AUTODRAW
;
1211 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1212 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1213 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1215 wxBitmapButton
*result
;
1218 bool temp8
= False
;
1219 PyObject
* obj0
= 0 ;
1220 PyObject
* obj1
= 0 ;
1221 PyObject
* obj2
= 0 ;
1222 PyObject
* obj3
= 0 ;
1223 PyObject
* obj4
= 0 ;
1224 PyObject
* obj5
= 0 ;
1225 PyObject
* obj6
= 0 ;
1226 PyObject
* obj7
= 0 ;
1228 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1235 if (PyErr_Occurred()) SWIG_fail
;
1237 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1255 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1260 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1267 arg8
= wxString_in_helper(obj7
);
1268 if (arg8
== NULL
) SWIG_fail
;
1273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1274 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1276 wxPyEndAllowThreads(__tstate
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1280 resultobj
= wxPyMake_wxObject(result
);
1296 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
*resultobj
;
1298 wxBitmapButton
*result
;
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 result
= (wxBitmapButton
*)new wxBitmapButton();
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1312 resultobj
= wxPyMake_wxObject(result
);
1320 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1323 wxWindow
*arg2
= (wxWindow
*) 0 ;
1325 wxBitmap
*arg4
= 0 ;
1326 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1327 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1328 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1329 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1330 long arg7
= (long) wxBU_AUTODRAW
;
1331 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1332 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1333 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1334 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1338 bool temp9
= False
;
1339 PyObject
* obj0
= 0 ;
1340 PyObject
* obj1
= 0 ;
1341 PyObject
* obj2
= 0 ;
1342 PyObject
* obj3
= 0 ;
1343 PyObject
* obj4
= 0 ;
1344 PyObject
* obj5
= 0 ;
1345 PyObject
* obj6
= 0 ;
1346 PyObject
* obj7
= 0 ;
1347 PyObject
* obj8
= 0 ;
1349 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1356 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1366 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1372 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1377 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1378 if (PyErr_Occurred()) SWIG_fail
;
1382 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1384 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1389 arg9
= wxString_in_helper(obj8
);
1390 if (arg9
== NULL
) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1416 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
*resultobj
;
1418 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1420 PyObject
* obj0
= 0 ;
1422 (char *) "self", NULL
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 result
= (arg1
)->GetBitmapLabel();
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) SWIG_fail
;
1435 wxBitmap
* resultptr
;
1436 resultptr
= new wxBitmap((wxBitmap
&) result
);
1437 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1445 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
*resultobj
;
1447 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1449 PyObject
* obj0
= 0 ;
1451 (char *) "self", NULL
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 result
= (arg1
)->GetBitmapDisabled();
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) SWIG_fail
;
1464 wxBitmap
* resultptr
;
1465 resultptr
= new wxBitmap((wxBitmap
&) result
);
1466 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1474 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
*resultobj
;
1476 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1478 PyObject
* obj0
= 0 ;
1480 (char *) "self", NULL
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (arg1
)->GetBitmapFocus();
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1493 wxBitmap
* resultptr
;
1494 resultptr
= new wxBitmap((wxBitmap
&) result
);
1495 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1503 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
*resultobj
;
1505 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1507 PyObject
* obj0
= 0 ;
1509 (char *) "self", NULL
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 result
= (arg1
)->GetBitmapSelected();
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1522 wxBitmap
* resultptr
;
1523 resultptr
= new wxBitmap((wxBitmap
&) result
);
1524 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1532 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1534 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1535 wxBitmap
*arg2
= 0 ;
1536 PyObject
* obj0
= 0 ;
1537 PyObject
* obj1
= 0 ;
1539 (char *) "self",(char *) "bitmap", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1550 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1552 wxPyEndAllowThreads(__tstate
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1555 Py_INCREF(Py_None
); resultobj
= Py_None
;
1562 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1565 wxBitmap
*arg2
= 0 ;
1566 PyObject
* obj0
= 0 ;
1567 PyObject
* obj1
= 0 ;
1569 (char *) "self",(char *) "bitmap", NULL
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1585 Py_INCREF(Py_None
); resultobj
= Py_None
;
1592 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1595 wxBitmap
*arg2
= 0 ;
1596 PyObject
* obj0
= 0 ;
1597 PyObject
* obj1
= 0 ;
1599 (char *) "self",(char *) "bitmap", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1606 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1615 Py_INCREF(Py_None
); resultobj
= Py_None
;
1622 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1625 wxBitmap
*arg2
= 0 ;
1626 PyObject
* obj0
= 0 ;
1627 PyObject
* obj1
= 0 ;
1629 (char *) "self",(char *) "bitmap", NULL
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1645 Py_INCREF(Py_None
); resultobj
= Py_None
;
1652 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1657 PyObject
* obj0
= 0 ;
1658 PyObject
* obj1
= 0 ;
1659 PyObject
* obj2
= 0 ;
1661 (char *) "self",(char *) "x",(char *) "y", NULL
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1671 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 (arg1
)->SetMargins(arg2
,arg3
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1681 Py_INCREF(Py_None
); resultobj
= Py_None
;
1688 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1692 PyObject
* obj0
= 0 ;
1694 (char *) "self", NULL
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= SWIG_PyObj_FromInt((int)result
);
1713 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1717 PyObject
* obj0
= 0 ;
1719 (char *) "self", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1731 resultobj
= SWIG_PyObj_FromInt((int)result
);
1738 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1741 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1743 return Py_BuildValue((char *)"");
1745 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1746 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1751 static PyObject
*_wrap_CheckBoxNameStr_get() {
1756 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1758 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1765 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxWindow
*arg1
= (wxWindow
*) 0 ;
1769 wxString
*arg3
= 0 ;
1770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1774 long arg6
= (long) 0 ;
1775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1777 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1780 bool temp3
= False
;
1783 bool temp8
= False
;
1784 PyObject
* obj0
= 0 ;
1785 PyObject
* obj1
= 0 ;
1786 PyObject
* obj2
= 0 ;
1787 PyObject
* obj3
= 0 ;
1788 PyObject
* obj4
= 0 ;
1789 PyObject
* obj5
= 0 ;
1790 PyObject
* obj6
= 0 ;
1791 PyObject
* obj7
= 0 ;
1793 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1803 arg3
= wxString_in_helper(obj2
);
1804 if (arg3
== NULL
) SWIG_fail
;
1810 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1816 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1821 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1826 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1828 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1833 arg8
= wxString_in_helper(obj7
);
1834 if (arg8
== NULL
) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1868 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (wxCheckBox
*)new wxCheckBox();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1890 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1893 wxWindow
*arg2
= (wxWindow
*) 0 ;
1895 wxString
*arg4
= 0 ;
1896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1900 long arg7
= (long) 0 ;
1901 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1902 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1903 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1906 bool temp4
= False
;
1909 bool temp9
= False
;
1910 PyObject
* obj0
= 0 ;
1911 PyObject
* obj1
= 0 ;
1912 PyObject
* obj2
= 0 ;
1913 PyObject
* obj3
= 0 ;
1914 PyObject
* obj4
= 0 ;
1915 PyObject
* obj5
= 0 ;
1916 PyObject
* obj6
= 0 ;
1917 PyObject
* obj7
= 0 ;
1918 PyObject
* obj8
= 0 ;
1920 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1927 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1931 arg4
= wxString_in_helper(obj3
);
1932 if (arg4
== NULL
) SWIG_fail
;
1938 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1944 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1949 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1954 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1961 arg9
= wxString_in_helper(obj8
);
1962 if (arg9
== NULL
) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1996 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
1998 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2000 PyObject
* obj0
= 0 ;
2002 (char *) "self", NULL
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (bool)(arg1
)->GetValue();
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2021 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2025 PyObject
* obj0
= 0 ;
2027 (char *) "self", NULL
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (bool)(arg1
)->IsChecked();
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2046 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2051 PyObject
* obj1
= 0 ;
2053 (char *) "self",(char *) "state", NULL
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2059 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 (arg1
)->SetValue(arg2
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 Py_INCREF(Py_None
); resultobj
= Py_None
;
2076 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2080 PyObject
* obj0
= 0 ;
2082 (char *) "self", NULL
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 resultobj
= SWIG_PyObj_FromInt((int)result
);
2101 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2108 (char *) "self",(char *) "state", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2114 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2124 Py_INCREF(Py_None
); resultobj
= Py_None
;
2131 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2135 PyObject
* obj0
= 0 ;
2137 (char *) "self", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2156 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
*resultobj
;
2158 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2160 PyObject
* obj0
= 0 ;
2162 (char *) "self", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2181 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2184 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2186 return Py_BuildValue((char *)"");
2188 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2189 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2194 static PyObject
*_wrap_ChoiceNameStr_get() {
2199 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2201 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2208 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2210 wxWindow
*arg1
= (wxWindow
*) 0 ;
2212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2216 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2217 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2218 long arg6
= (long) 0 ;
2219 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2220 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2221 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2222 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2226 bool temp5
= False
;
2227 bool temp8
= False
;
2228 PyObject
* obj0
= 0 ;
2229 PyObject
* obj1
= 0 ;
2230 PyObject
* obj2
= 0 ;
2231 PyObject
* obj3
= 0 ;
2232 PyObject
* obj4
= 0 ;
2233 PyObject
* obj5
= 0 ;
2234 PyObject
* obj6
= 0 ;
2235 PyObject
* obj7
= 0 ;
2237 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2243 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2249 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2255 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2260 if (! PySequence_Check(obj4
)) {
2261 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2264 arg5
= new wxArrayString
;
2266 int i
, len
=PySequence_Length(obj4
);
2267 for (i
=0; i
<len
; i
++) {
2268 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2270 PyObject
* str
= PyObject_Unicode(item
);
2272 PyObject
* str
= PyObject_Str(item
);
2274 arg5
->Add(Py2wxString(str
));
2282 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2287 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2294 arg8
= wxString_in_helper(obj7
);
2295 if (arg8
== NULL
) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2308 if (temp5
) delete arg5
;
2317 if (temp5
) delete arg5
;
2327 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (wxChoice
*)new wxChoice();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2349 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxChoice
*arg1
= (wxChoice
*) 0 ;
2352 wxWindow
*arg2
= (wxWindow
*) 0 ;
2354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2358 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2359 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2360 long arg7
= (long) 0 ;
2361 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2362 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2363 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2364 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2368 bool temp6
= False
;
2369 bool temp9
= False
;
2370 PyObject
* obj0
= 0 ;
2371 PyObject
* obj1
= 0 ;
2372 PyObject
* obj2
= 0 ;
2373 PyObject
* obj3
= 0 ;
2374 PyObject
* obj4
= 0 ;
2375 PyObject
* obj5
= 0 ;
2376 PyObject
* obj6
= 0 ;
2377 PyObject
* obj7
= 0 ;
2378 PyObject
* obj8
= 0 ;
2380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2387 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2399 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2404 if (! PySequence_Check(obj5
)) {
2405 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2408 arg6
= new wxArrayString
;
2410 int i
, len
=PySequence_Length(obj5
);
2411 for (i
=0; i
<len
; i
++) {
2412 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2414 PyObject
* str
= PyObject_Unicode(item
);
2416 PyObject
* str
= PyObject_Str(item
);
2418 arg6
->Add(Py2wxString(str
));
2426 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2431 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2438 arg9
= wxString_in_helper(obj8
);
2439 if (arg9
== NULL
) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2452 if (temp6
) delete arg6
;
2461 if (temp6
) delete arg6
;
2471 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxChoice
*arg1
= (wxChoice
*) 0 ;
2475 PyObject
* obj0
= 0 ;
2476 PyObject
* obj1
= 0 ;
2478 (char *) "self",(char *) "n", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2484 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 (arg1
)->SetSelection(arg2
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 Py_INCREF(Py_None
); resultobj
= Py_None
;
2501 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxChoice
*arg1
= (wxChoice
*) 0 ;
2504 wxString
*arg2
= 0 ;
2505 bool temp2
= False
;
2506 PyObject
* obj0
= 0 ;
2507 PyObject
* obj1
= 0 ;
2509 (char *) "self",(char *) "string", NULL
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2515 arg2
= wxString_in_helper(obj1
);
2516 if (arg2
== NULL
) SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2526 Py_INCREF(Py_None
); resultobj
= Py_None
;
2541 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
*resultobj
;
2543 wxChoice
*arg1
= (wxChoice
*) 0 ;
2545 wxString
*arg3
= 0 ;
2546 bool temp3
= False
;
2547 PyObject
* obj0
= 0 ;
2548 PyObject
* obj1
= 0 ;
2549 PyObject
* obj2
= 0 ;
2551 (char *) "self",(char *) "n",(char *) "string", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2557 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2561 arg3
= wxString_in_helper(obj2
);
2562 if (arg3
== NULL
) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2587 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2590 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2592 return Py_BuildValue((char *)"");
2594 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2595 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2600 static PyObject
*_wrap_ComboBoxNameStr_get() {
2605 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2607 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2614 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxWindow
*arg1
= (wxWindow
*) 0 ;
2618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2624 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2625 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2626 long arg7
= (long) 0 ;
2627 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2628 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2629 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2630 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2632 bool temp3
= False
;
2635 bool temp6
= False
;
2636 bool temp9
= False
;
2637 PyObject
* obj0
= 0 ;
2638 PyObject
* obj1
= 0 ;
2639 PyObject
* obj2
= 0 ;
2640 PyObject
* obj3
= 0 ;
2641 PyObject
* obj4
= 0 ;
2642 PyObject
* obj5
= 0 ;
2643 PyObject
* obj6
= 0 ;
2644 PyObject
* obj7
= 0 ;
2645 PyObject
* obj8
= 0 ;
2647 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2653 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2658 arg3
= wxString_in_helper(obj2
);
2659 if (arg3
== NULL
) SWIG_fail
;
2666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2677 if (! PySequence_Check(obj5
)) {
2678 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2681 arg6
= new wxArrayString
;
2683 int i
, len
=PySequence_Length(obj5
);
2684 for (i
=0; i
<len
; i
++) {
2685 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2687 PyObject
* str
= PyObject_Unicode(item
);
2689 PyObject
* str
= PyObject_Str(item
);
2691 arg6
->Add(Py2wxString(str
));
2699 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2704 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2711 arg9
= wxString_in_helper(obj8
);
2712 if (arg9
== NULL
) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2729 if (temp6
) delete arg6
;
2742 if (temp6
) delete arg6
;
2752 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= (wxComboBox
*)new wxComboBox();
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2774 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2777 wxWindow
*arg2
= (wxWindow
*) 0 ;
2779 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2781 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2782 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2783 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2784 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2785 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2786 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2787 long arg8
= (long) 0 ;
2788 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2789 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2790 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2791 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2793 bool temp4
= False
;
2796 bool temp7
= False
;
2797 bool temp10
= False
;
2798 PyObject
* obj0
= 0 ;
2799 PyObject
* obj1
= 0 ;
2800 PyObject
* obj2
= 0 ;
2801 PyObject
* obj3
= 0 ;
2802 PyObject
* obj4
= 0 ;
2803 PyObject
* obj5
= 0 ;
2804 PyObject
* obj6
= 0 ;
2805 PyObject
* obj7
= 0 ;
2806 PyObject
* obj8
= 0 ;
2807 PyObject
* obj9
= 0 ;
2809 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2816 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2821 arg4
= wxString_in_helper(obj3
);
2822 if (arg4
== NULL
) SWIG_fail
;
2829 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2835 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2840 if (! PySequence_Check(obj6
)) {
2841 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2844 arg7
= new wxArrayString
;
2846 int i
, len
=PySequence_Length(obj6
);
2847 for (i
=0; i
<len
; i
++) {
2848 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2850 PyObject
* str
= PyObject_Unicode(item
);
2852 PyObject
* str
= PyObject_Str(item
);
2854 arg7
->Add(Py2wxString(str
));
2862 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2867 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2874 arg10
= wxString_in_helper(obj9
);
2875 if (arg10
== NULL
) SWIG_fail
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2892 if (temp7
) delete arg7
;
2905 if (temp7
) delete arg7
;
2915 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2919 PyObject
* obj0
= 0 ;
2921 (char *) "self", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 result
= ((wxComboBox
const *)arg1
)->GetValue();
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2946 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
*resultobj
;
2948 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2949 wxString
*arg2
= 0 ;
2950 bool temp2
= False
;
2951 PyObject
* obj0
= 0 ;
2952 PyObject
* obj1
= 0 ;
2954 (char *) "self",(char *) "value", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2960 arg2
= wxString_in_helper(obj1
);
2961 if (arg2
== NULL
) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 (arg1
)->SetValue((wxString
const &)*arg2
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2971 Py_INCREF(Py_None
); resultobj
= Py_None
;
2986 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
*resultobj
;
2988 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2989 PyObject
* obj0
= 0 ;
2991 (char *) "self", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3013 PyObject
* obj0
= 0 ;
3015 (char *) "self", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3027 Py_INCREF(Py_None
); resultobj
= Py_None
;
3034 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3037 PyObject
* obj0
= 0 ;
3039 (char *) "self", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 Py_INCREF(Py_None
); resultobj
= Py_None
;
3058 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "self",(char *) "pos", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3071 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 (arg1
)->SetInsertionPoint(arg2
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3081 Py_INCREF(Py_None
); resultobj
= Py_None
;
3088 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3092 PyObject
* obj0
= 0 ;
3094 (char *) "self", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3106 resultobj
= SWIG_PyObj_FromLong((long)result
);
3113 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
*resultobj
;
3115 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3117 PyObject
* obj0
= 0 ;
3119 (char *) "self", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= SWIG_PyObj_FromLong((long)result
);
3138 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3143 wxString
*arg4
= 0 ;
3144 bool temp4
= False
;
3145 PyObject
* obj0
= 0 ;
3146 PyObject
* obj1
= 0 ;
3147 PyObject
* obj2
= 0 ;
3148 PyObject
* obj3
= 0 ;
3150 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3156 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 arg4
= wxString_in_helper(obj3
);
3165 if (arg4
== NULL
) SWIG_fail
;
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3195 PyObject
* obj1
= 0 ;
3197 (char *) "self",(char *) "n", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3203 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 (arg1
)->SetSelection(arg2
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3213 Py_INCREF(Py_None
); resultobj
= Py_None
;
3220 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3227 PyObject
* obj2
= 0 ;
3229 (char *) "self",(char *) "from",(char *) "to", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3235 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3239 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 (arg1
)->SetSelection(arg2
,arg3
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 Py_INCREF(Py_None
); resultobj
= Py_None
;
3256 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3263 (char *) "self",(char *) "editable", NULL
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3269 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->SetEditable(arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 (arg1
)->SetInsertionPointEnd();
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3316 PyObject
* obj1
= 0 ;
3317 PyObject
* obj2
= 0 ;
3319 (char *) "self",(char *) "from",(char *) "to", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3325 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3329 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 (arg1
)->Remove(arg2
,arg3
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3349 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3351 return Py_BuildValue((char *)"");
3353 static int _wrap_GaugeNameStr_set(PyObject
*) {
3354 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3359 static PyObject
*_wrap_GaugeNameStr_get() {
3364 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3366 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3373 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
*resultobj
;
3375 wxWindow
*arg1
= (wxWindow
*) 0 ;
3378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3382 long arg6
= (long) wxGA_HORIZONTAL
;
3383 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3384 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3385 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3390 bool temp8
= False
;
3391 PyObject
* obj0
= 0 ;
3392 PyObject
* obj1
= 0 ;
3393 PyObject
* obj2
= 0 ;
3394 PyObject
* obj3
= 0 ;
3395 PyObject
* obj4
= 0 ;
3396 PyObject
* obj5
= 0 ;
3397 PyObject
* obj6
= 0 ;
3398 PyObject
* obj7
= 0 ;
3400 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3410 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3427 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3432 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3439 arg8
= wxString_in_helper(obj7
);
3440 if (arg8
== NULL
) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3466 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
;
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 result
= (wxGauge
*)new wxGauge();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3488 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxGauge
*arg1
= (wxGauge
*) 0 ;
3491 wxWindow
*arg2
= (wxWindow
*) 0 ;
3494 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3495 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3496 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3497 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3498 long arg7
= (long) wxGA_HORIZONTAL
;
3499 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3500 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3501 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3502 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3506 bool temp9
= False
;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3509 PyObject
* obj2
= 0 ;
3510 PyObject
* obj3
= 0 ;
3511 PyObject
* obj4
= 0 ;
3512 PyObject
* obj5
= 0 ;
3513 PyObject
* obj6
= 0 ;
3514 PyObject
* obj7
= 0 ;
3515 PyObject
* obj8
= 0 ;
3517 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3524 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3534 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3540 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3545 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3550 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3557 arg9
= wxString_in_helper(obj8
);
3558 if (arg9
== NULL
) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3584 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxGauge
*arg1
= (wxGauge
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3591 (char *) "self",(char *) "range", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 (arg1
)->SetRange(arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 Py_INCREF(Py_None
); resultobj
= Py_None
;
3614 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxGauge
*arg1
= (wxGauge
*) 0 ;
3618 PyObject
* obj0
= 0 ;
3620 (char *) "self", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= SWIG_PyObj_FromInt((int)result
);
3639 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxGauge
*arg1
= (wxGauge
*) 0 ;
3643 PyObject
* obj0
= 0 ;
3644 PyObject
* obj1
= 0 ;
3646 (char *) "self",(char *) "pos", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3652 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 (arg1
)->SetValue(arg2
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 Py_INCREF(Py_None
); resultobj
= Py_None
;
3669 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxGauge
*arg1
= (wxGauge
*) 0 ;
3673 PyObject
* obj0
= 0 ;
3675 (char *) "self", NULL
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 resultobj
= SWIG_PyObj_FromInt((int)result
);
3694 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxGauge
*arg1
= (wxGauge
*) 0 ;
3698 PyObject
* obj0
= 0 ;
3700 (char *) "self", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3719 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
;
3721 wxGauge
*arg1
= (wxGauge
*) 0 ;
3723 PyObject
* obj0
= 0 ;
3724 PyObject
* obj1
= 0 ;
3726 (char *) "self",(char *) "w", NULL
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3732 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 (arg1
)->SetShadowWidth(arg2
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 Py_INCREF(Py_None
); resultobj
= Py_None
;
3749 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxGauge
*arg1
= (wxGauge
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3755 (char *) "self", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 resultobj
= SWIG_PyObj_FromInt((int)result
);
3774 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxGauge
*arg1
= (wxGauge
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3779 PyObject
* obj1
= 0 ;
3781 (char *) "self",(char *) "w", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 (arg1
)->SetBezelFace(arg2
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxGauge
*arg1
= (wxGauge
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "self", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 resultobj
= SWIG_PyObj_FromInt((int)result
);
3829 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3832 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3834 return Py_BuildValue((char *)"");
3836 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3837 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3842 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3847 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3849 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3856 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3857 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3862 static PyObject
*_wrap_StaticBoxNameStr_get() {
3867 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3869 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3876 static int _wrap_StaticTextNameStr_set(PyObject
*) {
3877 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3882 static PyObject
*_wrap_StaticTextNameStr_get() {
3887 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3889 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3896 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxWindow
*arg1
= (wxWindow
*) 0 ;
3900 wxString
*arg3
= 0 ;
3901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3905 long arg6
= (long) 0 ;
3906 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3907 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3908 wxStaticBox
*result
;
3909 bool temp3
= False
;
3912 bool temp7
= False
;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3915 PyObject
* obj2
= 0 ;
3916 PyObject
* obj3
= 0 ;
3917 PyObject
* obj4
= 0 ;
3918 PyObject
* obj5
= 0 ;
3919 PyObject
* obj6
= 0 ;
3921 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3927 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3931 arg3
= wxString_in_helper(obj2
);
3932 if (arg3
== NULL
) SWIG_fail
;
3938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3949 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3955 arg7
= wxString_in_helper(obj6
);
3956 if (arg7
== NULL
) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= wxPyMake_wxObject(result
);
3992 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxStaticBox
*result
;
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (wxStaticBox
*)new wxStaticBox();
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= wxPyMake_wxObject(result
);
4016 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4019 wxWindow
*arg2
= (wxWindow
*) 0 ;
4021 wxString
*arg4
= 0 ;
4022 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4023 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4024 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4025 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4026 long arg7
= (long) 0 ;
4027 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4028 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4030 bool temp4
= False
;
4033 bool temp8
= False
;
4034 PyObject
* obj0
= 0 ;
4035 PyObject
* obj1
= 0 ;
4036 PyObject
* obj2
= 0 ;
4037 PyObject
* obj3
= 0 ;
4038 PyObject
* obj4
= 0 ;
4039 PyObject
* obj5
= 0 ;
4040 PyObject
* obj6
= 0 ;
4041 PyObject
* obj7
= 0 ;
4043 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4050 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 arg4
= wxString_in_helper(obj3
);
4055 if (arg4
== NULL
) SWIG_fail
;
4061 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4067 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4072 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4078 arg8
= wxString_in_helper(obj7
);
4079 if (arg8
== NULL
) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4113 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4116 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4118 return Py_BuildValue((char *)"");
4120 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 wxWindow
*arg1
= (wxWindow
*) 0 ;
4124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4128 long arg5
= (long) wxLI_HORIZONTAL
;
4129 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4130 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4131 wxStaticLine
*result
;
4134 bool temp6
= False
;
4135 PyObject
* obj0
= 0 ;
4136 PyObject
* obj1
= 0 ;
4137 PyObject
* obj2
= 0 ;
4138 PyObject
* obj3
= 0 ;
4139 PyObject
* obj4
= 0 ;
4140 PyObject
* obj5
= 0 ;
4142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4148 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4160 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4165 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4171 arg6
= wxString_in_helper(obj5
);
4172 if (arg6
== NULL
) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4198 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxStaticLine
*result
;
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (wxStaticLine
*)new wxStaticLine();
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4220 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4223 wxWindow
*arg2
= (wxWindow
*) 0 ;
4225 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4226 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4227 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4228 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4229 long arg6
= (long) wxLI_HORIZONTAL
;
4230 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4231 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4235 bool temp7
= False
;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4238 PyObject
* obj2
= 0 ;
4239 PyObject
* obj3
= 0 ;
4240 PyObject
* obj4
= 0 ;
4241 PyObject
* obj5
= 0 ;
4242 PyObject
* obj6
= 0 ;
4244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4251 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4257 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4263 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4268 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4274 arg7
= wxString_in_helper(obj6
);
4275 if (arg7
== NULL
) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4301 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4307 (char *) "self", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4326 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (int)wxStaticLine::GetDefaultSize();
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_PyObj_FromInt((int)result
);
4348 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4351 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4353 return Py_BuildValue((char *)"");
4355 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxWindow
*arg1
= (wxWindow
*) 0 ;
4359 wxString
*arg3
= 0 ;
4360 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4361 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4362 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4363 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4364 long arg6
= (long) 0 ;
4365 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4366 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4367 wxStaticText
*result
;
4368 bool temp3
= False
;
4371 bool temp7
= False
;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 PyObject
* obj3
= 0 ;
4376 PyObject
* obj4
= 0 ;
4377 PyObject
* obj5
= 0 ;
4378 PyObject
* obj6
= 0 ;
4380 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4386 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4390 arg3
= wxString_in_helper(obj2
);
4391 if (arg3
== NULL
) SWIG_fail
;
4397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4408 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4414 arg7
= wxString_in_helper(obj6
);
4415 if (arg7
== NULL
) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4449 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxStaticText
*result
;
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (wxStaticText
*)new wxStaticText();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4471 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4474 wxWindow
*arg2
= (wxWindow
*) 0 ;
4476 wxString
*arg4
= 0 ;
4477 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4478 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4479 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4480 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4481 long arg7
= (long) 0 ;
4482 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4483 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4485 bool temp4
= False
;
4488 bool temp8
= False
;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4491 PyObject
* obj2
= 0 ;
4492 PyObject
* obj3
= 0 ;
4493 PyObject
* obj4
= 0 ;
4494 PyObject
* obj5
= 0 ;
4495 PyObject
* obj6
= 0 ;
4496 PyObject
* obj7
= 0 ;
4498 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 arg4
= wxString_in_helper(obj3
);
4510 if (arg4
== NULL
) SWIG_fail
;
4516 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4522 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4527 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4533 arg8
= wxString_in_helper(obj7
);
4534 if (arg8
== NULL
) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4568 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4571 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4573 return Py_BuildValue((char *)"");
4575 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxWindow
*arg1
= (wxWindow
*) 0 ;
4579 wxBitmap
*arg3
= 0 ;
4580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4584 long arg6
= (long) 0 ;
4585 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4587 wxStaticBitmap
*result
;
4590 bool temp7
= False
;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4593 PyObject
* obj2
= 0 ;
4594 PyObject
* obj3
= 0 ;
4595 PyObject
* obj4
= 0 ;
4596 PyObject
* obj5
= 0 ;
4597 PyObject
* obj6
= 0 ;
4599 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4605 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4615 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4621 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4626 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4632 arg7
= wxString_in_helper(obj6
);
4633 if (arg7
== NULL
) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4659 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxStaticBitmap
*result
;
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4681 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4683 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4684 wxWindow
*arg2
= (wxWindow
*) 0 ;
4686 wxBitmap
*arg4
= 0 ;
4687 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4688 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4689 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4690 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4691 long arg7
= (long) 0 ;
4692 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4693 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4697 bool temp8
= False
;
4698 PyObject
* obj0
= 0 ;
4699 PyObject
* obj1
= 0 ;
4700 PyObject
* obj2
= 0 ;
4701 PyObject
* obj3
= 0 ;
4702 PyObject
* obj4
= 0 ;
4703 PyObject
* obj5
= 0 ;
4704 PyObject
* obj6
= 0 ;
4705 PyObject
* obj7
= 0 ;
4707 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4714 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4719 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4724 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4730 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4735 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4741 arg8
= wxString_in_helper(obj7
);
4742 if (arg8
== NULL
) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4768 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4774 (char *) "self", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (arg1
)->GetBitmap();
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4787 wxBitmap
* resultptr
;
4788 resultptr
= new wxBitmap((wxBitmap
&) result
);
4789 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4797 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4800 wxBitmap
*arg2
= 0 ;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj1
= 0 ;
4804 (char *) "self",(char *) "bitmap", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 Py_INCREF(Py_None
); resultobj
= Py_None
;
4827 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4834 (char *) "self",(char *) "icon", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 Py_INCREF(Py_None
); resultobj
= Py_None
;
4857 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4860 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4862 return Py_BuildValue((char *)"");
4864 static int _wrap_ListBoxNameStr_set(PyObject
*) {
4865 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4870 static PyObject
*_wrap_ListBoxNameStr_get() {
4875 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4877 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4884 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxWindow
*arg1
= (wxWindow
*) 0 ;
4888 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4889 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4890 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4891 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4892 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4893 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4894 long arg6
= (long) 0 ;
4895 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4896 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4897 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
4898 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4902 bool temp5
= False
;
4903 bool temp8
= False
;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 PyObject
* obj2
= 0 ;
4907 PyObject
* obj3
= 0 ;
4908 PyObject
* obj4
= 0 ;
4909 PyObject
* obj5
= 0 ;
4910 PyObject
* obj6
= 0 ;
4911 PyObject
* obj7
= 0 ;
4913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4919 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4925 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4931 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4936 if (! PySequence_Check(obj4
)) {
4937 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4940 arg5
= new wxArrayString
;
4942 int i
, len
=PySequence_Length(obj4
);
4943 for (i
=0; i
<len
; i
++) {
4944 PyObject
* item
= PySequence_GetItem(obj4
, i
);
4946 PyObject
* str
= PyObject_Unicode(item
);
4948 PyObject
* str
= PyObject_Str(item
);
4950 arg5
->Add(Py2wxString(str
));
4958 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4963 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4970 arg8
= wxString_in_helper(obj7
);
4971 if (arg8
== NULL
) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4984 if (temp5
) delete arg5
;
4993 if (temp5
) delete arg5
;
5003 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (wxListBox
*)new wxListBox();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5025 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxListBox
*arg1
= (wxListBox
*) 0 ;
5028 wxWindow
*arg2
= (wxWindow
*) 0 ;
5030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5034 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5035 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5036 long arg7
= (long) 0 ;
5037 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5038 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5039 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5040 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5044 bool temp6
= False
;
5045 bool temp9
= False
;
5046 PyObject
* obj0
= 0 ;
5047 PyObject
* obj1
= 0 ;
5048 PyObject
* obj2
= 0 ;
5049 PyObject
* obj3
= 0 ;
5050 PyObject
* obj4
= 0 ;
5051 PyObject
* obj5
= 0 ;
5052 PyObject
* obj6
= 0 ;
5053 PyObject
* obj7
= 0 ;
5054 PyObject
* obj8
= 0 ;
5056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5063 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5075 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5080 if (! PySequence_Check(obj5
)) {
5081 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5084 arg6
= new wxArrayString
;
5086 int i
, len
=PySequence_Length(obj5
);
5087 for (i
=0; i
<len
; i
++) {
5088 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5090 PyObject
* str
= PyObject_Unicode(item
);
5092 PyObject
* str
= PyObject_Str(item
);
5094 arg6
->Add(Py2wxString(str
));
5102 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5107 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5114 arg9
= wxString_in_helper(obj8
);
5115 if (arg9
== NULL
) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5128 if (temp6
) delete arg6
;
5137 if (temp6
) delete arg6
;
5147 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxListBox
*arg1
= (wxListBox
*) 0 ;
5150 wxString
*arg2
= 0 ;
5152 PyObject
*arg4
= (PyObject
*) NULL
;
5153 bool temp2
= False
;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 PyObject
* obj2
= 0 ;
5157 PyObject
* obj3
= 0 ;
5159 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5165 arg2
= wxString_in_helper(obj1
);
5166 if (arg2
== NULL
) SWIG_fail
;
5170 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 Py_INCREF(Py_None
); resultobj
= Py_None
;
5198 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxListBox
*arg1
= (wxListBox
*) 0 ;
5201 wxArrayString
*arg2
= 0 ;
5203 bool temp2
= False
;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 PyObject
* obj2
= 0 ;
5208 (char *) "self",(char *) "items",(char *) "pos", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5214 if (! PySequence_Check(obj1
)) {
5215 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5218 arg2
= new wxArrayString
;
5220 int i
, len
=PySequence_Length(obj1
);
5221 for (i
=0; i
<len
; i
++) {
5222 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5224 PyObject
* str
= PyObject_Unicode(item
);
5226 PyObject
* str
= PyObject_Str(item
);
5228 arg2
->Add(Py2wxString(str
));
5234 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 Py_INCREF(Py_None
); resultobj
= Py_None
;
5246 if (temp2
) delete arg2
;
5251 if (temp2
) delete arg2
;
5257 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxListBox
*arg1
= (wxListBox
*) 0 ;
5260 wxArrayString
*arg2
= 0 ;
5261 bool temp2
= False
;
5262 PyObject
* obj0
= 0 ;
5263 PyObject
* obj1
= 0 ;
5265 (char *) "self",(char *) "items", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5271 if (! PySequence_Check(obj1
)) {
5272 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5275 arg2
= new wxArrayString
;
5277 int i
, len
=PySequence_Length(obj1
);
5278 for (i
=0; i
<len
; i
++) {
5279 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5281 PyObject
* str
= PyObject_Unicode(item
);
5283 PyObject
* str
= PyObject_Str(item
);
5285 arg2
->Add(Py2wxString(str
));
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 (arg1
)->Set((wxArrayString
const &)*arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5299 if (temp2
) delete arg2
;
5304 if (temp2
) delete arg2
;
5310 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxListBox
*arg1
= (wxListBox
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "n", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5324 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5341 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxListBox
*arg1
= (wxListBox
*) 0 ;
5345 bool arg3
= (bool) True
;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 PyObject
* obj2
= 0 ;
5350 (char *) "self",(char *) "n",(char *) "select", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5356 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5361 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 (arg1
)->SetSelection(arg2
,arg3
);
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5372 Py_INCREF(Py_None
); resultobj
= Py_None
;
5379 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxListBox
*arg1
= (wxListBox
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5386 (char *) "self",(char *) "n", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5392 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->Select(arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxListBox
*arg1
= (wxListBox
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5416 (char *) "self",(char *) "n", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5422 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 (arg1
)->Deselect(arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 Py_INCREF(Py_None
); resultobj
= Py_None
;
5439 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxListBox
*arg1
= (wxListBox
*) 0 ;
5442 int arg2
= (int) -1 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "itemToLeaveSelected", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5453 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 (arg1
)->DeselectAll(arg2
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 Py_INCREF(Py_None
); resultobj
= Py_None
;
5471 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxListBox
*arg1
= (wxListBox
*) 0 ;
5474 wxString
*arg2
= 0 ;
5475 bool arg3
= (bool) True
;
5477 bool temp2
= False
;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5480 PyObject
* obj2
= 0 ;
5482 (char *) "self",(char *) "s",(char *) "select", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5488 arg2
= wxString_in_helper(obj1
);
5489 if (arg2
== NULL
) SWIG_fail
;
5494 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5520 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxListBox
*arg1
= (wxListBox
*) 0 ;
5524 PyObject
* obj0
= 0 ;
5526 (char *) "self", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5545 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxListBox
*arg1
= (wxListBox
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5552 (char *) "self",(char *) "n", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 (arg1
)->SetFirstItem(arg2
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxListBox
*arg1
= (wxListBox
*) 0 ;
5578 wxString
*arg2
= 0 ;
5579 bool temp2
= False
;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5583 (char *) "self",(char *) "s", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5589 arg2
= wxString_in_helper(obj1
);
5590 if (arg2
== NULL
) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 Py_INCREF(Py_None
); resultobj
= Py_None
;
5615 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxListBox
*arg1
= (wxListBox
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5622 (char *) "self",(char *) "n", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 (arg1
)->EnsureVisible(arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 Py_INCREF(Py_None
); resultobj
= Py_None
;
5645 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxListBox
*arg1
= (wxListBox
*) 0 ;
5648 wxString
*arg2
= 0 ;
5649 bool temp2
= False
;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5653 (char *) "self",(char *) "s", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5659 arg2
= wxString_in_helper(obj1
);
5660 if (arg2
== NULL
) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 Py_INCREF(Py_None
); resultobj
= Py_None
;
5685 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxListBox
*arg1
= (wxListBox
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5691 (char *) "self", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5710 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxListBox
*arg1
= (wxListBox
*) 0 ;
5714 wxColour
*arg3
= 0 ;
5716 PyObject
* obj0
= 0 ;
5717 PyObject
* obj1
= 0 ;
5718 PyObject
* obj2
= 0 ;
5720 (char *) "self",(char *) "item",(char *) "c", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5731 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxListBox
*arg1
= (wxListBox
*) 0 ;
5751 wxColour
*arg3
= 0 ;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5755 PyObject
* obj2
= 0 ;
5757 (char *) "self",(char *) "item",(char *) "c", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5763 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5768 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 Py_INCREF(Py_None
); resultobj
= Py_None
;
5784 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxListBox
*arg1
= (wxListBox
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5793 (char *) "self",(char *) "item",(char *) "f", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5804 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 Py_INCREF(Py_None
); resultobj
= Py_None
;
5820 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5823 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5825 return Py_BuildValue((char *)"");
5827 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxWindow
*arg1
= (wxWindow
*) 0 ;
5831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5833 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5834 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5835 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5836 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5837 long arg6
= (long) 0 ;
5838 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5839 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5840 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5841 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5842 wxCheckListBox
*result
;
5845 bool temp5
= False
;
5846 bool temp8
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 PyObject
* obj2
= 0 ;
5850 PyObject
* obj3
= 0 ;
5851 PyObject
* obj4
= 0 ;
5852 PyObject
* obj5
= 0 ;
5853 PyObject
* obj6
= 0 ;
5854 PyObject
* obj7
= 0 ;
5856 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5862 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5879 if (! PySequence_Check(obj4
)) {
5880 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5883 arg5
= new wxArrayString
;
5885 int i
, len
=PySequence_Length(obj4
);
5886 for (i
=0; i
<len
; i
++) {
5887 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5889 PyObject
* str
= PyObject_Unicode(item
);
5891 PyObject
* str
= PyObject_Str(item
);
5893 arg5
->Add(Py2wxString(str
));
5901 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5906 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5908 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5913 arg8
= wxString_in_helper(obj7
);
5914 if (arg8
== NULL
) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5927 if (temp5
) delete arg5
;
5936 if (temp5
) delete arg5
;
5946 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxCheckListBox
*result
;
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (wxCheckListBox
*)new wxCheckListBox();
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5968 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5971 wxWindow
*arg2
= (wxWindow
*) 0 ;
5973 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5974 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5975 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5976 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5977 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5978 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5979 long arg7
= (long) 0 ;
5980 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5981 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5982 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5983 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5987 bool temp6
= False
;
5988 bool temp9
= False
;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 PyObject
* obj2
= 0 ;
5992 PyObject
* obj3
= 0 ;
5993 PyObject
* obj4
= 0 ;
5994 PyObject
* obj5
= 0 ;
5995 PyObject
* obj6
= 0 ;
5996 PyObject
* obj7
= 0 ;
5997 PyObject
* obj8
= 0 ;
5999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6006 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6023 if (! PySequence_Check(obj5
)) {
6024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6027 arg6
= new wxArrayString
;
6029 int i
, len
=PySequence_Length(obj5
);
6030 for (i
=0; i
<len
; i
++) {
6031 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6033 PyObject
* str
= PyObject_Unicode(item
);
6035 PyObject
* str
= PyObject_Str(item
);
6037 arg6
->Add(Py2wxString(str
));
6045 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6050 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6057 arg9
= wxString_in_helper(obj8
);
6058 if (arg9
== NULL
) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6071 if (temp6
) delete arg6
;
6080 if (temp6
) delete arg6
;
6090 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6098 (char *) "self",(char *) "index", NULL
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6104 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (bool)(arg1
)->IsChecked(arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6121 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6125 int arg3
= (int) True
;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6128 PyObject
* obj2
= 0 ;
6130 (char *) "self",(char *) "index",(char *) "check", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6136 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6141 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 (arg1
)->Check(arg2
,arg3
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 Py_INCREF(Py_None
); resultobj
= Py_None
;
6159 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj1
= 0 ;
6168 (char *) "self",(char *) "pt", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= SWIG_PyObj_FromInt((int)result
);
6191 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 PyObject
* obj2
= 0 ;
6201 (char *) "self",(char *) "x",(char *) "y", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6211 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= SWIG_PyObj_FromInt((int)result
);
6228 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6231 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6233 return Py_BuildValue((char *)"");
6235 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6236 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6241 static PyObject
*_wrap_TextCtrlNameStr_get() {
6246 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6248 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6255 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6256 PyObject
*resultobj
;
6259 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (wxTextAttr
*)new wxTextAttr();
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6274 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6275 PyObject
*resultobj
;
6276 wxColour
*arg1
= 0 ;
6277 wxColour
const &arg2_defvalue
= wxNullColour
;
6278 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6279 wxFont
const &arg3_defvalue
= wxNullFont
;
6280 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6281 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6285 PyObject
* obj0
= 0 ;
6286 PyObject
* obj1
= 0 ;
6287 PyObject
* obj2
= 0 ;
6288 PyObject
* obj3
= 0 ;
6290 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6293 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6298 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6302 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6309 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6327 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6332 argc
= PyObject_Length(args
);
6333 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6334 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6337 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6339 if ((argc
>= 1) && (argc
<= 4)) {
6342 _v
= wxColour_typecheck(argv
[0]);
6346 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6349 _v
= wxColour_typecheck(argv
[1]);
6353 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6357 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6366 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6369 SWIG_PyObj_AsInt(argv
[3]);
6370 if (PyErr_Occurred()) {
6378 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6385 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6390 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 Py_INCREF(Py_None
); resultobj
= Py_None
;
6414 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 Py_INCREF(Py_None
); resultobj
= Py_None
;
6438 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6441 wxColour
*arg2
= 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6446 (char *) "self",(char *) "colText", NULL
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6472 wxColour
*arg2
= 0 ;
6474 PyObject
* obj0
= 0 ;
6475 PyObject
* obj1
= 0 ;
6477 (char *) "self",(char *) "colBack", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 Py_INCREF(Py_None
); resultobj
= Py_None
;
6500 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6504 long arg3
= (long) wxTEXT_ATTR_FONT
;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6507 PyObject
* obj2
= 0 ;
6509 (char *) "self",(char *) "font",(char *) "flags", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6520 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 Py_INCREF(Py_None
); resultobj
= Py_None
;
6538 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6545 (char *) "self",(char *) "alignment", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6551 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 Py_INCREF(Py_None
); resultobj
= Py_None
;
6568 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6571 wxArrayInt
*arg2
= 0 ;
6572 bool temp2
= False
;
6573 PyObject
* obj0
= 0 ;
6574 PyObject
* obj1
= 0 ;
6576 (char *) "self",(char *) "tabs", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6582 if (! PySequence_Check(obj1
)) {
6583 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6586 arg2
= new wxArrayInt
;
6588 int i
, len
=PySequence_Length(obj1
);
6589 for (i
=0; i
<len
; i
++) {
6590 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6591 PyObject
* number
= PyNumber_Int(item
);
6592 arg2
->Add(PyInt_AS_LONG(number
));
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 Py_INCREF(Py_None
); resultobj
= Py_None
;
6606 if (temp2
) delete arg2
;
6611 if (temp2
) delete arg2
;
6617 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6624 (char *) "self",(char *) "indent", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6630 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 (arg1
)->SetLeftIndent(arg2
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6654 (char *) "self",(char *) "indent", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6660 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 (arg1
)->SetRightIndent(arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 Py_INCREF(Py_None
); resultobj
= Py_None
;
6677 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6684 (char *) "self",(char *) "flags", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6690 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 (arg1
)->SetFlags(arg2
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 Py_INCREF(Py_None
); resultobj
= Py_None
;
6707 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6711 PyObject
* obj0
= 0 ;
6713 (char *) "self", NULL
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6732 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6738 (char *) "self", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6757 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6763 (char *) "self", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6782 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6786 PyObject
* obj0
= 0 ;
6788 (char *) "self", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6807 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6811 PyObject
* obj0
= 0 ;
6813 (char *) "self", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6832 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6838 (char *) "self", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6857 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6863 (char *) "self", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6882 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6890 (char *) "self",(char *) "flag", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6896 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6913 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6919 (char *) "self", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6928 result
= (wxColour
*) &_result_ref
;
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6941 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6945 PyObject
* obj0
= 0 ;
6947 (char *) "self", NULL
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6956 result
= (wxColour
*) &_result_ref
;
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6969 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "self", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6984 result
= (wxFont
*) &_result_ref
;
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6997 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "self", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_PyObj_FromInt((int)result
);
7022 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7037 result
= (wxArrayInt
*) &_result_ref
;
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= PyList_New(0);
7046 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7047 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7048 PyList_Append(resultobj
, val
);
7058 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_PyObj_FromLong((long)result
);
7083 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 (char *) "self", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_PyObj_FromLong((long)result
);
7108 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7114 (char *) "self", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_PyObj_FromLong((long)result
);
7133 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "self", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7158 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7160 wxTextAttr
*arg1
= 0 ;
7161 wxTextAttr
*arg2
= 0 ;
7162 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7166 PyObject
* obj2
= 0 ;
7168 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7174 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7178 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7180 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7189 wxTextAttr
* resultptr
;
7190 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7191 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7199 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7202 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7204 return Py_BuildValue((char *)"");
7206 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxWindow
*arg1
= (wxWindow
*) 0 ;
7210 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7211 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7212 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7213 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7214 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7215 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7216 long arg6
= (long) 0 ;
7217 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7218 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7219 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7220 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7222 bool temp3
= False
;
7225 bool temp8
= False
;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7228 PyObject
* obj2
= 0 ;
7229 PyObject
* obj3
= 0 ;
7230 PyObject
* obj4
= 0 ;
7231 PyObject
* obj5
= 0 ;
7232 PyObject
* obj6
= 0 ;
7233 PyObject
* obj7
= 0 ;
7235 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7241 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7246 arg3
= wxString_in_helper(obj2
);
7247 if (arg3
== NULL
) SWIG_fail
;
7254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7265 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7270 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7272 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7277 arg8
= wxString_in_helper(obj7
);
7278 if (arg8
== NULL
) SWIG_fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= wxPyMake_wxObject(result
);
7314 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (wxTextCtrl
*)new wxTextCtrl();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= wxPyMake_wxObject(result
);
7338 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7341 wxWindow
*arg2
= (wxWindow
*) 0 ;
7343 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7344 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7345 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7346 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7347 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7348 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7349 long arg7
= (long) 0 ;
7350 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7351 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7352 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7353 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7355 bool temp4
= False
;
7358 bool temp9
= False
;
7359 PyObject
* obj0
= 0 ;
7360 PyObject
* obj1
= 0 ;
7361 PyObject
* obj2
= 0 ;
7362 PyObject
* obj3
= 0 ;
7363 PyObject
* obj4
= 0 ;
7364 PyObject
* obj5
= 0 ;
7365 PyObject
* obj6
= 0 ;
7366 PyObject
* obj7
= 0 ;
7367 PyObject
* obj8
= 0 ;
7369 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7374 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7376 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7381 arg4
= wxString_in_helper(obj3
);
7382 if (arg4
== NULL
) SWIG_fail
;
7389 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7395 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7400 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7405 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7407 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7412 arg9
= wxString_in_helper(obj8
);
7413 if (arg9
== NULL
) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7447 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7453 (char *) "self", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7478 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7480 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7481 wxString
*arg2
= 0 ;
7482 bool temp2
= False
;
7483 PyObject
* obj0
= 0 ;
7484 PyObject
* obj1
= 0 ;
7486 (char *) "self",(char *) "value", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7492 arg2
= wxString_in_helper(obj1
);
7493 if (arg2
== NULL
) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 (arg1
)->SetValue((wxString
const &)*arg2
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 Py_INCREF(Py_None
); resultobj
= Py_None
;
7518 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
;
7520 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7525 PyObject
* obj1
= 0 ;
7526 PyObject
* obj2
= 0 ;
7528 (char *) "self",(char *) "from",(char *) "to", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7534 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7538 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7561 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7566 PyObject
* obj0
= 0 ;
7567 PyObject
* obj1
= 0 ;
7569 (char *) "self",(char *) "lineNo", NULL
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7575 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_PyObj_FromInt((int)result
);
7592 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7600 (char *) "self",(char *) "lineNo", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7606 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7629 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7633 PyObject
* obj0
= 0 ;
7635 (char *) "self", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_PyObj_FromInt((int)result
);
7654 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7660 (char *) "self", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7679 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7704 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7729 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7735 (char *) "self", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7754 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7755 PyObject
*resultobj
;
7756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7757 long *arg2
= (long *) 0 ;
7758 long *arg3
= (long *) 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "self", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 Py_INCREF(Py_None
); resultobj
= Py_None
;
7779 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7780 resultobj
= t_output_helper(resultobj
,o
);
7783 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7784 resultobj
= t_output_helper(resultobj
,o
);
7792 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7796 PyObject
* obj0
= 0 ;
7798 (char *) "self", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7823 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7828 (char *) "self", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 Py_INCREF(Py_None
); resultobj
= Py_None
;
7847 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7852 wxString
*arg4
= 0 ;
7853 bool temp4
= False
;
7854 PyObject
* obj0
= 0 ;
7855 PyObject
* obj1
= 0 ;
7856 PyObject
* obj2
= 0 ;
7857 PyObject
* obj3
= 0 ;
7859 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7865 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7869 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7873 arg4
= wxString_in_helper(obj3
);
7874 if (arg4
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7906 PyObject
* obj2
= 0 ;
7908 (char *) "self",(char *) "from",(char *) "to", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7914 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7918 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 (arg1
)->Remove(arg2
,arg3
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 Py_INCREF(Py_None
); resultobj
= Py_None
;
7935 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
;
7937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7938 wxString
*arg2
= 0 ;
7940 bool temp2
= False
;
7941 PyObject
* obj0
= 0 ;
7942 PyObject
* obj1
= 0 ;
7944 (char *) "self",(char *) "file", NULL
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7950 arg2
= wxString_in_helper(obj1
);
7951 if (arg2
== NULL
) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7976 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7979 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7980 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7982 bool temp2
= False
;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7986 (char *) "self",(char *) "file", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7993 arg2
= wxString_in_helper(obj1
);
7994 if (arg2
== NULL
) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8020 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "self", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 (arg1
)->MarkDirty();
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 (arg1
)->DiscardEdits();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 Py_INCREF(Py_None
); resultobj
= Py_None
;
8068 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8071 unsigned long arg2
;
8072 PyObject
* obj0
= 0 ;
8073 PyObject
* obj1
= 0 ;
8075 (char *) "self",(char *) "len", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8081 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 (arg1
)->SetMaxLength(arg2
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 Py_INCREF(Py_None
); resultobj
= Py_None
;
8098 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8101 wxString
*arg2
= 0 ;
8102 bool temp2
= False
;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8106 (char *) "self",(char *) "text", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8112 arg2
= wxString_in_helper(obj1
);
8113 if (arg2
== NULL
) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 (arg1
)->WriteText((wxString
const &)*arg2
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 Py_INCREF(Py_None
); resultobj
= Py_None
;
8138 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
;
8140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8141 wxString
*arg2
= 0 ;
8142 bool temp2
= False
;
8143 PyObject
* obj0
= 0 ;
8144 PyObject
* obj1
= 0 ;
8146 (char *) "self",(char *) "text", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8152 arg2
= wxString_in_helper(obj1
);
8153 if (arg2
== NULL
) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 (arg1
)->AppendText((wxString
const &)*arg2
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8181 wxKeyEvent
*arg2
= 0 ;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8186 (char *) "self",(char *) "event", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8209 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8214 wxTextAttr
*arg4
= 0 ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 PyObject
* obj2
= 0 ;
8219 PyObject
* obj3
= 0 ;
8221 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8227 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8231 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8252 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8256 wxTextAttr
*arg3
= 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8260 PyObject
* obj2
= 0 ;
8262 (char *) "self",(char *) "position",(char *) "style", NULL
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8268 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8273 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8289 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8292 wxTextAttr
*arg2
= 0 ;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8297 (char *) "self",(char *) "style", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8320 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8326 (char *) "self", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8335 result
= (wxTextAttr
*) &_result_ref
;
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8348 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8356 PyObject
* obj2
= 0 ;
8358 (char *) "self",(char *) "x",(char *) "y", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8364 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8368 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_PyObj_FromLong((long)result
);
8385 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8389 long *arg3
= (long *) 0 ;
8390 long *arg4
= (long *) 0 ;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8396 (char *) "self",(char *) "pos", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8404 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8417 resultobj
= t_output_helper(resultobj
,o
);
8420 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8421 resultobj
= t_output_helper(resultobj
,o
);
8429 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8433 PyObject
* obj0
= 0 ;
8434 PyObject
* obj1
= 0 ;
8436 (char *) "self",(char *) "pos", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8442 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 (arg1
)->ShowPosition(arg2
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 Py_INCREF(Py_None
); resultobj
= Py_None
;
8459 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8463 long *arg3
= (long *) 0 ;
8464 long *arg4
= (long *) 0 ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8472 (char *) "self",(char *) "pt", NULL
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_PyObj_FromInt((int)result
);
8492 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8493 resultobj
= t_output_helper(resultobj
,o
);
8496 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8497 resultobj
= t_output_helper(resultobj
,o
);
8505 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8508 PyObject
* obj0
= 0 ;
8510 (char *) "self", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 Py_INCREF(Py_None
); resultobj
= Py_None
;
8529 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8532 PyObject
* obj0
= 0 ;
8534 (char *) "self", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 Py_INCREF(Py_None
); resultobj
= Py_None
;
8553 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8556 PyObject
* obj0
= 0 ;
8558 (char *) "self", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 Py_INCREF(Py_None
); resultobj
= Py_None
;
8577 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8583 (char *) "self", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8602 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "self", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8652 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8655 PyObject
* obj0
= 0 ;
8657 (char *) "self", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 Py_INCREF(Py_None
); resultobj
= Py_None
;
8676 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
;
8678 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8681 (char *) "self", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 Py_INCREF(Py_None
); resultobj
= Py_None
;
8700 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 (char *) "self", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",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();
8713 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8725 static PyObject
*_wrap_TextCtrl_CanRedo(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_CanRedo",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
)->CanRedo();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8750 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8757 (char *) "self",(char *) "pos", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8763 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 (arg1
)->SetInsertionPoint(arg2
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 Py_INCREF(Py_None
); resultobj
= Py_None
;
8780 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8783 PyObject
* obj0
= 0 ;
8785 (char *) "self", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 (arg1
)->SetInsertionPointEnd();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "self", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_PyObj_FromLong((long)result
);
8829 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "self", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= SWIG_PyObj_FromLong((long)result
);
8854 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8859 PyObject
* obj0
= 0 ;
8860 PyObject
* obj1
= 0 ;
8861 PyObject
* obj2
= 0 ;
8863 (char *) "self",(char *) "from",(char *) "to", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8869 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8873 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 (arg1
)->SetSelection(arg2
,arg3
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 Py_INCREF(Py_None
); resultobj
= Py_None
;
8890 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8893 PyObject
* obj0
= 0 ;
8895 (char *) "self", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 (arg1
)->SelectAll();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 Py_INCREF(Py_None
); resultobj
= Py_None
;
8914 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8921 (char *) "self",(char *) "editable", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8927 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->SetEditable(arg2
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8947 wxString
*arg2
= 0 ;
8948 bool temp2
= False
;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8952 (char *) "self",(char *) "text", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8958 arg2
= wxString_in_helper(obj1
);
8959 if (arg2
== NULL
) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8984 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 PyObject
* obj2
= 0 ;
8994 (char *) "self",(char *) "from",(char *) "to", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9000 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9027 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9030 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9032 return Py_BuildValue((char *)"");
9034 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9037 wxMouseEvent
*arg2
= 0 ;
9040 wxTextUrlEvent
*result
;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9044 PyObject
* obj3
= 0 ;
9046 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9051 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9056 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9059 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9063 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9080 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9083 wxMouseEvent
*result
;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "self", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9095 result
= (wxMouseEvent
*) &_result_ref
;
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9108 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9112 PyObject
* obj0
= 0 ;
9114 (char *) "self", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_PyObj_FromLong((long)result
);
9133 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9137 PyObject
* obj0
= 0 ;
9139 (char *) "self", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_PyObj_FromLong((long)result
);
9158 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9161 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9163 return Py_BuildValue((char *)"");
9165 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9166 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9171 static PyObject
*_wrap_ScrollBarNameStr_get() {
9176 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9178 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9185 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxWindow
*arg1
= (wxWindow
*) 0 ;
9188 int arg2
= (int) -1 ;
9189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9193 long arg5
= (long) wxSB_HORIZONTAL
;
9194 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9195 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9196 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9198 wxScrollBar
*result
;
9201 bool temp7
= False
;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 PyObject
* obj2
= 0 ;
9205 PyObject
* obj3
= 0 ;
9206 PyObject
* obj4
= 0 ;
9207 PyObject
* obj5
= 0 ;
9208 PyObject
* obj6
= 0 ;
9210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9230 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9235 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9240 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9247 arg7
= wxString_in_helper(obj6
);
9248 if (arg7
== NULL
) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9274 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxScrollBar
*result
;
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (wxScrollBar
*)new wxScrollBar();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9296 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9299 wxWindow
*arg2
= (wxWindow
*) 0 ;
9300 int arg3
= (int) -1 ;
9301 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9302 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9303 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9304 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9305 long arg6
= (long) wxSB_HORIZONTAL
;
9306 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9307 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9308 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9309 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9313 bool temp8
= False
;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9316 PyObject
* obj2
= 0 ;
9317 PyObject
* obj3
= 0 ;
9318 PyObject
* obj4
= 0 ;
9319 PyObject
* obj5
= 0 ;
9320 PyObject
* obj6
= 0 ;
9321 PyObject
* obj7
= 0 ;
9323 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9328 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9331 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9338 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9344 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9349 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9354 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9356 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9361 arg8
= wxString_in_helper(obj7
);
9362 if (arg8
== NULL
) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9388 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= SWIG_PyObj_FromInt((int)result
);
9413 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9417 PyObject
* obj0
= 0 ;
9419 (char *) "self", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_PyObj_FromInt((int)result
);
9438 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_PyObj_FromInt((int)result
);
9463 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= SWIG_PyObj_FromInt((int)result
);
9488 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9494 (char *) "self", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9513 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9517 PyObject
* obj0
= 0 ;
9518 PyObject
* obj1
= 0 ;
9520 (char *) "self",(char *) "viewStart", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9526 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 (arg1
)->SetThumbPosition(arg2
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 Py_INCREF(Py_None
); resultobj
= Py_None
;
9543 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9550 bool arg6
= (bool) True
;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9553 PyObject
* obj2
= 0 ;
9554 PyObject
* obj3
= 0 ;
9555 PyObject
* obj4
= 0 ;
9556 PyObject
* obj5
= 0 ;
9558 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9564 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9568 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9572 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9581 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 Py_INCREF(Py_None
); resultobj
= Py_None
;
9599 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9602 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9604 return Py_BuildValue((char *)"");
9606 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9607 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9612 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9617 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9619 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9626 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9627 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9632 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9637 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9639 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9646 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxWindow
*arg1
= (wxWindow
*) 0 ;
9649 int arg2
= (int) -1 ;
9650 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9651 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9652 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9653 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9654 long arg5
= (long) wxSP_HORIZONTAL
;
9655 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9656 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9657 wxSpinButton
*result
;
9660 bool temp6
= False
;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9663 PyObject
* obj2
= 0 ;
9664 PyObject
* obj3
= 0 ;
9665 PyObject
* obj4
= 0 ;
9666 PyObject
* obj5
= 0 ;
9668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9675 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9682 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9688 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9693 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9699 arg6
= wxString_in_helper(obj5
);
9700 if (arg6
== NULL
) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9726 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxSpinButton
*result
;
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (wxSpinButton
*)new wxSpinButton();
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9748 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9751 wxWindow
*arg2
= (wxWindow
*) 0 ;
9752 int arg3
= (int) -1 ;
9753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9757 long arg6
= (long) wxSP_HORIZONTAL
;
9758 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9763 bool temp7
= False
;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9766 PyObject
* obj2
= 0 ;
9767 PyObject
* obj3
= 0 ;
9768 PyObject
* obj4
= 0 ;
9769 PyObject
* obj5
= 0 ;
9770 PyObject
* obj6
= 0 ;
9772 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9780 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9787 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9793 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9798 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9804 arg7
= wxString_in_helper(obj6
);
9805 if (arg7
== NULL
) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9831 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9837 (char *) "self", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= SWIG_PyObj_FromInt((int)result
);
9856 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9862 (char *) "self", NULL
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= SWIG_PyObj_FromInt((int)result
);
9881 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9887 (char *) "self", NULL
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_PyObj_FromInt((int)result
);
9906 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9913 (char *) "self",(char *) "val", NULL
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9919 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 (arg1
)->SetValue(arg2
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 Py_INCREF(Py_None
); resultobj
= Py_None
;
9936 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9940 PyObject
* obj0
= 0 ;
9941 PyObject
* obj1
= 0 ;
9943 (char *) "self",(char *) "minVal", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
9947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9949 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 (arg1
)->SetMin(arg2
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 Py_INCREF(Py_None
); resultobj
= Py_None
;
9966 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9973 (char *) "self",(char *) "maxVal", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9979 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 (arg1
)->SetMax(arg2
);
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 Py_INCREF(Py_None
); resultobj
= Py_None
;
9996 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 PyObject
* obj2
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10011 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10015 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 (arg1
)->SetRange(arg2
,arg3
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 Py_INCREF(Py_None
); resultobj
= Py_None
;
10032 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10057 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10060 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10062 return Py_BuildValue((char *)"");
10064 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxWindow
*arg1
= (wxWindow
*) 0 ;
10067 int arg2
= (int) -1 ;
10068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10074 long arg6
= (long) wxSP_ARROW_KEYS
;
10075 int arg7
= (int) 0 ;
10076 int arg8
= (int) 100 ;
10077 int arg9
= (int) 0 ;
10078 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10079 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10080 wxSpinCtrl
*result
;
10081 bool temp3
= False
;
10084 bool temp10
= False
;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 PyObject
* obj2
= 0 ;
10088 PyObject
* obj3
= 0 ;
10089 PyObject
* obj4
= 0 ;
10090 PyObject
* obj5
= 0 ;
10091 PyObject
* obj6
= 0 ;
10092 PyObject
* obj7
= 0 ;
10093 PyObject
* obj8
= 0 ;
10094 PyObject
* obj9
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10103 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10109 arg3
= wxString_in_helper(obj2
);
10110 if (arg3
== NULL
) SWIG_fail
;
10117 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10123 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10128 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10134 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10140 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10146 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10152 arg10
= wxString_in_helper(obj9
);
10153 if (arg10
== NULL
) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10187 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxSpinCtrl
*result
;
10190 char *kwnames
[] = {
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10209 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10212 wxWindow
*arg2
= (wxWindow
*) 0 ;
10213 int arg3
= (int) -1 ;
10214 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10215 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10216 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10217 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10218 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10219 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10220 long arg7
= (long) wxSP_ARROW_KEYS
;
10221 int arg8
= (int) 0 ;
10222 int arg9
= (int) 100 ;
10223 int arg10
= (int) 0 ;
10224 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10225 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10227 bool temp4
= False
;
10230 bool temp11
= False
;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 PyObject
* obj2
= 0 ;
10234 PyObject
* obj3
= 0 ;
10235 PyObject
* obj4
= 0 ;
10236 PyObject
* obj5
= 0 ;
10237 PyObject
* obj6
= 0 ;
10238 PyObject
* obj7
= 0 ;
10239 PyObject
* obj8
= 0 ;
10240 PyObject
* obj9
= 0 ;
10241 PyObject
* obj10
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10251 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10257 arg4
= wxString_in_helper(obj3
);
10258 if (arg4
== NULL
) SWIG_fail
;
10265 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10271 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10276 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10282 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10288 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10294 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10300 arg11
= wxString_in_helper(obj10
);
10301 if (arg11
== NULL
) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10335 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10339 PyObject
* obj0
= 0 ;
10340 char *kwnames
[] = {
10341 (char *) "self", NULL
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_PyObj_FromInt((int)result
);
10360 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "self",(char *) "value", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10373 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 (arg1
)->SetValue(arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10393 wxString
*arg2
= 0 ;
10394 bool temp2
= False
;
10395 PyObject
* obj0
= 0 ;
10396 PyObject
* obj1
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self",(char *) "text", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10404 arg2
= wxString_in_helper(obj1
);
10405 if (arg2
== NULL
) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 (arg1
)->SetValue((wxString
const &)*arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 Py_INCREF(Py_None
); resultobj
= Py_None
;
10430 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 PyObject
* obj2
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10449 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->SetRange(arg2
,arg3
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 Py_INCREF(Py_None
); resultobj
= Py_None
;
10466 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10470 PyObject
* obj0
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_PyObj_FromInt((int)result
);
10491 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10495 PyObject
* obj0
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_PyObj_FromInt((int)result
);
10516 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 PyObject
* obj2
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self",(char *) "from",(char *) "to", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10531 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10535 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 (arg1
)->SetSelection(arg2
,arg3
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 Py_INCREF(Py_None
); resultobj
= Py_None
;
10552 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10555 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10557 return Py_BuildValue((char *)"");
10559 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10562 int arg2
= (int) 0 ;
10563 wxSpinEvent
*result
;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "commandType",(char *) "winid", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10579 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10597 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10601 PyObject
* obj0
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_PyObj_FromInt((int)result
);
10622 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 char *kwnames
[] = {
10629 (char *) "self",(char *) "pos", NULL
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10635 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 (arg1
)->SetPosition(arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 Py_INCREF(Py_None
); resultobj
= Py_None
;
10652 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10655 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10657 return Py_BuildValue((char *)"");
10659 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10660 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10665 static PyObject
*_wrap_RadioBoxNameStr_get() {
10670 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10672 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10679 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10680 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10685 static PyObject
*_wrap_RadioButtonNameStr_get() {
10690 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10692 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10699 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxWindow
*arg1
= (wxWindow
*) 0 ;
10703 wxString
*arg3
= 0 ;
10704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10708 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10709 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10710 int arg7
= (int) 0 ;
10711 long arg8
= (long) wxRA_HORIZONTAL
;
10712 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10713 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10714 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10715 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10716 wxRadioBox
*result
;
10717 bool temp3
= False
;
10720 bool temp6
= False
;
10721 bool temp10
= False
;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 PyObject
* obj2
= 0 ;
10725 PyObject
* obj3
= 0 ;
10726 PyObject
* obj4
= 0 ;
10727 PyObject
* obj5
= 0 ;
10728 PyObject
* obj6
= 0 ;
10729 PyObject
* obj7
= 0 ;
10730 PyObject
* obj8
= 0 ;
10731 PyObject
* obj9
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10739 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10743 arg3
= wxString_in_helper(obj2
);
10744 if (arg3
== NULL
) SWIG_fail
;
10750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10761 if (! PySequence_Check(obj5
)) {
10762 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10765 arg6
= new wxArrayString
;
10767 int i
, len
=PySequence_Length(obj5
);
10768 for (i
=0; i
<len
; i
++) {
10769 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10771 PyObject
* str
= PyObject_Unicode(item
);
10773 PyObject
* str
= PyObject_Str(item
);
10775 arg6
->Add(Py2wxString(str
));
10783 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10789 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10794 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10795 if (arg9
== NULL
) {
10796 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10801 arg10
= wxString_in_helper(obj9
);
10802 if (arg10
== NULL
) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 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
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10819 if (temp6
) delete arg6
;
10832 if (temp6
) delete arg6
;
10842 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxRadioBox
*result
;
10845 char *kwnames
[] = {
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxRadioBox
*)new wxRadioBox();
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10864 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10867 wxWindow
*arg2
= (wxWindow
*) 0 ;
10869 wxString
*arg4
= 0 ;
10870 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10871 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10872 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10873 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10874 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10875 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10876 int arg8
= (int) 0 ;
10877 long arg9
= (long) wxRA_HORIZONTAL
;
10878 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10879 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10880 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10881 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10883 bool temp4
= False
;
10886 bool temp7
= False
;
10887 bool temp11
= False
;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 PyObject
* obj2
= 0 ;
10891 PyObject
* obj3
= 0 ;
10892 PyObject
* obj4
= 0 ;
10893 PyObject
* obj5
= 0 ;
10894 PyObject
* obj6
= 0 ;
10895 PyObject
* obj7
= 0 ;
10896 PyObject
* obj8
= 0 ;
10897 PyObject
* obj9
= 0 ;
10898 PyObject
* obj10
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10905 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10907 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10911 arg4
= wxString_in_helper(obj3
);
10912 if (arg4
== NULL
) SWIG_fail
;
10918 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10924 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10929 if (! PySequence_Check(obj6
)) {
10930 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10933 arg7
= new wxArrayString
;
10935 int i
, len
=PySequence_Length(obj6
);
10936 for (i
=0; i
<len
; i
++) {
10937 PyObject
* item
= PySequence_GetItem(obj6
, i
);
10939 PyObject
* str
= PyObject_Unicode(item
);
10941 PyObject
* str
= PyObject_Str(item
);
10943 arg7
->Add(Py2wxString(str
));
10951 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10957 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10962 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10963 if (arg10
== NULL
) {
10964 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10969 arg11
= wxString_in_helper(obj10
);
10970 if (arg11
== NULL
) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 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
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10987 if (temp7
) delete arg7
;
11000 if (temp7
) delete arg7
;
11010 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "n", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11023 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 (arg1
)->SetSelection(arg2
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_PyObj_FromInt((int)result
);
11065 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11096 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11099 wxString
*arg2
= 0 ;
11101 bool temp2
= False
;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "s", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11111 arg2
= wxString_in_helper(obj1
);
11112 if (arg2
== NULL
) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11137 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= SWIG_PyObj_FromInt((int)result
);
11162 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11165 wxString
*arg2
= 0 ;
11167 bool temp2
= False
;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "s", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11177 arg2
= wxString_in_helper(obj1
);
11178 if (arg2
== NULL
) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= SWIG_PyObj_FromInt((int)result
);
11203 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "self",(char *) "n", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11240 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11244 wxString
*arg3
= 0 ;
11245 bool temp3
= False
;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 PyObject
* obj2
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self",(char *) "n",(char *) "label", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11256 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11260 arg3
= wxString_in_helper(obj2
);
11261 if (arg3
== NULL
) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 Py_INCREF(Py_None
); resultobj
= Py_None
;
11286 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11290 bool arg3
= (bool) True
;
11291 PyObject
* obj0
= 0 ;
11292 PyObject
* obj1
= 0 ;
11293 PyObject
* obj2
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "self",(char *) "n",(char *) "enable", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11301 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11306 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 (arg1
)->Enable(arg2
,arg3
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 Py_INCREF(Py_None
); resultobj
= Py_None
;
11324 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11328 bool arg3
= (bool) True
;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 PyObject
* obj2
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "n",(char *) "show", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11339 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11344 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 (arg1
)->Show(arg2
,arg3
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 Py_INCREF(Py_None
); resultobj
= Py_None
;
11362 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 resultobj
= SWIG_PyObj_FromInt((int)result
);
11387 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= SWIG_PyObj_FromInt((int)result
);
11412 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 PyObject
* obj1
= 0 ;
11421 PyObject
* obj2
= 0 ;
11422 PyObject
* obj3
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11434 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_PyObj_FromInt((int)result
);
11455 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11458 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11460 return Py_BuildValue((char *)"");
11462 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxWindow
*arg1
= (wxWindow
*) 0 ;
11466 wxString
*arg3
= 0 ;
11467 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11468 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11469 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11470 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11471 long arg6
= (long) 0 ;
11472 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11473 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11474 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11475 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11476 wxRadioButton
*result
;
11477 bool temp3
= False
;
11480 bool temp8
= False
;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 PyObject
* obj2
= 0 ;
11484 PyObject
* obj3
= 0 ;
11485 PyObject
* obj4
= 0 ;
11486 PyObject
* obj5
= 0 ;
11487 PyObject
* obj6
= 0 ;
11488 PyObject
* obj7
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11496 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11500 arg3
= wxString_in_helper(obj2
);
11501 if (arg3
== NULL
) SWIG_fail
;
11507 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11513 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11518 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11523 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11524 if (arg7
== NULL
) {
11525 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11530 arg8
= wxString_in_helper(obj7
);
11531 if (arg8
== NULL
) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11565 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxRadioButton
*result
;
11568 char *kwnames
[] = {
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (wxRadioButton
*)new wxRadioButton();
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11587 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11590 wxWindow
*arg2
= (wxWindow
*) 0 ;
11592 wxString
*arg4
= 0 ;
11593 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11594 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11595 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11596 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11597 long arg7
= (long) 0 ;
11598 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11599 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11600 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11601 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11603 bool temp4
= False
;
11606 bool temp9
= False
;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 PyObject
* obj3
= 0 ;
11611 PyObject
* obj4
= 0 ;
11612 PyObject
* obj5
= 0 ;
11613 PyObject
* obj6
= 0 ;
11614 PyObject
* obj7
= 0 ;
11615 PyObject
* obj8
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11624 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11628 arg4
= wxString_in_helper(obj3
);
11629 if (arg4
== NULL
) SWIG_fail
;
11635 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11641 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11646 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11651 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11652 if (arg8
== NULL
) {
11653 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11658 arg9
= wxString_in_helper(obj8
);
11659 if (arg9
== NULL
) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11693 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (bool)(arg1
)->GetValue();
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11718 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "value", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11731 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 (arg1
)->SetValue(arg2
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 Py_INCREF(Py_None
); resultobj
= Py_None
;
11748 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11751 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11753 return Py_BuildValue((char *)"");
11755 static int _wrap_SliderNameStr_set(PyObject
*) {
11756 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11761 static PyObject
*_wrap_SliderNameStr_get() {
11766 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11768 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11775 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxWindow
*arg1
= (wxWindow
*) 0 ;
11782 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11783 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11784 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11785 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11786 long arg8
= (long) wxSL_HORIZONTAL
;
11787 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11788 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11789 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11790 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11794 bool temp10
= False
;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 PyObject
* obj2
= 0 ;
11798 PyObject
* obj3
= 0 ;
11799 PyObject
* obj4
= 0 ;
11800 PyObject
* obj5
= 0 ;
11801 PyObject
* obj6
= 0 ;
11802 PyObject
* obj7
= 0 ;
11803 PyObject
* obj8
= 0 ;
11804 PyObject
* obj9
= 0 ;
11805 char *kwnames
[] = {
11806 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11812 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11816 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11824 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11830 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11836 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11841 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11846 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11847 if (arg9
== NULL
) {
11848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11853 arg10
= wxString_in_helper(obj9
);
11854 if (arg10
== NULL
) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11880 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11883 char *kwnames
[] = {
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (wxSlider
*)new wxSlider();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11902 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxSlider
*arg1
= (wxSlider
*) 0 ;
11905 wxWindow
*arg2
= (wxWindow
*) 0 ;
11910 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11911 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11912 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11913 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11914 long arg9
= (long) wxSL_HORIZONTAL
;
11915 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11916 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11917 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11918 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11922 bool temp11
= False
;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 PyObject
* obj2
= 0 ;
11926 PyObject
* obj3
= 0 ;
11927 PyObject
* obj4
= 0 ;
11928 PyObject
* obj5
= 0 ;
11929 PyObject
* obj6
= 0 ;
11930 PyObject
* obj7
= 0 ;
11931 PyObject
* obj8
= 0 ;
11932 PyObject
* obj9
= 0 ;
11933 PyObject
* obj10
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11942 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11954 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11960 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11966 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
11971 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11976 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11977 if (arg10
== NULL
) {
11978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11983 arg11
= wxString_in_helper(obj10
);
11984 if (arg11
== NULL
) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12010 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxSlider
*arg1
= (wxSlider
*) 0 ;
12014 PyObject
* obj0
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_PyObj_FromInt((int)result
);
12035 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxSlider
*arg1
= (wxSlider
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 PyObject
* obj1
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self",(char *) "value", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12048 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 (arg1
)->SetValue(arg2
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 Py_INCREF(Py_None
); resultobj
= Py_None
;
12065 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxSlider
*arg1
= (wxSlider
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 PyObject
* obj2
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12080 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->SetRange(arg2
,arg3
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 Py_INCREF(Py_None
); resultobj
= Py_None
;
12101 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxSlider
*arg1
= (wxSlider
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= SWIG_PyObj_FromInt((int)result
);
12126 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxSlider
*arg1
= (wxSlider
*) 0 ;
12130 PyObject
* obj0
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_PyObj_FromInt((int)result
);
12151 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxSlider
*arg1
= (wxSlider
*) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self",(char *) "minValue", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 (arg1
)->SetMin(arg2
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 Py_INCREF(Py_None
); resultobj
= Py_None
;
12181 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxSlider
*arg1
= (wxSlider
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 PyObject
* obj1
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self",(char *) "maxValue", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12194 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 (arg1
)->SetMax(arg2
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 Py_INCREF(Py_None
); resultobj
= Py_None
;
12211 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxSlider
*arg1
= (wxSlider
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self",(char *) "lineSize", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12224 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetLineSize(arg2
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
*_wrap_Slider_SetPageSize(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 *) "pageSize", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",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
)->SetPageSize(arg2
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12271 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxSlider
*arg1
= (wxSlider
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= SWIG_PyObj_FromInt((int)result
);
12296 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxSlider
*arg1
= (wxSlider
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_PyObj_FromInt((int)result
);
12321 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxSlider
*arg1
= (wxSlider
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 PyObject
* obj1
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "lenPixels", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12334 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->SetThumbLength(arg2
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12351 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxSlider
*arg1
= (wxSlider
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_PyObj_FromInt((int)result
);
12376 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxSlider
*arg1
= (wxSlider
*) 0 ;
12380 int arg3
= (int) 1 ;
12381 PyObject
* obj0
= 0 ;
12382 PyObject
* obj1
= 0 ;
12383 PyObject
* obj2
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "n",(char *) "pos", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12391 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12396 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 (arg1
)->SetTickFreq(arg2
,arg3
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 Py_INCREF(Py_None
); resultobj
= Py_None
;
12414 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxSlider
*arg1
= (wxSlider
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_PyObj_FromInt((int)result
);
12439 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxSlider
*arg1
= (wxSlider
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 (arg1
)->ClearTicks();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 Py_INCREF(Py_None
); resultobj
= Py_None
;
12463 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxSlider
*arg1
= (wxSlider
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 PyObject
* obj1
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self",(char *) "tickPos", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12476 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 (arg1
)->SetTick(arg2
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 Py_INCREF(Py_None
); resultobj
= Py_None
;
12493 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxSlider
*arg1
= (wxSlider
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 (arg1
)->ClearSel();
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 Py_INCREF(Py_None
); resultobj
= Py_None
;
12517 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxSlider
*arg1
= (wxSlider
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_PyObj_FromInt((int)result
);
12542 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxSlider
*arg1
= (wxSlider
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= SWIG_PyObj_FromInt((int)result
);
12567 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxSlider
*arg1
= (wxSlider
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 PyObject
* obj2
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self",(char *) "min",(char *) "max", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12582 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12586 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetSelection(arg2
,arg3
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 Py_INCREF(Py_None
); resultobj
= Py_None
;
12603 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12606 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12608 return Py_BuildValue((char *)"");
12610 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12611 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12616 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12621 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12623 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12630 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxWindow
*arg1
= (wxWindow
*) 0 ;
12634 wxString
*arg3
= 0 ;
12635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12639 long arg6
= (long) 0 ;
12640 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12641 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12642 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12643 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12644 wxToggleButton
*result
;
12645 bool temp3
= False
;
12648 bool temp8
= False
;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 PyObject
* obj2
= 0 ;
12652 PyObject
* obj3
= 0 ;
12653 PyObject
* obj4
= 0 ;
12654 PyObject
* obj5
= 0 ;
12655 PyObject
* obj6
= 0 ;
12656 PyObject
* obj7
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12664 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 arg3
= wxString_in_helper(obj2
);
12669 if (arg3
== NULL
) SWIG_fail
;
12675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12686 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12691 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12692 if (arg7
== NULL
) {
12693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12698 arg8
= wxString_in_helper(obj7
);
12699 if (arg8
== NULL
) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12733 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxToggleButton
*result
;
12736 char *kwnames
[] = {
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (wxToggleButton
*)new wxToggleButton();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12755 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
12757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12758 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12760 return Py_BuildValue((char *)"");
12762 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12763 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12768 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12773 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12775 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12782 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
12792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
12807 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self",(char *) "n", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12821 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= wxPyMake_wxObject(result
);
12840 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= SWIG_PyObj_FromInt((int)result
);
12865 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12869 wxString
*arg3
= 0 ;
12871 bool temp3
= False
;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 PyObject
* obj2
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "n",(char *) "strText", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12882 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12886 arg3
= wxString_in_helper(obj2
);
12887 if (arg3
== NULL
) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12912 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self",(char *) "n", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12926 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12949 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12952 wxImageList
*arg2
= (wxImageList
*) 0 ;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self",(char *) "imageList", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 (arg1
)->SetImageList(arg2
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 Py_INCREF(Py_None
); resultobj
= Py_None
;
12976 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
;
12978 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12979 wxImageList
*arg2
= (wxImageList
*) 0 ;
12980 PyObject
* obj0
= 0 ;
12981 PyObject
* obj1
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "self",(char *) "imageList", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
12987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 (arg1
)->AssignImageList(arg2
);
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12996 Py_INCREF(Py_None
); resultobj
= Py_None
;
13003 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13006 wxImageList
*result
;
13007 PyObject
* obj0
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= wxPyMake_wxObject(result
);
13030 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
;
13032 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self",(char *) "n", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13044 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= SWIG_PyObj_FromInt((int)result
);
13061 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 PyObject
* obj2
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self",(char *) "n",(char *) "imageId", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13077 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13081 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13098 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13103 PyObject
* obj0
= 0 ;
13104 PyObject
* obj1
= 0 ;
13105 char *kwnames
[] = {
13106 (char *) "self",(char *) "size", NULL
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13113 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 Py_INCREF(Py_None
); resultobj
= Py_None
;
13129 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self",(char *) "sizePage", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13145 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 wxSize
* resultptr
;
13156 resultptr
= new wxSize((wxSize
&) result
);
13157 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13165 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13170 PyObject
* obj0
= 0 ;
13171 PyObject
* obj1
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self",(char *) "n", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13179 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= (bool)(arg1
)->DeletePage(arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13196 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 char *kwnames
[] = {
13204 (char *) "self",(char *) "n", NULL
13207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13210 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (bool)(arg1
)->RemovePage(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13227 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (bool)(arg1
)->DeleteAllPages();
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13252 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13255 wxWindow
*arg2
= (wxWindow
*) 0 ;
13256 wxString
*arg3
= 0 ;
13257 bool arg4
= (bool) False
;
13258 int arg5
= (int) -1 ;
13260 bool temp3
= False
;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 PyObject
* obj2
= 0 ;
13264 PyObject
* obj3
= 0 ;
13265 PyObject
* obj4
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13274 arg3
= wxString_in_helper(obj2
);
13275 if (arg3
== NULL
) SWIG_fail
;
13280 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13286 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13312 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13316 wxWindow
*arg3
= (wxWindow
*) 0 ;
13317 wxString
*arg4
= 0 ;
13318 bool arg5
= (bool) False
;
13319 int arg6
= (int) -1 ;
13321 bool temp4
= False
;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 PyObject
* obj2
= 0 ;
13325 PyObject
* obj3
= 0 ;
13326 PyObject
* obj4
= 0 ;
13327 PyObject
* obj5
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13335 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13340 arg4
= wxString_in_helper(obj3
);
13341 if (arg4
== NULL
) SWIG_fail
;
13346 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13352 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13378 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 PyObject
* obj1
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self",(char *) "n", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13392 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (int)(arg1
)->SetSelection(arg2
);
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= SWIG_PyObj_FromInt((int)result
);
13409 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13412 bool arg2
= (bool) True
;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "forward", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13423 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 (arg1
)->AdvanceSelection(arg2
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 Py_INCREF(Py_None
); resultobj
= Py_None
;
13441 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13444 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13446 return Py_BuildValue((char *)"");
13448 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13451 int arg2
= (int) 0 ;
13452 int arg3
= (int) -1 ;
13453 int arg4
= (int) -1 ;
13454 wxBookCtrlEvent
*result
;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 PyObject
* obj2
= 0 ;
13458 PyObject
* obj3
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13466 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13472 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13478 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13484 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13502 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13506 PyObject
* obj0
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_PyObj_FromInt((int)result
);
13527 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 PyObject
* obj1
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self",(char *) "nSel", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13540 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 (arg1
)->SetSelection(arg2
);
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 Py_INCREF(Py_None
); resultobj
= Py_None
;
13557 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
;
13559 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13561 PyObject
* obj0
= 0 ;
13562 char *kwnames
[] = {
13563 (char *) "self", NULL
13566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= SWIG_PyObj_FromInt((int)result
);
13582 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 PyObject
* obj1
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "self",(char *) "nOldSel", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13595 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 (arg1
)->SetOldSelection(arg2
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 Py_INCREF(Py_None
); resultobj
= Py_None
;
13612 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13615 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13617 return Py_BuildValue((char *)"");
13619 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxWindow
*arg1
= (wxWindow
*) 0 ;
13623 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13624 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13625 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13626 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13627 long arg5
= (long) 0 ;
13628 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13629 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13630 wxNotebook
*result
;
13633 bool temp6
= False
;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 PyObject
* obj2
= 0 ;
13637 PyObject
* obj3
= 0 ;
13638 PyObject
* obj4
= 0 ;
13639 PyObject
* obj5
= 0 ;
13640 char *kwnames
[] = {
13641 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13659 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13664 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13670 arg6
= wxString_in_helper(obj5
);
13671 if (arg6
== NULL
) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= wxPyMake_wxObject(result
);
13699 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxNotebook
*result
;
13702 char *kwnames
[] = {
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (wxNotebook
*)new wxNotebook();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= wxPyMake_wxObject(result
);
13723 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13726 wxWindow
*arg2
= (wxWindow
*) 0 ;
13728 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13729 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13730 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13731 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13732 long arg6
= (long) 0 ;
13733 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13734 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13738 bool temp7
= False
;
13739 PyObject
* obj0
= 0 ;
13740 PyObject
* obj1
= 0 ;
13741 PyObject
* obj2
= 0 ;
13742 PyObject
* obj3
= 0 ;
13743 PyObject
* obj4
= 0 ;
13744 PyObject
* obj5
= 0 ;
13745 PyObject
* obj6
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13754 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13760 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13766 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13771 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13777 arg7
= wxString_in_helper(obj6
);
13778 if (arg7
== NULL
) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13804 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_PyObj_FromInt((int)result
);
13829 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 PyObject
* obj1
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self",(char *) "padding", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13844 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 (arg1
)->SetPadding((wxSize
const &)*arg2
);
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 Py_INCREF(Py_None
); resultobj
= Py_None
;
13860 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 PyObject
* obj1
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "self",(char *) "sz", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 Py_INCREF(Py_None
); resultobj
= Py_None
;
13891 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13894 wxPoint
*arg2
= 0 ;
13895 long *arg3
= (long *) 0 ;
13899 PyObject
* obj0
= 0 ;
13900 PyObject
* obj1
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self",(char *) "pt", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
13907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= SWIG_PyObj_FromInt((int)result
);
13921 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13922 resultobj
= t_output_helper(resultobj
,o
);
13930 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "sizePage", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13946 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13956 wxSize
* resultptr
;
13957 resultptr
= new wxSize((wxSize
&) result
);
13958 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13966 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
13968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13969 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
13971 return Py_BuildValue((char *)"");
13973 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13976 int arg2
= (int) 0 ;
13977 int arg3
= (int) -1 ;
13978 int arg4
= (int) -1 ;
13979 wxNotebookEvent
*result
;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 PyObject
* obj2
= 0 ;
13983 PyObject
* obj3
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13991 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13997 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14003 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14009 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14027 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14030 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14032 return Py_BuildValue((char *)"");
14034 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxWindow
*arg1
= (wxWindow
*) 0 ;
14038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14042 long arg5
= (long) 0 ;
14043 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14045 wxListbook
*result
;
14048 bool temp6
= False
;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 PyObject
* obj2
= 0 ;
14052 PyObject
* obj3
= 0 ;
14053 PyObject
* obj4
= 0 ;
14054 PyObject
* obj5
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14062 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14068 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14074 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14079 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14085 arg6
= wxString_in_helper(obj5
);
14086 if (arg6
== NULL
) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14112 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxListbook
*result
;
14115 char *kwnames
[] = {
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (wxListbook
*)new wxListbook();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14134 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxListbook
*arg1
= (wxListbook
*) 0 ;
14137 wxWindow
*arg2
= (wxWindow
*) 0 ;
14139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14143 long arg6
= (long) 0 ;
14144 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14149 bool temp7
= False
;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 PyObject
* obj2
= 0 ;
14153 PyObject
* obj3
= 0 ;
14154 PyObject
* obj4
= 0 ;
14155 PyObject
* obj5
= 0 ;
14156 PyObject
* obj6
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14163 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14165 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14171 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14177 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14182 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14188 arg7
= wxString_in_helper(obj6
);
14189 if (arg7
== NULL
) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14215 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxListbook
*arg1
= (wxListbook
*) 0 ;
14219 PyObject
* obj0
= 0 ;
14220 char *kwnames
[] = {
14221 (char *) "self", NULL
14224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14240 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14243 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14245 return Py_BuildValue((char *)"");
14247 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14250 int arg2
= (int) 0 ;
14251 int arg3
= (int) -1 ;
14252 int arg4
= (int) -1 ;
14253 wxListbookEvent
*result
;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 PyObject
* obj2
= 0 ;
14257 PyObject
* obj3
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14265 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14271 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14277 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14283 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14301 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14304 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14306 return Py_BuildValue((char *)"");
14308 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14311 wxBookCtrlSizer
*result
;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "nb", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14333 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 (arg1
)->RecalcSizes();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 Py_INCREF(Py_None
); resultobj
= Py_None
;
14357 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
;
14359 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (arg1
)->CalcMin();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14376 wxSize
* resultptr
;
14377 resultptr
= new wxSize((wxSize
&) result
);
14378 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14386 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14389 wxBookCtrl
*result
;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14411 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14414 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14416 return Py_BuildValue((char *)"");
14418 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14421 wxNotebookSizer
*result
;
14422 PyObject
* obj0
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "nb", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14443 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 (arg1
)->RecalcSizes();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 Py_INCREF(Py_None
); resultobj
= Py_None
;
14467 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (arg1
)->CalcMin();
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14486 wxSize
* resultptr
;
14487 resultptr
= new wxSize((wxSize
&) result
);
14488 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14496 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14499 wxNotebook
*result
;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= wxPyMake_wxObject(result
);
14523 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14526 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14528 return Py_BuildValue((char *)"");
14530 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14534 PyObject
* obj0
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "self", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (int)(arg1
)->GetId();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= SWIG_PyObj_FromInt((int)result
);
14555 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (wxControl
*)(arg1
)->GetControl();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= wxPyMake_wxObject(result
);
14582 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14585 wxToolBarBase
*result
;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= wxPyMake_wxObject(result
);
14609 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14613 PyObject
* obj0
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (int)(arg1
)->IsButton();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_PyObj_FromInt((int)result
);
14634 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14638 PyObject
* obj0
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 result
= (int)(arg1
)->IsControl();
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= SWIG_PyObj_FromInt((int)result
);
14659 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= (int)(arg1
)->IsSeparator();
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_PyObj_FromInt((int)result
);
14684 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14688 PyObject
* obj0
= 0 ;
14689 char *kwnames
[] = {
14690 (char *) "self", NULL
14693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (int)(arg1
)->GetStyle();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_PyObj_FromInt((int)result
);
14709 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14713 PyObject
* obj0
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (int)(arg1
)->GetKind();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_PyObj_FromInt((int)result
);
14734 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 char *kwnames
[] = {
14740 (char *) "self", NULL
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (bool)(arg1
)->IsEnabled();
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (bool)(arg1
)->IsToggled();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14784 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "self", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
14794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (bool)(arg1
)->CanBeToggled();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14809 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
14824 result
= (wxBitmap
*) &_result_ref
;
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14837 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
14852 result
= (wxBitmap
*) &_result_ref
;
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14865 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 char *kwnames
[] = {
14871 (char *) "self", NULL
14874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
14875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 result
= (arg1
)->GetBitmap();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14884 wxBitmap
* resultptr
;
14885 resultptr
= new wxBitmap((wxBitmap
&) result
);
14886 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14894 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (arg1
)->GetLabel();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14925 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (arg1
)->GetShortHelp();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14956 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (arg1
)->GetLongHelp();
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14987 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 PyObject
* obj1
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self",(char *) "enable", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
14999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15001 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (bool)(arg1
)->Enable(arg2
);
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15018 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 Py_INCREF(Py_None
); resultobj
= Py_None
;
15042 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "toggle", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15056 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= (bool)(arg1
)->SetToggle(arg2
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15073 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15076 wxString
*arg2
= 0 ;
15078 bool temp2
= False
;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "help", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15088 arg2
= wxString_in_helper(obj1
);
15089 if (arg2
== NULL
) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15114 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15117 wxString
*arg2
= 0 ;
15119 bool temp2
= False
;
15120 PyObject
* obj0
= 0 ;
15121 PyObject
* obj1
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self",(char *) "help", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15129 arg2
= wxString_in_helper(obj1
);
15130 if (arg2
== NULL
) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15155 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15158 wxBitmap
*arg2
= 0 ;
15159 PyObject
* obj0
= 0 ;
15160 PyObject
* obj1
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "bmp", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15167 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15168 if (arg2
== NULL
) {
15169 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 Py_INCREF(Py_None
); resultobj
= Py_None
;
15185 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15188 wxBitmap
*arg2
= 0 ;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self",(char *) "bmp", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15198 if (arg2
== NULL
) {
15199 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 Py_INCREF(Py_None
); resultobj
= Py_None
;
15215 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15218 wxString
*arg2
= 0 ;
15219 bool temp2
= False
;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self",(char *) "label", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15229 arg2
= wxString_in_helper(obj1
);
15230 if (arg2
== NULL
) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 (arg1
)->SetLabel((wxString
const &)*arg2
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 Py_INCREF(Py_None
); resultobj
= Py_None
;
15255 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15258 PyObject
* obj0
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 Py_INCREF(Py_None
); resultobj
= Py_None
;
15279 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15282 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 PyObject
* obj1
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self",(char *) "tbar", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 (arg1
)->Attach(arg2
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 Py_INCREF(Py_None
); resultobj
= Py_None
;
15306 static PyObject
*_wrap_ToolBarToolBase_GetClientData(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_GetClientData",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
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
;
15331 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15334 PyObject
*arg2
= (PyObject
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self",(char *) "clientData", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 Py_INCREF(Py_None
); resultobj
= Py_None
;
15358 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15361 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15363 return Py_BuildValue((char *)"");
15365 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15369 wxString
*arg3
= 0 ;
15370 wxBitmap
*arg4
= 0 ;
15371 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15372 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15373 int arg6
= (int) wxITEM_NORMAL
;
15374 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15375 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15376 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15377 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15378 PyObject
*arg9
= (PyObject
*) NULL
;
15379 wxToolBarToolBase
*result
;
15380 bool temp3
= False
;
15381 bool temp7
= False
;
15382 bool temp8
= False
;
15383 PyObject
* obj0
= 0 ;
15384 PyObject
* obj1
= 0 ;
15385 PyObject
* obj2
= 0 ;
15386 PyObject
* obj3
= 0 ;
15387 PyObject
* obj4
= 0 ;
15388 PyObject
* obj5
= 0 ;
15389 PyObject
* obj6
= 0 ;
15390 PyObject
* obj7
= 0 ;
15391 PyObject
* obj8
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15399 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15403 arg3
= wxString_in_helper(obj2
);
15404 if (arg3
== NULL
) SWIG_fail
;
15407 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15408 if (arg4
== NULL
) {
15409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15412 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15413 if (arg5
== NULL
) {
15414 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15419 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15425 arg7
= wxString_in_helper(obj6
);
15426 if (arg7
== NULL
) SWIG_fail
;
15432 arg8
= wxString_in_helper(obj7
);
15433 if (arg8
== NULL
) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= wxPyMake_wxObject(result
);
15480 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15485 wxString
*arg4
= 0 ;
15486 wxBitmap
*arg5
= 0 ;
15487 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15488 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15489 int arg7
= (int) wxITEM_NORMAL
;
15490 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15491 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15492 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15493 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15494 PyObject
*arg10
= (PyObject
*) NULL
;
15495 wxToolBarToolBase
*result
;
15496 bool temp4
= False
;
15497 bool temp8
= False
;
15498 bool temp9
= False
;
15499 PyObject
* obj0
= 0 ;
15500 PyObject
* obj1
= 0 ;
15501 PyObject
* obj2
= 0 ;
15502 PyObject
* obj3
= 0 ;
15503 PyObject
* obj4
= 0 ;
15504 PyObject
* obj5
= 0 ;
15505 PyObject
* obj6
= 0 ;
15506 PyObject
* obj7
= 0 ;
15507 PyObject
* obj8
= 0 ;
15508 PyObject
* obj9
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15516 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15520 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15524 arg4
= wxString_in_helper(obj3
);
15525 if (arg4
== NULL
) SWIG_fail
;
15528 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15529 if (arg5
== NULL
) {
15530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15533 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15534 if (arg6
== NULL
) {
15535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15540 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15546 arg8
= wxString_in_helper(obj7
);
15547 if (arg8
== NULL
) SWIG_fail
;
15553 arg9
= wxString_in_helper(obj8
);
15554 if (arg9
== NULL
) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 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
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= wxPyMake_wxObject(result
);
15601 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15604 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15605 wxToolBarToolBase
*result
;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "tool", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= wxPyMake_wxObject(result
);
15631 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15635 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15636 wxToolBarToolBase
*result
;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 PyObject
* obj2
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self",(char *) "pos",(char *) "tool", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15647 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= wxPyMake_wxObject(result
);
15667 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15670 wxControl
*arg2
= (wxControl
*) 0 ;
15671 wxToolBarToolBase
*result
;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self",(char *) "control", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= wxPyMake_wxObject(result
);
15697 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15701 wxControl
*arg3
= (wxControl
*) 0 ;
15702 wxToolBarToolBase
*result
;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 PyObject
* obj2
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self",(char *) "pos",(char *) "control", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15713 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= wxPyMake_wxObject(result
);
15733 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "id", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15747 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= wxPyMake_wxObject(result
);
15766 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15769 wxToolBarToolBase
*result
;
15770 PyObject
* obj0
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "self", NULL
15775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
15776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= wxPyMake_wxObject(result
);
15793 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15797 wxToolBarToolBase
*result
;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "pos", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15807 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= wxPyMake_wxObject(result
);
15826 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15830 wxToolBarToolBase
*result
;
15831 PyObject
* obj0
= 0 ;
15832 PyObject
* obj1
= 0 ;
15833 char *kwnames
[] = {
15834 (char *) "self",(char *) "id", NULL
15837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15851 resultobj
= wxPyMake_wxObject(result
);
15859 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "self",(char *) "pos", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15873 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15890 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
;
15892 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "id", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15904 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (bool)(arg1
)->DeleteTool(arg2
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15921 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 (arg1
)->ClearTools();
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 Py_INCREF(Py_None
); resultobj
= Py_None
;
15945 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (bool)(arg1
)->Realize();
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15970 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 PyObject
* obj1
= 0 ;
15977 PyObject
* obj2
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self",(char *) "id",(char *) "enable", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15985 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15989 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 (arg1
)->EnableTool(arg2
,arg3
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 Py_INCREF(Py_None
); resultobj
= Py_None
;
16006 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 PyObject
* obj2
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self",(char *) "id",(char *) "toggle", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16021 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16025 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 (arg1
)->ToggleTool(arg2
,arg3
);
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 Py_INCREF(Py_None
); resultobj
= Py_None
;
16042 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 PyObject
* obj1
= 0 ;
16049 PyObject
* obj2
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "id",(char *) "toggle", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16057 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16061 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 (arg1
)->SetToggle(arg2
,arg3
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 Py_INCREF(Py_None
); resultobj
= Py_None
;
16078 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 PyObject
* obj1
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self",(char *) "id", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16092 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= result
;
16109 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16113 PyObject
*arg3
= (PyObject
*) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 PyObject
* obj1
= 0 ;
16116 PyObject
* obj2
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self",(char *) "id",(char *) "clientData", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16124 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 Py_INCREF(Py_None
); resultobj
= Py_None
;
16142 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 PyObject
* obj1
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self",(char *) "id", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16156 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= SWIG_PyObj_FromInt((int)result
);
16173 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self",(char *) "id", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16187 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (bool)(arg1
)->GetToolState(arg2
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16204 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16209 PyObject
* obj0
= 0 ;
16210 PyObject
* obj1
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self",(char *) "id", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16235 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16239 wxString
*arg3
= 0 ;
16240 bool temp3
= False
;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 PyObject
* obj2
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self",(char *) "id",(char *) "helpString", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16251 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 arg3
= wxString_in_helper(obj2
);
16256 if (arg3
== NULL
) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 Py_INCREF(Py_None
); resultobj
= Py_None
;
16281 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16286 PyObject
* obj0
= 0 ;
16287 PyObject
* obj1
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self",(char *) "id", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16295 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (arg1
)->GetToolShortHelp(arg2
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16318 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
;
16320 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16322 wxString
*arg3
= 0 ;
16323 bool temp3
= False
;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 PyObject
* obj2
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self",(char *) "id",(char *) "helpString", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16334 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16338 arg3
= wxString_in_helper(obj2
);
16339 if (arg3
== NULL
) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 Py_INCREF(Py_None
); resultobj
= Py_None
;
16364 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self",(char *) "id", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16378 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (arg1
)->GetToolLongHelp(arg2
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16401 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 PyObject
* obj2
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self",(char *) "x",(char *) "y", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16416 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16420 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 (arg1
)->SetMargins(arg2
,arg3
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 Py_INCREF(Py_None
); resultobj
= Py_None
;
16437 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "size", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16452 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 Py_INCREF(Py_None
); resultobj
= Py_None
;
16468 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self",(char *) "packing", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16481 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 (arg1
)->SetToolPacking(arg2
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 Py_INCREF(Py_None
); resultobj
= Py_None
;
16498 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 PyObject
* obj1
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self",(char *) "separation", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16511 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 (arg1
)->SetToolSeparation(arg2
);
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 Py_INCREF(Py_None
); resultobj
= Py_None
;
16528 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (arg1
)->GetToolMargins();
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16547 wxSize
* resultptr
;
16548 resultptr
= new wxSize((wxSize
&) result
);
16549 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16557 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (arg1
)->GetMargins();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 wxSize
* resultptr
;
16577 resultptr
= new wxSize((wxSize
&) result
);
16578 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16586 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (int)(arg1
)->GetToolPacking();
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= SWIG_PyObj_FromInt((int)result
);
16611 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (int)(arg1
)->GetToolSeparation();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_PyObj_FromInt((int)result
);
16636 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self",(char *) "nRows", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16649 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 (arg1
)->SetRows(arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 Py_INCREF(Py_None
); resultobj
= Py_None
;
16666 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 PyObject
* obj1
= 0 ;
16673 PyObject
* obj2
= 0 ;
16674 char *kwnames
[] = {
16675 (char *) "self",(char *) "rows",(char *) "cols", NULL
16678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16681 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16685 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 Py_INCREF(Py_None
); resultobj
= Py_None
;
16702 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16706 PyObject
* obj0
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "self", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= (int)(arg1
)->GetMaxRows();
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_PyObj_FromInt((int)result
);
16727 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= (int)(arg1
)->GetMaxCols();
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= SWIG_PyObj_FromInt((int)result
);
16752 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self",(char *) "size", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16767 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16776 Py_INCREF(Py_None
); resultobj
= Py_None
;
16783 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16787 PyObject
* obj0
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
16793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= (arg1
)->GetToolBitmapSize();
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16802 wxSize
* resultptr
;
16803 resultptr
= new wxSize((wxSize
&) result
);
16804 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16812 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (arg1
)->GetToolSize();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 wxSize
* resultptr
;
16832 resultptr
= new wxSize((wxSize
&) result
);
16833 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16841 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16846 wxToolBarToolBase
*result
;
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_FindToolForPosition",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 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= wxPyMake_wxObject(result
);
16880 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16884 wxToolBarToolBase
*result
;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self",(char *) "toolid", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16894 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= wxPyMake_wxObject(result
);
16913 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (bool)(arg1
)->IsVertical();
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16938 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
16940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16941 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
16943 return Py_BuildValue((char *)"");
16945 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxWindow
*arg1
= (wxWindow
*) 0 ;
16949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16953 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
16954 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
16955 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16959 bool temp6
= False
;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 PyObject
* obj2
= 0 ;
16963 PyObject
* obj3
= 0 ;
16964 PyObject
* obj4
= 0 ;
16965 PyObject
* obj5
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16973 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16979 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16985 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16990 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16996 arg6
= wxString_in_helper(obj5
);
16997 if (arg6
== NULL
) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17009 resultobj
= wxPyMake_wxObject(result
);
17025 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17028 char *kwnames
[] = {
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 result
= (wxToolBar
*)new wxToolBar();
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= wxPyMake_wxObject(result
);
17049 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17052 wxWindow
*arg2
= (wxWindow
*) 0 ;
17054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17058 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17059 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17060 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17064 bool temp7
= False
;
17065 PyObject
* obj0
= 0 ;
17066 PyObject
* obj1
= 0 ;
17067 PyObject
* obj2
= 0 ;
17068 PyObject
* obj3
= 0 ;
17069 PyObject
* obj4
= 0 ;
17070 PyObject
* obj5
= 0 ;
17071 PyObject
* obj6
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17080 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17097 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17103 arg7
= wxString_in_helper(obj6
);
17104 if (arg7
== NULL
) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17130 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17135 wxToolBarToolBase
*result
;
17136 PyObject
* obj0
= 0 ;
17137 PyObject
* obj1
= 0 ;
17138 PyObject
* obj2
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self",(char *) "x",(char *) "y", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17146 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= wxPyMake_wxObject(result
);
17169 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17172 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17174 return Py_BuildValue((char *)"");
17176 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17177 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17182 static PyObject
*_wrap_ListCtrlNameStr_get() {
17187 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17189 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17196 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
;
17198 wxColour
const &arg1_defvalue
= wxNullColour
;
17199 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17200 wxColour
const &arg2_defvalue
= wxNullColour
;
17201 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17202 wxFont
const &arg3_defvalue
= wxNullFont
;
17203 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17204 wxListItemAttr
*result
;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17218 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17228 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17229 if (arg3
== NULL
) {
17230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17247 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17250 wxColour
*arg2
= 0 ;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self",(char *) "colText", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17262 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 Py_INCREF(Py_None
); resultobj
= Py_None
;
17278 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17281 wxColour
*arg2
= 0 ;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self",(char *) "colBack", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17293 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 Py_INCREF(Py_None
); resultobj
= Py_None
;
17309 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "self",(char *) "font", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17322 if (arg2
== NULL
) {
17323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 (arg1
)->SetFont((wxFont
const &)*arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17339 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 result
= (bool)(arg1
)->HasTextColour();
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17364 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
;
17366 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17368 PyObject
* obj0
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (bool)(arg1
)->HasBackgroundColour();
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17389 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17393 PyObject
* obj0
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (bool)(arg1
)->HasFont();
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17414 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17418 PyObject
* obj0
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (arg1
)->GetTextColour();
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 wxColour
* resultptr
;
17434 resultptr
= new wxColour((wxColour
&) result
);
17435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17443 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17447 PyObject
* obj0
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= (arg1
)->GetBackgroundColour();
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 wxColour
* resultptr
;
17463 resultptr
= new wxColour((wxColour
&) result
);
17464 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17472 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (arg1
)->GetFont();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 wxFont
* resultptr
;
17492 resultptr
= new wxFont((wxFont
&) result
);
17493 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17501 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17504 PyObject
* obj0
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 wxListItemAttr_Destroy(arg1
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 Py_INCREF(Py_None
); resultobj
= Py_None
;
17525 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17528 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17530 return Py_BuildValue((char *)"");
17532 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxListItem
*result
;
17535 char *kwnames
[] = {
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (wxListItem
*)new wxListItem();
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= wxPyMake_wxObject(result
);
17556 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxListItem
*arg1
= (wxListItem
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 Py_INCREF(Py_None
); resultobj
= Py_None
;
17580 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxListItem
*arg1
= (wxListItem
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 Py_INCREF(Py_None
); resultobj
= Py_None
;
17604 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxListItem
*arg1
= (wxListItem
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 (arg1
)->ClearAttributes();
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 Py_INCREF(Py_None
); resultobj
= Py_None
;
17628 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxListItem
*arg1
= (wxListItem
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "self",(char *) "mask", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17641 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 (arg1
)->SetMask(arg2
);
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 Py_INCREF(Py_None
); resultobj
= Py_None
;
17658 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxListItem
*arg1
= (wxListItem
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "self",(char *) "id", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17671 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 (arg1
)->SetId(arg2
);
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 Py_INCREF(Py_None
); resultobj
= Py_None
;
17688 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxListItem
*arg1
= (wxListItem
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "col", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17701 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 (arg1
)->SetColumn(arg2
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 Py_INCREF(Py_None
); resultobj
= Py_None
;
17718 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxListItem
*arg1
= (wxListItem
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 PyObject
* obj1
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self",(char *) "state", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17731 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 (arg1
)->SetState(arg2
);
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 Py_INCREF(Py_None
); resultobj
= Py_None
;
17748 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxListItem
*arg1
= (wxListItem
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 char *kwnames
[] = {
17755 (char *) "self",(char *) "stateMask", NULL
17758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17761 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 (arg1
)->SetStateMask(arg2
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 Py_INCREF(Py_None
); resultobj
= Py_None
;
17778 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxListItem
*arg1
= (wxListItem
*) 0 ;
17781 wxString
*arg2
= 0 ;
17782 bool temp2
= False
;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self",(char *) "text", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17792 arg2
= wxString_in_helper(obj1
);
17793 if (arg2
== NULL
) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 (arg1
)->SetText((wxString
const &)*arg2
);
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 Py_INCREF(Py_None
); resultobj
= Py_None
;
17818 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxListItem
*arg1
= (wxListItem
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "image", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17831 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 (arg1
)->SetImage(arg2
);
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 Py_INCREF(Py_None
); resultobj
= Py_None
;
17848 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxListItem
*arg1
= (wxListItem
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "data", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17861 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->SetData(arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxListItem
*arg1
= (wxListItem
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self",(char *) "width", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17891 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 (arg1
)->SetWidth(arg2
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 Py_INCREF(Py_None
); resultobj
= Py_None
;
17908 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxListItem
*arg1
= (wxListItem
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self",(char *) "align", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17921 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 Py_INCREF(Py_None
); resultobj
= Py_None
;
17938 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxListItem
*arg1
= (wxListItem
*) 0 ;
17941 wxColour
*arg2
= 0 ;
17943 PyObject
* obj0
= 0 ;
17944 PyObject
* obj1
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self",(char *) "colText", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17953 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 Py_INCREF(Py_None
); resultobj
= Py_None
;
17969 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxListItem
*arg1
= (wxListItem
*) 0 ;
17972 wxColour
*arg2
= 0 ;
17974 PyObject
* obj0
= 0 ;
17975 PyObject
* obj1
= 0 ;
17976 char *kwnames
[] = {
17977 (char *) "self",(char *) "colBack", NULL
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17984 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 Py_INCREF(Py_None
); resultobj
= Py_None
;
18000 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxListItem
*arg1
= (wxListItem
*) 0 ;
18004 PyObject
* obj0
= 0 ;
18005 PyObject
* obj1
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self",(char *) "font", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18012 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18013 if (arg2
== NULL
) {
18014 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->SetFont((wxFont
const &)*arg2
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18030 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxListItem
*arg1
= (wxListItem
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (long)(arg1
)->GetMask();
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_PyObj_FromLong((long)result
);
18055 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxListItem
*arg1
= (wxListItem
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (long)(arg1
)->GetId();
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= SWIG_PyObj_FromLong((long)result
);
18080 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxListItem
*arg1
= (wxListItem
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 result
= (int)(arg1
)->GetColumn();
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= SWIG_PyObj_FromInt((int)result
);
18105 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxListItem
*arg1
= (wxListItem
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (long)(arg1
)->GetState();
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= SWIG_PyObj_FromLong((long)result
);
18130 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxListItem
*arg1
= (wxListItem
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 wxString
const &_result_ref
= (arg1
)->GetText();
18145 result
= (wxString
*) &_result_ref
;
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18155 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18164 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxListItem
*arg1
= (wxListItem
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= (int)(arg1
)->GetImage();
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= SWIG_PyObj_FromInt((int)result
);
18189 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxListItem
*arg1
= (wxListItem
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 result
= (long)(arg1
)->GetData();
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_PyObj_FromLong((long)result
);
18214 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxListItem
*arg1
= (wxListItem
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 result
= (int)(arg1
)->GetWidth();
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= SWIG_PyObj_FromInt((int)result
);
18239 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxListItem
*arg1
= (wxListItem
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (int)(arg1
)->GetAlign();
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= SWIG_PyObj_FromInt((int)result
);
18264 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxListItem
*arg1
= (wxListItem
*) 0 ;
18267 wxListItemAttr
*result
;
18268 PyObject
* obj0
= 0 ;
18269 char *kwnames
[] = {
18270 (char *) "self", NULL
18273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18289 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxListItem
*arg1
= (wxListItem
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (bool)(arg1
)->HasAttributes();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18314 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxListItem
*arg1
= (wxListItem
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 wxColour
* resultptr
;
18334 resultptr
= new wxColour((wxColour
&) result
);
18335 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18343 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxListItem
*arg1
= (wxListItem
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18362 wxColour
* resultptr
;
18363 resultptr
= new wxColour((wxColour
&) result
);
18364 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18372 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxListItem
*arg1
= (wxListItem
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= ((wxListItem
const *)arg1
)->GetFont();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 wxFont
* resultptr
;
18392 resultptr
= new wxFont((wxFont
&) result
);
18393 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18401 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxListItem
*arg1
= (wxListItem
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self",(char *) "m_mask", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18414 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 if (arg1
) (arg1
)->m_mask
= arg2
;
18419 Py_INCREF(Py_None
); resultobj
= Py_None
;
18426 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxListItem
*arg1
= (wxListItem
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18437 result
= (long) ((arg1
)->m_mask
);
18439 resultobj
= SWIG_PyObj_FromLong((long)result
);
18446 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxListItem
*arg1
= (wxListItem
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self",(char *) "m_itemId", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18459 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 if (arg1
) (arg1
)->m_itemId
= arg2
;
18464 Py_INCREF(Py_None
); resultobj
= Py_None
;
18471 static PyObject
*_wrap_ListItem_m_itemId_get(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_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18482 result
= (long) ((arg1
)->m_itemId
);
18484 resultobj
= SWIG_PyObj_FromLong((long)result
);
18491 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxListItem
*arg1
= (wxListItem
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self",(char *) "m_col", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18504 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 if (arg1
) (arg1
)->m_col
= arg2
;
18509 Py_INCREF(Py_None
); resultobj
= Py_None
;
18516 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxListItem
*arg1
= (wxListItem
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18527 result
= (int) ((arg1
)->m_col
);
18529 resultobj
= SWIG_PyObj_FromInt((int)result
);
18536 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxListItem
*arg1
= (wxListItem
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 PyObject
* obj1
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self",(char *) "m_state", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18549 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 if (arg1
) (arg1
)->m_state
= arg2
;
18554 Py_INCREF(Py_None
); resultobj
= Py_None
;
18561 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18562 PyObject
*resultobj
;
18563 wxListItem
*arg1
= (wxListItem
*) 0 ;
18565 PyObject
* obj0
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "self", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18572 result
= (long) ((arg1
)->m_state
);
18574 resultobj
= SWIG_PyObj_FromLong((long)result
);
18581 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxListItem
*arg1
= (wxListItem
*) 0 ;
18585 PyObject
* obj0
= 0 ;
18586 PyObject
* obj1
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self",(char *) "m_stateMask", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18594 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18599 Py_INCREF(Py_None
); resultobj
= Py_None
;
18606 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxListItem
*arg1
= (wxListItem
*) 0 ;
18610 PyObject
* obj0
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18617 result
= (long) ((arg1
)->m_stateMask
);
18619 resultobj
= SWIG_PyObj_FromLong((long)result
);
18626 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxListItem
*arg1
= (wxListItem
*) 0 ;
18629 wxString
*arg2
= (wxString
*) 0 ;
18630 bool temp2
= False
;
18631 PyObject
* obj0
= 0 ;
18632 PyObject
* obj1
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self",(char *) "m_text", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18640 arg2
= wxString_in_helper(obj1
);
18641 if (arg2
== NULL
) SWIG_fail
;
18644 if (arg1
) (arg1
)->m_text
= *arg2
;
18646 Py_INCREF(Py_None
); resultobj
= Py_None
;
18661 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxListItem
*arg1
= (wxListItem
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18672 result
= (wxString
*)& ((arg1
)->m_text
);
18676 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18678 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18687 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxListItem
*arg1
= (wxListItem
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj1
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self",(char *) "m_image", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18700 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 if (arg1
) (arg1
)->m_image
= arg2
;
18705 Py_INCREF(Py_None
); resultobj
= Py_None
;
18712 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18713 PyObject
*resultobj
;
18714 wxListItem
*arg1
= (wxListItem
*) 0 ;
18716 PyObject
* obj0
= 0 ;
18717 char *kwnames
[] = {
18718 (char *) "self", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18723 result
= (int) ((arg1
)->m_image
);
18725 resultobj
= SWIG_PyObj_FromInt((int)result
);
18732 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxListItem
*arg1
= (wxListItem
*) 0 ;
18736 PyObject
* obj0
= 0 ;
18737 PyObject
* obj1
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self",(char *) "m_data", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18745 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18748 if (arg1
) (arg1
)->m_data
= arg2
;
18750 Py_INCREF(Py_None
); resultobj
= Py_None
;
18757 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxListItem
*arg1
= (wxListItem
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18768 result
= (long) ((arg1
)->m_data
);
18770 resultobj
= SWIG_PyObj_FromLong((long)result
);
18777 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
;
18779 wxListItem
*arg1
= (wxListItem
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self",(char *) "m_format", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18790 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 if (arg1
) (arg1
)->m_format
= arg2
;
18795 Py_INCREF(Py_None
); resultobj
= Py_None
;
18802 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxListItem
*arg1
= (wxListItem
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
18812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18813 result
= (int) ((arg1
)->m_format
);
18815 resultobj
= SWIG_PyObj_FromInt((int)result
);
18822 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxListItem
*arg1
= (wxListItem
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self",(char *) "m_width", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18835 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 if (arg1
) (arg1
)->m_width
= arg2
;
18840 Py_INCREF(Py_None
); resultobj
= Py_None
;
18847 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxListItem
*arg1
= (wxListItem
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18858 result
= (int) ((arg1
)->m_width
);
18860 resultobj
= SWIG_PyObj_FromInt((int)result
);
18867 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
18869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18870 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
18872 return Py_BuildValue((char *)"");
18874 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18877 int arg2
= (int) 0 ;
18878 wxListEvent
*result
;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "commandType",(char *) "id", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18888 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18894 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
18912 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "m_code", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18925 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 if (arg1
) (arg1
)->m_code
= arg2
;
18930 Py_INCREF(Py_None
); resultobj
= Py_None
;
18937 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
;
18939 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18941 PyObject
* obj0
= 0 ;
18942 char *kwnames
[] = {
18943 (char *) "self", NULL
18946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
18947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18948 result
= (int) ((arg1
)->m_code
);
18950 resultobj
= SWIG_PyObj_FromInt((int)result
);
18957 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self",(char *) "m_oldItemIndex", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18970 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
18975 Py_INCREF(Py_None
); resultobj
= Py_None
;
18982 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
18992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18993 result
= (long) ((arg1
)->m_oldItemIndex
);
18995 resultobj
= SWIG_PyObj_FromLong((long)result
);
19002 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self",(char *) "m_itemIndex", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19015 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19020 Py_INCREF(Py_None
); resultobj
= Py_None
;
19027 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19038 result
= (long) ((arg1
)->m_itemIndex
);
19040 resultobj
= SWIG_PyObj_FromLong((long)result
);
19047 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "m_col", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 if (arg1
) (arg1
)->m_col
= arg2
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19083 result
= (int) ((arg1
)->m_col
);
19085 resultobj
= SWIG_PyObj_FromInt((int)result
);
19092 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19095 wxPoint
*arg2
= (wxPoint
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "m_pointDrag", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19105 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19107 Py_INCREF(Py_None
); resultobj
= Py_None
;
19114 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19125 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19134 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19137 wxListItem
*result
;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19145 result
= (wxListItem
*)& ((arg1
)->m_item
);
19148 resultobj
= wxPyMake_wxObject(result
);
19156 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= (int)(arg1
)->GetKeyCode();
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 resultobj
= SWIG_PyObj_FromInt((int)result
);
19181 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19185 PyObject
* obj0
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (long)(arg1
)->GetIndex();
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= SWIG_PyObj_FromLong((long)result
);
19206 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self", NULL
19215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 result
= (int)(arg1
)->GetColumn();
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= SWIG_PyObj_FromInt((int)result
);
19231 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= (arg1
)->GetPoint();
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19250 wxPoint
* resultptr
;
19251 resultptr
= new wxPoint((wxPoint
&) result
);
19252 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19260 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 wxString
const &_result_ref
= (arg1
)->GetLabel();
19275 result
= (wxString
*) &_result_ref
;
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19285 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19294 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 wxString
const &_result_ref
= (arg1
)->GetText();
19309 result
= (wxString
*) &_result_ref
;
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19319 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19328 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (int)(arg1
)->GetImage();
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_PyObj_FromInt((int)result
);
19353 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (long)(arg1
)->GetData();
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_PyObj_FromLong((long)result
);
19378 static PyObject
*_wrap_ListEvent_GetMask(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_GetMask",kwnames
,&obj0
)) goto fail
;
19388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 result
= (long)(arg1
)->GetMask();
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= SWIG_PyObj_FromLong((long)result
);
19403 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19406 wxListItem
*result
;
19407 PyObject
* obj0
= 0 ;
19408 char *kwnames
[] = {
19409 (char *) "self", NULL
19412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19418 result
= (wxListItem
*) &_result_ref
;
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19431 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19435 PyObject
* obj0
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "self", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 result
= (long)(arg1
)->GetCacheFrom();
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= SWIG_PyObj_FromLong((long)result
);
19456 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (long)(arg1
)->GetCacheTo();
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= SWIG_PyObj_FromLong((long)result
);
19481 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19485 PyObject
* obj0
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "self", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19506 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19507 PyObject
*resultobj
;
19508 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self",(char *) "editCancelled", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19519 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 (arg1
)->SetEditCanceled(arg2
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 Py_INCREF(Py_None
); resultobj
= Py_None
;
19536 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19539 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19541 return Py_BuildValue((char *)"");
19543 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxWindow
*arg1
= (wxWindow
*) 0 ;
19546 int arg2
= (int) -1 ;
19547 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19548 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19549 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19550 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19551 long arg5
= (long) wxLC_ICON
;
19552 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19553 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19554 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19556 wxPyListCtrl
*result
;
19559 bool temp7
= False
;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 PyObject
* obj2
= 0 ;
19563 PyObject
* obj3
= 0 ;
19564 PyObject
* obj4
= 0 ;
19565 PyObject
* obj5
= 0 ;
19566 PyObject
* obj6
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19575 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19582 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19588 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19593 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19598 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19599 if (arg6
== NULL
) {
19600 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19605 arg7
= wxString_in_helper(obj6
);
19606 if (arg7
== NULL
) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19632 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxPyListCtrl
*result
;
19635 char *kwnames
[] = {
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19654 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
;
19656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19657 wxWindow
*arg2
= (wxWindow
*) 0 ;
19658 int arg3
= (int) -1 ;
19659 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19660 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19661 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19662 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19663 long arg6
= (long) wxLC_ICON
;
19664 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19665 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19666 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19667 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19671 bool temp8
= False
;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19674 PyObject
* obj2
= 0 ;
19675 PyObject
* obj3
= 0 ;
19676 PyObject
* obj4
= 0 ;
19677 PyObject
* obj5
= 0 ;
19678 PyObject
* obj6
= 0 ;
19679 PyObject
* obj7
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19689 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19696 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19702 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19707 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19712 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19713 if (arg7
== NULL
) {
19714 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19719 arg8
= wxString_in_helper(obj7
);
19720 if (arg8
== NULL
) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19746 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19749 PyObject
*arg2
= (PyObject
*) 0 ;
19750 PyObject
*arg3
= (PyObject
*) 0 ;
19751 PyObject
* obj0
= 0 ;
19752 PyObject
* obj1
= 0 ;
19753 PyObject
* obj2
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self",(char *) "self",(char *) "_class", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 Py_INCREF(Py_None
); resultobj
= Py_None
;
19776 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19779 wxColour
*arg2
= 0 ;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self",(char *) "col", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19792 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19808 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19811 wxColour
*arg2
= 0 ;
19814 PyObject
* obj0
= 0 ;
19815 PyObject
* obj1
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self",(char *) "col", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19824 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19840 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
;
19842 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19844 wxListItem
*result
;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self",(char *) "col", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19854 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= wxPyMake_wxObject(result
);
19873 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19877 wxListItem
*arg3
= 0 ;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj1
= 0 ;
19881 PyObject
* obj2
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self",(char *) "col",(char *) "item", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19889 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19893 if (arg3
== NULL
) {
19894 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19910 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self",(char *) "col", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19924 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_PyObj_FromInt((int)result
);
19941 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 PyObject
* obj2
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self",(char *) "col",(char *) "width", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19957 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19961 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19978 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
;
19980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
19988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= SWIG_PyObj_FromInt((int)result
);
20003 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20022 wxRect
* resultptr
;
20023 resultptr
= new wxRect((wxRect
&) result
);
20024 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20032 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20036 int arg3
= (int) 0 ;
20037 wxListItem
*result
;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 PyObject
* obj2
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self",(char *) "itemId",(char *) "col", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20048 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20053 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= wxPyMake_wxObject(result
);
20073 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20076 wxListItem
*arg2
= 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self",(char *) "info", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20087 if (arg2
== NULL
) {
20088 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (bool)(arg1
)->SetItem(*arg2
);
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20104 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20109 wxString
*arg4
= 0 ;
20110 int arg5
= (int) -1 ;
20112 bool temp4
= False
;
20113 PyObject
* obj0
= 0 ;
20114 PyObject
* obj1
= 0 ;
20115 PyObject
* obj2
= 0 ;
20116 PyObject
* obj3
= 0 ;
20117 PyObject
* obj4
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20125 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20129 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20133 arg4
= wxString_in_helper(obj3
);
20134 if (arg4
== NULL
) SWIG_fail
;
20139 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_PyObj_FromLong((long)result
);
20165 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 PyObject
* obj1
= 0 ;
20173 PyObject
* obj2
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20181 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= SWIG_PyObj_FromInt((int)result
);
20202 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 PyObject
* obj2
= 0 ;
20212 PyObject
* obj3
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20220 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20228 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20245 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20252 PyObject
* obj0
= 0 ;
20253 PyObject
* obj1
= 0 ;
20254 PyObject
* obj2
= 0 ;
20255 PyObject
* obj3
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20263 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20267 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20288 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self",(char *) "item", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20302 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20325 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20329 wxString
*arg3
= 0 ;
20330 bool temp3
= False
;
20331 PyObject
* obj0
= 0 ;
20332 PyObject
* obj1
= 0 ;
20333 PyObject
* obj2
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self",(char *) "item",(char *) "str", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20341 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20345 arg3
= wxString_in_helper(obj2
);
20346 if (arg3
== NULL
) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 Py_INCREF(Py_None
); resultobj
= Py_None
;
20371 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self",(char *) "item", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20385 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_PyObj_FromLong((long)result
);
20402 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 PyObject
* obj1
= 0 ;
20410 PyObject
* obj2
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self",(char *) "item",(char *) "data", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20418 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20422 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20439 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20444 PyObject
* obj0
= 0 ;
20445 PyObject
* obj1
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self",(char *) "item", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20453 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 wxPoint
* resultptr
;
20465 resultptr
= new wxPoint((wxPoint
&) result
);
20466 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20474 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
;
20476 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20478 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20480 PyObject
* obj0
= 0 ;
20481 PyObject
* obj1
= 0 ;
20482 PyObject
* obj2
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self",(char *) "item",(char *) "code", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20490 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20495 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20507 wxRect
* resultptr
;
20508 resultptr
= new wxRect((wxRect
&) result
);
20509 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20517 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20521 wxPoint
*arg3
= 0 ;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 PyObject
* obj2
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self",(char *) "item",(char *) "pos", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20534 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20555 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 char *kwnames
[] = {
20561 (char *) "self", NULL
20564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_PyObj_FromInt((int)result
);
20580 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_PyObj_FromInt((int)result
);
20605 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 wxSize
* resultptr
;
20625 resultptr
= new wxSize((wxSize
&) result
);
20626 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20634 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20638 bool arg3
= (bool) False
;
20639 PyObject
* obj0
= 0 ;
20640 PyObject
* obj1
= 0 ;
20641 PyObject
* obj2
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",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
= (int) SWIG_PyObj_AsInt(obj1
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20654 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 (arg1
)->SetItemSpacing(arg2
,arg3
);
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 Py_INCREF(Py_None
); resultobj
= Py_None
;
20672 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20673 PyObject
*resultobj
;
20674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20676 PyObject
* obj0
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "self", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_PyObj_FromInt((int)result
);
20697 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20716 wxColour
* resultptr
;
20717 resultptr
= new wxColour((wxColour
&) result
);
20718 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20726 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20729 wxColour
*arg2
= 0 ;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "self",(char *) "col", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 Py_INCREF(Py_None
); resultobj
= Py_None
;
20757 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= SWIG_PyObj_FromLong((long)result
);
20782 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20786 bool arg3
= (bool) True
;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 PyObject
* obj2
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "self",(char *) "style",(char *) "add", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20797 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20802 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 (arg1
)->SetSingleStyle(arg2
,arg3
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 Py_INCREF(Py_None
); resultobj
= Py_None
;
20820 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self",(char *) "style", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20833 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 (arg1
)->SetWindowStyleFlag(arg2
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 Py_INCREF(Py_None
); resultobj
= Py_None
;
20850 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
;
20852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20854 int arg3
= (int) wxLIST_NEXT_ALL
;
20855 int arg4
= (int) wxLIST_STATE_DONTCARE
;
20857 PyObject
* obj0
= 0 ;
20858 PyObject
* obj1
= 0 ;
20859 PyObject
* obj2
= 0 ;
20860 PyObject
* obj3
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20868 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20873 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20879 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_PyObj_FromLong((long)result
);
20897 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20901 wxImageList
*result
;
20902 PyObject
* obj0
= 0 ;
20903 PyObject
* obj1
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self",(char *) "which", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20911 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= wxPyMake_wxObject(result
);
20930 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20933 wxImageList
*arg2
= (wxImageList
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 PyObject
* obj2
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self",(char *) "imageList",(char *) "which", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20946 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 (arg1
)->SetImageList(arg2
,arg3
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 Py_INCREF(Py_None
); resultobj
= Py_None
;
20963 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20966 wxImageList
*arg2
= (wxImageList
*) 0 ;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 PyObject
* obj2
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "imageList",(char *) "which", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20979 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 (arg1
)->AssignImageList(arg2
,arg3
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 Py_INCREF(Py_None
); resultobj
= Py_None
;
20996 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21000 PyObject
* obj0
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21021 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self",(char *) "item", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21034 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 (arg1
)->RefreshItem(arg2
);
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21044 Py_INCREF(Py_None
); resultobj
= Py_None
;
21051 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
;
21053 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 PyObject
* obj2
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21066 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21070 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 (arg1
)->RefreshItems(arg2
,arg3
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 Py_INCREF(Py_None
); resultobj
= Py_None
;
21087 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
;
21089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21090 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21092 PyObject
* obj0
= 0 ;
21093 PyObject
* obj1
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self",(char *) "flag", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21102 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (bool)(arg1
)->Arrange(arg2
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21120 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self",(char *) "item", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21134 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 result
= (bool)(arg1
)->DeleteItem(arg2
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21151 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21155 PyObject
* obj0
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (bool)(arg1
)->DeleteAllItems();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21176 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self",(char *) "col", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21190 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21207 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (bool)(arg1
)->DeleteAllColumns();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21232 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21235 PyObject
* obj0
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 (arg1
)->ClearAll();
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 Py_INCREF(Py_None
); resultobj
= Py_None
;
21256 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21260 PyObject
* obj0
= 0 ;
21261 PyObject
* obj1
= 0 ;
21262 char *kwnames
[] = {
21263 (char *) "self",(char *) "item", NULL
21266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21269 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 (arg1
)->EditLabel(arg2
);
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 Py_INCREF(Py_None
); resultobj
= Py_None
;
21286 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self",(char *) "item", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21300 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21317 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21321 wxString
*arg3
= 0 ;
21322 bool arg4
= (bool) False
;
21324 bool temp3
= False
;
21325 PyObject
* obj0
= 0 ;
21326 PyObject
* obj1
= 0 ;
21327 PyObject
* obj2
= 0 ;
21328 PyObject
* obj3
= 0 ;
21329 char *kwnames
[] = {
21330 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21336 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21340 arg3
= wxString_in_helper(obj2
);
21341 if (arg3
== NULL
) SWIG_fail
;
21346 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= SWIG_PyObj_FromLong((long)result
);
21372 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 PyObject
* obj2
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "self",(char *) "start",(char *) "data", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21388 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21392 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= SWIG_PyObj_FromLong((long)result
);
21409 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21413 wxPoint
*arg3
= 0 ;
21417 PyObject
* obj0
= 0 ;
21418 PyObject
* obj1
= 0 ;
21419 PyObject
* obj2
= 0 ;
21420 PyObject
* obj3
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21428 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21436 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_PyObj_FromLong((long)result
);
21453 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21456 wxPoint
*arg2
= 0 ;
21461 PyObject
* obj0
= 0 ;
21462 PyObject
* obj1
= 0 ;
21463 char *kwnames
[] = {
21464 (char *) "self",(char *) "point", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 resultobj
= SWIG_PyObj_FromLong((long)result
);
21483 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21484 resultobj
= t_output_helper(resultobj
,o
);
21492 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21495 wxListItem
*arg2
= 0 ;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self",(char *) "info", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21506 if (arg2
== NULL
) {
21507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 result
= (long)(arg1
)->InsertItem(*arg2
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_PyObj_FromLong((long)result
);
21523 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21527 wxString
*arg3
= 0 ;
21529 bool temp3
= False
;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 PyObject
* obj2
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self",(char *) "index",(char *) "label", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21540 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 arg3
= wxString_in_helper(obj2
);
21545 if (arg3
== NULL
) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= SWIG_PyObj_FromLong((long)result
);
21570 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj2
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21586 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21590 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= SWIG_PyObj_FromLong((long)result
);
21607 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21611 wxString
*arg3
= 0 ;
21614 bool temp3
= False
;
21615 PyObject
* obj0
= 0 ;
21616 PyObject
* obj1
= 0 ;
21617 PyObject
* obj2
= 0 ;
21618 PyObject
* obj3
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21626 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 arg3
= wxString_in_helper(obj2
);
21631 if (arg3
== NULL
) SWIG_fail
;
21635 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= SWIG_PyObj_FromLong((long)result
);
21660 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21664 wxListItem
*arg3
= 0 ;
21666 PyObject
* obj0
= 0 ;
21667 PyObject
* obj1
= 0 ;
21668 PyObject
* obj2
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self",(char *) "col",(char *) "info", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21676 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21680 if (arg3
== NULL
) {
21681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= SWIG_PyObj_FromLong((long)result
);
21697 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21701 wxString
*arg3
= 0 ;
21702 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21703 int arg5
= (int) -1 ;
21705 bool temp3
= False
;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 PyObject
* obj2
= 0 ;
21709 PyObject
* obj3
= 0 ;
21710 PyObject
* obj4
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21718 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21722 arg3
= wxString_in_helper(obj2
);
21723 if (arg3
== NULL
) SWIG_fail
;
21728 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21734 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_PyObj_FromLong((long)result
);
21760 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21761 PyObject
*resultobj
;
21762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self",(char *) "count", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
21771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21773 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->SetItemCount(arg2
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 Py_INCREF(Py_None
); resultobj
= Py_None
;
21790 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 PyObject
* obj2
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self",(char *) "dx",(char *) "dy", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21806 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21810 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21827 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21831 wxColour
*arg3
= 0 ;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 PyObject
* obj2
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "self",(char *) "item",(char *) "col", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21843 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21848 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 Py_INCREF(Py_None
); resultobj
= Py_None
;
21864 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "item", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21878 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 wxColour
* resultptr
;
21890 resultptr
= new wxColour((wxColour
&) result
);
21891 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21899 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21903 wxColour
*arg3
= 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 PyObject
* obj2
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self",(char *) "item",(char *) "col", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21915 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21920 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 Py_INCREF(Py_None
); resultobj
= Py_None
;
21936 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self",(char *) "item", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21950 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 wxColour
* resultptr
;
21962 resultptr
= new wxColour((wxColour
&) result
);
21963 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21971 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21974 PyObject
*arg2
= (PyObject
*) 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self",(char *) "func", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
21983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21999 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22003 PyObject
* obj0
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= wxPyMake_wxObject(result
);
22026 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22029 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22031 return Py_BuildValue((char *)"");
22033 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxWindow
*arg1
= (wxWindow
*) 0 ;
22036 int arg2
= (int) -1 ;
22037 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22038 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22039 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22040 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22041 long arg5
= (long) wxLC_REPORT
;
22042 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22043 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22044 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22045 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22046 wxListView
*result
;
22049 bool temp7
= False
;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 PyObject
* obj2
= 0 ;
22053 PyObject
* obj3
= 0 ;
22054 PyObject
* obj4
= 0 ;
22055 PyObject
* obj5
= 0 ;
22056 PyObject
* obj6
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22065 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22078 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22083 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22088 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22089 if (arg6
== NULL
) {
22090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22095 arg7
= wxString_in_helper(obj6
);
22096 if (arg7
== NULL
) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22122 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxListView
*result
;
22125 char *kwnames
[] = {
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 result
= (wxListView
*)new wxListView();
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22144 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
;
22146 wxListView
*arg1
= (wxListView
*) 0 ;
22147 wxWindow
*arg2
= (wxWindow
*) 0 ;
22148 int arg3
= (int) -1 ;
22149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22153 long arg6
= (long) wxLC_REPORT
;
22154 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22155 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22156 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22157 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22161 bool temp8
= False
;
22162 PyObject
* obj0
= 0 ;
22163 PyObject
* obj1
= 0 ;
22164 PyObject
* obj2
= 0 ;
22165 PyObject
* obj3
= 0 ;
22166 PyObject
* obj4
= 0 ;
22167 PyObject
* obj5
= 0 ;
22168 PyObject
* obj6
= 0 ;
22169 PyObject
* obj7
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22179 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22197 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22202 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22203 if (arg7
== NULL
) {
22204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22209 arg8
= wxString_in_helper(obj7
);
22210 if (arg8
== NULL
) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22236 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxListView
*arg1
= (wxListView
*) 0 ;
22240 bool arg3
= (bool) True
;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 PyObject
* obj2
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "n",(char *) "on", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22251 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22256 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 (arg1
)->Select(arg2
,arg3
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 Py_INCREF(Py_None
); resultobj
= Py_None
;
22274 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxListView
*arg1
= (wxListView
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "index", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22287 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 (arg1
)->Focus(arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 Py_INCREF(Py_None
); resultobj
= Py_None
;
22304 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxListView
*arg1
= (wxListView
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_PyObj_FromLong((long)result
);
22329 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxListView
*arg1
= (wxListView
*) 0 ;
22334 PyObject
* obj0
= 0 ;
22335 PyObject
* obj1
= 0 ;
22336 char *kwnames
[] = {
22337 (char *) "self",(char *) "item", NULL
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22343 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_PyObj_FromLong((long)result
);
22360 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxListView
*arg1
= (wxListView
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 resultobj
= SWIG_PyObj_FromLong((long)result
);
22385 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxListView
*arg1
= (wxListView
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self",(char *) "index", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22399 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (bool)(arg1
)->IsSelected(arg2
);
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22416 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxListView
*arg1
= (wxListView
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 PyObject
* obj2
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self",(char *) "col",(char *) "image", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22431 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22435 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 (arg1
)->SetColumnImage(arg2
,arg3
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 Py_INCREF(Py_None
); resultobj
= Py_None
;
22452 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxListView
*arg1
= (wxListView
*) 0 ;
22456 PyObject
* obj0
= 0 ;
22457 PyObject
* obj1
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self",(char *) "col", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22465 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 (arg1
)->ClearColumnImage(arg2
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 Py_INCREF(Py_None
); resultobj
= Py_None
;
22482 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22485 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22487 return Py_BuildValue((char *)"");
22489 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22490 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22495 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22500 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22502 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22509 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxTreeItemId
*result
;
22512 char *kwnames
[] = {
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 result
= (wxTreeItemId
*)new wxTreeItemId();
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22531 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22534 PyObject
* obj0
= 0 ;
22535 char *kwnames
[] = {
22536 (char *) "self", NULL
22539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 Py_INCREF(Py_None
); resultobj
= Py_None
;
22555 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22580 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22583 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "other", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22608 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22611 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self",(char *) "other", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22636 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22639 void *arg2
= (void *) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "m_pItem", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22649 if (arg1
) (arg1
)->m_pItem
= arg2
;
22651 Py_INCREF(Py_None
); resultobj
= Py_None
;
22658 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22662 PyObject
* obj0
= 0 ;
22663 char *kwnames
[] = {
22664 (char *) "self", NULL
22667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22669 result
= (void *) ((arg1
)->m_pItem
);
22671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22678 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22681 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22683 return Py_BuildValue((char *)"");
22685 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 PyObject
*arg1
= (PyObject
*) NULL
;
22688 wxPyTreeItemData
*result
;
22689 PyObject
* obj0
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "obj", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
22712 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22714 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (PyObject
*)(arg1
)->GetData();
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 resultobj
= result
;
22737 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22740 PyObject
*arg2
= (PyObject
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 PyObject
* obj1
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "self",(char *) "obj", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 (arg1
)->SetData(arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 Py_INCREF(Py_None
); resultobj
= Py_None
;
22764 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22766 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22767 wxTreeItemId
*result
;
22768 PyObject
* obj0
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
22774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
22779 result
= (wxTreeItemId
*) &_result_ref
;
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
22792 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22795 wxTreeItemId
*arg2
= 0 ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "id", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22805 if (arg2
== NULL
) {
22806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 Py_INCREF(Py_None
); resultobj
= Py_None
;
22822 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22825 PyObject
* obj0
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 wxPyTreeItemData_Destroy(arg1
);
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 Py_INCREF(Py_None
); resultobj
= Py_None
;
22846 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
22848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22849 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
22851 return Py_BuildValue((char *)"");
22853 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22856 int arg2
= (int) 0 ;
22857 wxTreeEvent
*result
;
22858 PyObject
* obj0
= 0 ;
22859 PyObject
* obj1
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "commandType",(char *) "id", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22867 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22873 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
22891 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22894 wxTreeItemId result
;
22895 PyObject
* obj0
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22910 wxTreeItemId
* resultptr
;
22911 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22920 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22923 wxTreeItemId
*arg2
= 0 ;
22924 PyObject
* obj0
= 0 ;
22925 PyObject
* obj1
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self",(char *) "item", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22933 if (arg2
== NULL
) {
22934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 Py_INCREF(Py_None
); resultobj
= Py_None
;
22950 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22953 wxTreeItemId result
;
22954 PyObject
* obj0
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22969 wxTreeItemId
* resultptr
;
22970 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22971 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22979 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
;
22981 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22982 wxTreeItemId
*arg2
= 0 ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "item", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22992 if (arg2
== NULL
) {
22993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 Py_INCREF(Py_None
); resultobj
= Py_None
;
23009 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23028 wxPoint
* resultptr
;
23029 resultptr
= new wxPoint((wxPoint
&) result
);
23030 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23038 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23041 wxPoint
*arg2
= 0 ;
23043 PyObject
* obj0
= 0 ;
23044 PyObject
* obj1
= 0 ;
23045 char *kwnames
[] = {
23046 (char *) "self",(char *) "pt", NULL
23049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 Py_INCREF(Py_None
); resultobj
= Py_None
;
23069 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23072 wxKeyEvent
*result
;
23073 PyObject
* obj0
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23084 result
= (wxKeyEvent
*) &_result_ref
;
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23097 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23101 PyObject
* obj0
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 resultobj
= SWIG_PyObj_FromInt((int)result
);
23122 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23125 wxKeyEvent
*arg2
= 0 ;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 char *kwnames
[] = {
23129 (char *) "self",(char *) "evt", NULL
23132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23135 if (arg2
== NULL
) {
23136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 Py_INCREF(Py_None
); resultobj
= Py_None
;
23152 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 char *kwnames
[] = {
23158 (char *) "self", NULL
23161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23167 result
= (wxString
*) &_result_ref
;
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23177 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23186 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23189 wxString
*arg2
= 0 ;
23190 bool temp2
= False
;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self",(char *) "label", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23200 arg2
= wxString_in_helper(obj1
);
23201 if (arg2
== NULL
) SWIG_fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 (arg1
)->SetLabel((wxString
const &)*arg2
);
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 Py_INCREF(Py_None
); resultobj
= Py_None
;
23226 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23230 PyObject
* obj0
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23251 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self",(char *) "editCancelled", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23264 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 (arg1
)->SetEditCanceled(arg2
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23274 Py_INCREF(Py_None
); resultobj
= Py_None
;
23281 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
;
23283 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23284 wxString
*arg2
= 0 ;
23285 bool temp2
= False
;
23286 PyObject
* obj0
= 0 ;
23287 PyObject
* obj1
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self",(char *) "toolTip", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23295 arg2
= wxString_in_helper(obj1
);
23296 if (arg2
== NULL
) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23306 Py_INCREF(Py_None
); resultobj
= Py_None
;
23321 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23324 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23326 return Py_BuildValue((char *)"");
23328 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxWindow
*arg1
= (wxWindow
*) 0 ;
23331 int arg2
= (int) -1 ;
23332 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23333 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23334 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23335 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23336 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23337 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23338 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23339 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23340 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23341 wxPyTreeCtrl
*result
;
23344 bool temp7
= False
;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 PyObject
* obj2
= 0 ;
23348 PyObject
* obj3
= 0 ;
23349 PyObject
* obj4
= 0 ;
23350 PyObject
* obj5
= 0 ;
23351 PyObject
* obj6
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23360 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23367 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23373 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23378 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23383 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23384 if (arg6
== NULL
) {
23385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23390 arg7
= wxString_in_helper(obj6
);
23391 if (arg7
== NULL
) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= wxPyMake_wxObject(result
);
23419 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxPyTreeCtrl
*result
;
23422 char *kwnames
[] = {
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= wxPyMake_wxObject(result
);
23443 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23446 wxWindow
*arg2
= (wxWindow
*) 0 ;
23447 int arg3
= (int) -1 ;
23448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23452 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23453 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23454 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23455 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23456 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23460 bool temp8
= False
;
23461 PyObject
* obj0
= 0 ;
23462 PyObject
* obj1
= 0 ;
23463 PyObject
* obj2
= 0 ;
23464 PyObject
* obj3
= 0 ;
23465 PyObject
* obj4
= 0 ;
23466 PyObject
* obj5
= 0 ;
23467 PyObject
* obj6
= 0 ;
23468 PyObject
* obj7
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23478 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23496 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23501 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23502 if (arg7
== NULL
) {
23503 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23508 arg8
= wxString_in_helper(obj7
);
23509 if (arg8
== NULL
) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23535 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23538 PyObject
*arg2
= (PyObject
*) 0 ;
23539 PyObject
*arg3
= (PyObject
*) 0 ;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 PyObject
* obj2
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self",(char *) "self",(char *) "_class", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 Py_INCREF(Py_None
); resultobj
= Py_None
;
23565 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23590 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23593 unsigned int result
;
23594 PyObject
* obj0
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "self", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23615 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23618 unsigned int arg2
;
23619 PyObject
* obj0
= 0 ;
23620 PyObject
* obj1
= 0 ;
23621 char *kwnames
[] = {
23622 (char *) "self",(char *) "indent", NULL
23625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23628 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 (arg1
)->SetIndent(arg2
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 Py_INCREF(Py_None
); resultobj
= Py_None
;
23645 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
;
23647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23648 unsigned int result
;
23649 PyObject
* obj0
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23670 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
;
23672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23673 unsigned int arg2
;
23674 PyObject
* obj0
= 0 ;
23675 PyObject
* obj1
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self",(char *) "spacing", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23683 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 (arg1
)->SetSpacing(arg2
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 Py_INCREF(Py_None
); resultobj
= Py_None
;
23700 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23703 wxImageList
*result
;
23704 PyObject
* obj0
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "self", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= wxPyMake_wxObject(result
);
23727 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23730 wxImageList
*result
;
23731 PyObject
* obj0
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= wxPyMake_wxObject(result
);
23754 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23757 wxImageList
*arg2
= (wxImageList
*) 0 ;
23758 PyObject
* obj0
= 0 ;
23759 PyObject
* obj1
= 0 ;
23760 char *kwnames
[] = {
23761 (char *) "self",(char *) "imageList", NULL
23764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 (arg1
)->SetImageList(arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 Py_INCREF(Py_None
); resultobj
= Py_None
;
23781 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23784 wxImageList
*arg2
= (wxImageList
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 PyObject
* obj1
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "self",(char *) "imageList", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 (arg1
)->SetStateImageList(arg2
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 Py_INCREF(Py_None
); resultobj
= Py_None
;
23808 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23811 wxImageList
*arg2
= (wxImageList
*) 0 ;
23812 PyObject
* obj0
= 0 ;
23813 PyObject
* obj1
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self",(char *) "imageList", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 (arg1
)->AssignImageList(arg2
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 Py_INCREF(Py_None
); resultobj
= Py_None
;
23835 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23838 wxImageList
*arg2
= (wxImageList
*) 0 ;
23839 PyObject
* obj0
= 0 ;
23840 PyObject
* obj1
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self",(char *) "imageList", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 (arg1
)->AssignStateImageList(arg2
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 Py_INCREF(Py_None
); resultobj
= Py_None
;
23862 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23865 wxTreeItemId
*arg2
= 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "self",(char *) "item", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
23874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23875 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23876 if (arg2
== NULL
) {
23877 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23899 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23902 wxTreeItemId
*arg2
= 0 ;
23903 int arg3
= (int) wxTreeItemIcon_Normal
;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 PyObject
* obj2
= 0 ;
23908 char *kwnames
[] = {
23909 (char *) "self",(char *) "item",(char *) "which", NULL
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23915 if (arg2
== NULL
) {
23916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23920 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= SWIG_PyObj_FromInt((int)result
);
23938 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23941 wxTreeItemId
*arg2
= 0 ;
23942 wxPyTreeItemData
*result
;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self",(char *) "item", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23952 if (arg2
== NULL
) {
23953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
23969 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
;
23971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23972 wxTreeItemId
*arg2
= 0 ;
23974 PyObject
* obj0
= 0 ;
23975 PyObject
* obj1
= 0 ;
23976 char *kwnames
[] = {
23977 (char *) "self",(char *) "item", NULL
23980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
23981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23982 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23983 if (arg2
== NULL
) {
23984 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= result
;
24000 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24003 wxTreeItemId
*arg2
= 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "item", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24014 if (arg2
== NULL
) {
24015 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24025 wxColour
* resultptr
;
24026 resultptr
= new wxColour((wxColour
&) result
);
24027 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24035 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24038 wxTreeItemId
*arg2
= 0 ;
24040 PyObject
* obj0
= 0 ;
24041 PyObject
* obj1
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self",(char *) "item", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24049 if (arg2
== NULL
) {
24050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 wxColour
* resultptr
;
24061 resultptr
= new wxColour((wxColour
&) result
);
24062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24070 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24073 wxTreeItemId
*arg2
= 0 ;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self",(char *) "item", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24084 if (arg2
== NULL
) {
24085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 wxFont
* resultptr
;
24096 resultptr
= new wxFont((wxFont
&) result
);
24097 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24105 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
;
24107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24108 wxTreeItemId
*arg2
= 0 ;
24109 wxString
*arg3
= 0 ;
24110 bool temp3
= False
;
24111 PyObject
* obj0
= 0 ;
24112 PyObject
* obj1
= 0 ;
24113 PyObject
* obj2
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self",(char *) "item",(char *) "text", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24121 if (arg2
== NULL
) {
24122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24125 arg3
= wxString_in_helper(obj2
);
24126 if (arg3
== NULL
) SWIG_fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 Py_INCREF(Py_None
); resultobj
= Py_None
;
24151 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24154 wxTreeItemId
*arg2
= 0 ;
24156 int arg4
= (int) wxTreeItemIcon_Normal
;
24157 PyObject
* obj0
= 0 ;
24158 PyObject
* obj1
= 0 ;
24159 PyObject
* obj2
= 0 ;
24160 PyObject
* obj3
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24167 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24168 if (arg2
== NULL
) {
24169 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24172 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24177 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 Py_INCREF(Py_None
); resultobj
= Py_None
;
24195 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24198 wxTreeItemId
*arg2
= 0 ;
24199 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 PyObject
* obj2
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self",(char *) "item",(char *) "data", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24210 if (arg2
== NULL
) {
24211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24213 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 Py_INCREF(Py_None
); resultobj
= Py_None
;
24228 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
;
24230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24231 wxTreeItemId
*arg2
= 0 ;
24232 PyObject
*arg3
= (PyObject
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 PyObject
* obj2
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self",(char *) "item",(char *) "obj", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24243 if (arg2
== NULL
) {
24244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 Py_INCREF(Py_None
); resultobj
= Py_None
;
24261 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24264 wxTreeItemId
*arg2
= 0 ;
24265 bool arg3
= (bool) True
;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 PyObject
* obj2
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self",(char *) "item",(char *) "has", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24276 if (arg2
== NULL
) {
24277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24281 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 Py_INCREF(Py_None
); resultobj
= Py_None
;
24299 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24302 wxTreeItemId
*arg2
= 0 ;
24303 bool arg3
= (bool) True
;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24306 PyObject
* obj2
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self",(char *) "item",(char *) "bold", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24314 if (arg2
== NULL
) {
24315 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24319 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24330 Py_INCREF(Py_None
); resultobj
= Py_None
;
24337 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24340 wxTreeItemId
*arg2
= 0 ;
24341 wxColour
*arg3
= 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 PyObject
* obj2
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self",(char *) "item",(char *) "col", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24352 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24353 if (arg2
== NULL
) {
24354 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24358 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 Py_INCREF(Py_None
); resultobj
= Py_None
;
24374 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
;
24376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24377 wxTreeItemId
*arg2
= 0 ;
24378 wxColour
*arg3
= 0 ;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 PyObject
* obj2
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self",(char *) "item",(char *) "col", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24390 if (arg2
== NULL
) {
24391 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24395 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 Py_INCREF(Py_None
); resultobj
= Py_None
;
24411 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
;
24413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24414 wxTreeItemId
*arg2
= 0 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 PyObject
* obj2
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self",(char *) "item",(char *) "font", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24426 if (arg2
== NULL
) {
24427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24429 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24430 if (arg3
== NULL
) {
24431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 Py_INCREF(Py_None
); resultobj
= Py_None
;
24447 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24450 wxTreeItemId
*arg2
= 0 ;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "self",(char *) "item", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24461 if (arg2
== NULL
) {
24462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24478 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24479 PyObject
*resultobj
;
24480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24481 wxTreeItemId
*arg2
= 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self",(char *) "item", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24491 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24492 if (arg2
== NULL
) {
24493 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24509 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24512 wxTreeItemId
*arg2
= 0 ;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self",(char *) "item", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24523 if (arg2
== NULL
) {
24524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24540 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24543 wxTreeItemId
*arg2
= 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "item", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24554 if (arg2
== NULL
) {
24555 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24571 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24574 wxTreeItemId
*arg2
= 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self",(char *) "item", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24602 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
;
24604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24605 wxTreeItemId
*arg2
= 0 ;
24606 bool arg3
= (bool) True
;
24608 PyObject
* obj0
= 0 ;
24609 PyObject
* obj1
= 0 ;
24610 PyObject
* obj2
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self",(char *) "item",(char *) "recursively", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24618 if (arg2
== NULL
) {
24619 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24623 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24641 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24644 wxTreeItemId result
;
24645 PyObject
* obj0
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24660 wxTreeItemId
* resultptr
;
24661 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24662 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24670 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24673 wxTreeItemId result
;
24674 PyObject
* obj0
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24689 wxTreeItemId
* resultptr
;
24690 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24691 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24699 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
;
24701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24703 PyObject
* obj0
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
;
24724 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24727 wxTreeItemId
*arg2
= 0 ;
24728 wxTreeItemId result
;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self",(char *) "item", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24738 if (arg2
== NULL
) {
24739 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24749 wxTreeItemId
* resultptr
;
24750 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24759 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24762 wxTreeItemId
*arg2
= 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self",(char *) "item", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24773 if (arg2
== NULL
) {
24774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= result
;
24790 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24793 wxTreeItemId
*arg2
= 0 ;
24794 void *arg3
= (void *) 0 ;
24796 PyObject
* obj0
= 0 ;
24797 PyObject
* obj1
= 0 ;
24798 PyObject
* obj2
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self",(char *) "item",(char *) "cookie", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24806 if (arg2
== NULL
) {
24807 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24809 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= result
;
24824 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24827 wxTreeItemId
*arg2
= 0 ;
24828 wxTreeItemId result
;
24829 PyObject
* obj0
= 0 ;
24830 PyObject
* obj1
= 0 ;
24831 char *kwnames
[] = {
24832 (char *) "self",(char *) "item", NULL
24835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24838 if (arg2
== NULL
) {
24839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24849 wxTreeItemId
* resultptr
;
24850 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24851 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24859 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24862 wxTreeItemId
*arg2
= 0 ;
24863 wxTreeItemId result
;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "item", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24873 if (arg2
== NULL
) {
24874 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24884 wxTreeItemId
* resultptr
;
24885 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24886 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24894 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24897 wxTreeItemId
*arg2
= 0 ;
24898 wxTreeItemId result
;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self",(char *) "item", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24908 if (arg2
== NULL
) {
24909 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24919 wxTreeItemId
* resultptr
;
24920 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24921 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24929 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24932 wxTreeItemId result
;
24933 PyObject
* obj0
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
24939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24948 wxTreeItemId
* resultptr
;
24949 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24950 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24958 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
;
24960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24961 wxTreeItemId
*arg2
= 0 ;
24962 wxTreeItemId result
;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 char *kwnames
[] = {
24966 (char *) "self",(char *) "item", NULL
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24972 if (arg2
== NULL
) {
24973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24983 wxTreeItemId
* resultptr
;
24984 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24985 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24993 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
;
24995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24996 wxTreeItemId
*arg2
= 0 ;
24997 wxTreeItemId result
;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self",(char *) "item", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25007 if (arg2
== NULL
) {
25008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25018 wxTreeItemId
* resultptr
;
25019 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25020 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25028 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
;
25030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25031 wxString
*arg2
= 0 ;
25032 int arg3
= (int) -1 ;
25033 int arg4
= (int) -1 ;
25034 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25035 wxTreeItemId result
;
25036 bool temp2
= False
;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 PyObject
* obj2
= 0 ;
25040 PyObject
* obj3
= 0 ;
25041 PyObject
* obj4
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25049 arg2
= wxString_in_helper(obj1
);
25050 if (arg2
== NULL
) SWIG_fail
;
25055 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25061 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25066 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25076 wxTreeItemId
* resultptr
;
25077 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25078 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25094 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
;
25096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25097 wxTreeItemId
*arg2
= 0 ;
25098 wxString
*arg3
= 0 ;
25099 int arg4
= (int) -1 ;
25100 int arg5
= (int) -1 ;
25101 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25102 wxTreeItemId result
;
25103 bool temp3
= False
;
25104 PyObject
* obj0
= 0 ;
25105 PyObject
* obj1
= 0 ;
25106 PyObject
* obj2
= 0 ;
25107 PyObject
* obj3
= 0 ;
25108 PyObject
* obj4
= 0 ;
25109 PyObject
* obj5
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25117 if (arg2
== NULL
) {
25118 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25121 arg3
= wxString_in_helper(obj2
);
25122 if (arg3
== NULL
) SWIG_fail
;
25127 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25133 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25138 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25148 wxTreeItemId
* resultptr
;
25149 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25150 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25166 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25169 wxTreeItemId
*arg2
= 0 ;
25170 wxTreeItemId
*arg3
= 0 ;
25171 wxString
*arg4
= 0 ;
25172 int arg5
= (int) -1 ;
25173 int arg6
= (int) -1 ;
25174 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25175 wxTreeItemId result
;
25176 bool temp4
= False
;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 PyObject
* obj2
= 0 ;
25180 PyObject
* obj3
= 0 ;
25181 PyObject
* obj4
= 0 ;
25182 PyObject
* obj5
= 0 ;
25183 PyObject
* obj6
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25190 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25191 if (arg2
== NULL
) {
25192 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25194 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25195 if (arg3
== NULL
) {
25196 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25199 arg4
= wxString_in_helper(obj3
);
25200 if (arg4
== NULL
) SWIG_fail
;
25205 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25211 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25216 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 wxTreeItemId
* resultptr
;
25227 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25228 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25244 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25247 wxTreeItemId
*arg2
= 0 ;
25249 wxString
*arg4
= 0 ;
25250 int arg5
= (int) -1 ;
25251 int arg6
= (int) -1 ;
25252 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25253 wxTreeItemId result
;
25254 bool temp4
= False
;
25255 PyObject
* obj0
= 0 ;
25256 PyObject
* obj1
= 0 ;
25257 PyObject
* obj2
= 0 ;
25258 PyObject
* obj3
= 0 ;
25259 PyObject
* obj4
= 0 ;
25260 PyObject
* obj5
= 0 ;
25261 PyObject
* obj6
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25269 if (arg2
== NULL
) {
25270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25273 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25277 arg4
= wxString_in_helper(obj3
);
25278 if (arg4
== NULL
) SWIG_fail
;
25283 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25289 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25294 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25304 wxTreeItemId
* resultptr
;
25305 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25306 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25322 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25325 wxTreeItemId
*arg2
= 0 ;
25326 wxString
*arg3
= 0 ;
25327 int arg4
= (int) -1 ;
25328 int arg5
= (int) -1 ;
25329 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25330 wxTreeItemId result
;
25331 bool temp3
= False
;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 PyObject
* obj2
= 0 ;
25335 PyObject
* obj3
= 0 ;
25336 PyObject
* obj4
= 0 ;
25337 PyObject
* obj5
= 0 ;
25338 char *kwnames
[] = {
25339 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25345 if (arg2
== NULL
) {
25346 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25349 arg3
= wxString_in_helper(obj2
);
25350 if (arg3
== NULL
) SWIG_fail
;
25355 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25361 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25366 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25376 wxTreeItemId
* resultptr
;
25377 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25378 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25394 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25397 wxTreeItemId
*arg2
= 0 ;
25398 PyObject
* obj0
= 0 ;
25399 PyObject
* obj1
= 0 ;
25400 char *kwnames
[] = {
25401 (char *) "self",(char *) "item", NULL
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25407 if (arg2
== NULL
) {
25408 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 Py_INCREF(Py_None
); resultobj
= Py_None
;
25424 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25427 wxTreeItemId
*arg2
= 0 ;
25428 PyObject
* obj0
= 0 ;
25429 PyObject
* obj1
= 0 ;
25430 char *kwnames
[] = {
25431 (char *) "self",(char *) "item", NULL
25434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25436 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25437 if (arg2
== NULL
) {
25438 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 Py_INCREF(Py_None
); resultobj
= Py_None
;
25454 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25457 PyObject
* obj0
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "self", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 (arg1
)->DeleteAllItems();
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 Py_INCREF(Py_None
); resultobj
= Py_None
;
25478 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25481 wxTreeItemId
*arg2
= 0 ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 char *kwnames
[] = {
25485 (char *) "self",(char *) "item", NULL
25488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25491 if (arg2
== NULL
) {
25492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 Py_INCREF(Py_None
); resultobj
= Py_None
;
25508 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25511 wxTreeItemId
*arg2
= 0 ;
25512 PyObject
* obj0
= 0 ;
25513 PyObject
* obj1
= 0 ;
25514 char *kwnames
[] = {
25515 (char *) "self",(char *) "item", NULL
25518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25521 if (arg2
== NULL
) {
25522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 Py_INCREF(Py_None
); resultobj
= Py_None
;
25538 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25541 wxTreeItemId
*arg2
= 0 ;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self",(char *) "item", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25551 if (arg2
== NULL
) {
25552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 Py_INCREF(Py_None
); resultobj
= Py_None
;
25568 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25571 wxTreeItemId
*arg2
= 0 ;
25572 PyObject
* obj0
= 0 ;
25573 PyObject
* obj1
= 0 ;
25574 char *kwnames
[] = {
25575 (char *) "self",(char *) "item", NULL
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25581 if (arg2
== NULL
) {
25582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 Py_INCREF(Py_None
); resultobj
= Py_None
;
25598 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25601 PyObject
* obj0
= 0 ;
25602 char *kwnames
[] = {
25603 (char *) "self", NULL
25606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 (arg1
)->Unselect();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 Py_INCREF(Py_None
); resultobj
= Py_None
;
25622 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
;
25624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25625 wxTreeItemId
*arg2
= 0 ;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "self",(char *) "item", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25635 if (arg2
== NULL
) {
25636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 Py_INCREF(Py_None
); resultobj
= Py_None
;
25652 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25655 PyObject
* obj0
= 0 ;
25656 char *kwnames
[] = {
25657 (char *) "self", NULL
25660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 (arg1
)->UnselectAll();
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 Py_INCREF(Py_None
); resultobj
= Py_None
;
25676 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25677 PyObject
*resultobj
;
25678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25679 wxTreeItemId
*arg2
= 0 ;
25680 bool arg3
= (bool) True
;
25681 PyObject
* obj0
= 0 ;
25682 PyObject
* obj1
= 0 ;
25683 PyObject
* obj2
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self",(char *) "item",(char *) "select", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25691 if (arg2
== NULL
) {
25692 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25696 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
25704 wxPyEndAllowThreads(__tstate
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25707 Py_INCREF(Py_None
); resultobj
= Py_None
;
25714 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25715 PyObject
*resultobj
;
25716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25717 wxTreeItemId
*arg2
= 0 ;
25718 PyObject
* obj0
= 0 ;
25719 PyObject
* obj1
= 0 ;
25720 char *kwnames
[] = {
25721 (char *) "self",(char *) "item", NULL
25724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
25725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25727 if (arg2
== NULL
) {
25728 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 Py_INCREF(Py_None
); resultobj
= Py_None
;
25744 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25747 wxTreeItemId
*arg2
= 0 ;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self",(char *) "item", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25757 if (arg2
== NULL
) {
25758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 Py_INCREF(Py_None
); resultobj
= Py_None
;
25774 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25777 wxTreeItemId
*arg2
= 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 char *kwnames
[] = {
25781 (char *) "self",(char *) "item", NULL
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25787 if (arg2
== NULL
) {
25788 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 Py_INCREF(Py_None
); resultobj
= Py_None
;
25804 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25807 wxTreeItemId
*arg2
= 0 ;
25808 PyObject
* obj0
= 0 ;
25809 PyObject
* obj1
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self",(char *) "item", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25817 if (arg2
== NULL
) {
25818 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 Py_INCREF(Py_None
); resultobj
= Py_None
;
25834 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25837 wxTextCtrl
*result
;
25838 PyObject
* obj0
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
25844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25847 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= wxPyMake_wxObject(result
);
25861 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25864 wxTreeItemId
*arg2
= 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 char *kwnames
[] = {
25868 (char *) "self",(char *) "item", NULL
25871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25874 if (arg2
== NULL
) {
25875 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 Py_INCREF(Py_None
); resultobj
= Py_None
;
25891 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25894 wxPoint
*arg2
= 0 ;
25896 wxTreeItemId result
;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 char *kwnames
[] = {
25902 (char *) "self",(char *) "point", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25920 wxTreeItemId
* resultptr
;
25921 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25922 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25925 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25926 resultobj
= t_output_helper(resultobj
,o
);
25934 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
;
25936 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25937 wxTreeItemId
*arg2
= 0 ;
25938 bool arg3
= (bool) False
;
25940 PyObject
* obj0
= 0 ;
25941 PyObject
* obj1
= 0 ;
25942 PyObject
* obj2
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "item",(char *) "textOnly", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25950 if (arg2
== NULL
) {
25951 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25955 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= result
;
25973 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
25975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25976 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
25978 return Py_BuildValue((char *)"");
25980 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
25981 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
25986 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
25991 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
25993 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26000 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 wxWindow
*arg1
= (wxWindow
*) 0 ;
26003 int arg2
= (int) (int)-1 ;
26004 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26005 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26006 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26007 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26008 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26009 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26010 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26011 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26013 int arg8
= (int) 0 ;
26014 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26015 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26016 wxGenericDirCtrl
*result
;
26017 bool temp3
= False
;
26020 bool temp7
= False
;
26021 bool temp9
= False
;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 PyObject
* obj2
= 0 ;
26025 PyObject
* obj3
= 0 ;
26026 PyObject
* obj4
= 0 ;
26027 PyObject
* obj5
= 0 ;
26028 PyObject
* obj6
= 0 ;
26029 PyObject
* obj7
= 0 ;
26030 PyObject
* obj8
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26039 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26045 arg3
= wxString_in_helper(obj2
);
26046 if (arg3
== NULL
) SWIG_fail
;
26053 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26059 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26064 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26070 arg7
= wxString_in_helper(obj6
);
26071 if (arg7
== NULL
) SWIG_fail
;
26077 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26083 arg9
= wxString_in_helper(obj8
);
26084 if (arg9
== NULL
) SWIG_fail
;
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26126 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxGenericDirCtrl
*result
;
26129 char *kwnames
[] = {
26133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26148 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
;
26150 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26151 wxWindow
*arg2
= (wxWindow
*) 0 ;
26152 int arg3
= (int) (int)-1 ;
26153 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26154 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26155 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26156 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26157 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26158 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26159 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26160 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26161 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26162 int arg9
= (int) 0 ;
26163 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26164 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26166 bool temp4
= False
;
26169 bool temp8
= False
;
26170 bool temp10
= False
;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 PyObject
* obj2
= 0 ;
26174 PyObject
* obj3
= 0 ;
26175 PyObject
* obj4
= 0 ;
26176 PyObject
* obj5
= 0 ;
26177 PyObject
* obj6
= 0 ;
26178 PyObject
* obj7
= 0 ;
26179 PyObject
* obj8
= 0 ;
26180 PyObject
* obj9
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26190 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26196 arg4
= wxString_in_helper(obj3
);
26197 if (arg4
== NULL
) SWIG_fail
;
26204 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26210 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26215 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26221 arg8
= wxString_in_helper(obj7
);
26222 if (arg8
== NULL
) SWIG_fail
;
26228 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26234 arg10
= wxString_in_helper(obj9
);
26235 if (arg10
== NULL
) SWIG_fail
;
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26277 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26280 wxString
*arg2
= 0 ;
26282 bool temp2
= False
;
26283 PyObject
* obj0
= 0 ;
26284 PyObject
* obj1
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self",(char *) "path", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26292 arg2
= wxString_in_helper(obj1
);
26293 if (arg2
== NULL
) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26318 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
;
26320 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26322 PyObject
* obj0
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26349 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
;
26351 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26352 wxString
*arg2
= 0 ;
26353 bool temp2
= False
;
26354 PyObject
* obj0
= 0 ;
26355 PyObject
* obj1
= 0 ;
26356 char *kwnames
[] = {
26357 (char *) "self",(char *) "path", NULL
26360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26363 arg2
= wxString_in_helper(obj1
);
26364 if (arg2
== NULL
) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 Py_INCREF(Py_None
); resultobj
= Py_None
;
26389 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
;
26391 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26393 PyObject
* obj0
= 0 ;
26394 char *kwnames
[] = {
26395 (char *) "self", NULL
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26420 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26451 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26454 wxString
*arg2
= 0 ;
26455 bool temp2
= False
;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self",(char *) "path", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26465 arg2
= wxString_in_helper(obj1
);
26466 if (arg2
== NULL
) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 (arg1
)->SetPath((wxString
const &)*arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 Py_INCREF(Py_None
); resultobj
= Py_None
;
26491 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 char *kwnames
[] = {
26498 (char *) "self",(char *) "show", NULL
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26504 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 (arg1
)->ShowHidden(arg2
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 Py_INCREF(Py_None
); resultobj
= Py_None
;
26521 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
;
26523 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26525 PyObject
* obj0
= 0 ;
26526 char *kwnames
[] = {
26527 (char *) "self", NULL
26530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= (bool)(arg1
)->GetShowHidden();
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26546 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26547 PyObject
*resultobj
;
26548 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26550 PyObject
* obj0
= 0 ;
26551 char *kwnames
[] = {
26552 (char *) "self", NULL
26555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26577 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
;
26579 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26580 wxString
*arg2
= 0 ;
26581 bool temp2
= False
;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self",(char *) "filter", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26591 arg2
= wxString_in_helper(obj1
);
26592 if (arg2
== NULL
) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 (arg1
)->SetFilter((wxString
const &)*arg2
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 Py_INCREF(Py_None
); resultobj
= Py_None
;
26617 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
;
26619 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26621 PyObject
* obj0
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26632 wxPyEndAllowThreads(__tstate
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26635 resultobj
= SWIG_PyObj_FromInt((int)result
);
26642 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26643 PyObject
*resultobj
;
26644 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self",(char *) "n", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26655 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 (arg1
)->SetFilterIndex(arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 Py_INCREF(Py_None
); resultobj
= Py_None
;
26672 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26673 PyObject
*resultobj
;
26674 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26675 wxTreeItemId result
;
26676 PyObject
* obj0
= 0 ;
26677 char *kwnames
[] = {
26678 (char *) "self", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 result
= (arg1
)->GetRootId();
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26691 wxTreeItemId
* resultptr
;
26692 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26693 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26701 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
;
26703 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26704 wxPyTreeCtrl
*result
;
26705 PyObject
* obj0
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
26711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= wxPyMake_wxObject(result
);
26728 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
;
26730 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26731 wxDirFilterListCtrl
*result
;
26732 PyObject
* obj0
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
26738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
26753 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26756 wxTreeItemId arg2
;
26757 wxString
*arg3
= 0 ;
26759 wxTreeItemId result
;
26760 wxTreeItemId
*argp2
;
26761 bool temp3
= False
;
26763 PyObject
* obj0
= 0 ;
26764 PyObject
* obj1
= 0 ;
26765 PyObject
* obj2
= 0 ;
26766 char *kwnames
[] = {
26767 (char *) "self",(char *) "parentId",(char *) "path", NULL
26771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26773 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
26776 arg3
= wxString_in_helper(obj2
);
26777 if (arg3
== NULL
) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26788 wxTreeItemId
* resultptr
;
26789 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26790 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26793 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26794 resultobj
= t_output_helper(resultobj
,o
);
26810 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
;
26812 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26813 PyObject
* obj0
= 0 ;
26814 char *kwnames
[] = {
26815 (char *) "self", NULL
26818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
26819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 (arg1
)->DoResize();
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 Py_INCREF(Py_None
); resultobj
= Py_None
;
26834 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26837 PyObject
* obj0
= 0 ;
26838 char *kwnames
[] = {
26839 (char *) "self", NULL
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
26843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 (arg1
)->ReCreateTree();
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 Py_INCREF(Py_None
); resultobj
= Py_None
;
26858 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26861 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
26863 return Py_BuildValue((char *)"");
26865 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26868 int arg2
= (int) (int)-1 ;
26869 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26870 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26871 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26872 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26873 long arg5
= (long) 0 ;
26874 wxDirFilterListCtrl
*result
;
26877 PyObject
* obj0
= 0 ;
26878 PyObject
* obj1
= 0 ;
26879 PyObject
* obj2
= 0 ;
26880 PyObject
* obj3
= 0 ;
26881 PyObject
* obj4
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26890 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26897 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26903 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26908 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26926 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxDirFilterListCtrl
*result
;
26929 char *kwnames
[] = {
26933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26948 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
;
26950 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
26951 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
26952 int arg3
= (int) (int)-1 ;
26953 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26954 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26955 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26956 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26957 long arg6
= (long) 0 ;
26961 PyObject
* obj0
= 0 ;
26962 PyObject
* obj1
= 0 ;
26963 PyObject
* obj2
= 0 ;
26964 PyObject
* obj3
= 0 ;
26965 PyObject
* obj4
= 0 ;
26966 PyObject
* obj5
= 0 ;
26967 char *kwnames
[] = {
26968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26976 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26983 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26989 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26994 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27012 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
;
27014 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27015 wxString
*arg2
= 0 ;
27017 bool temp2
= False
;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 PyObject
* obj2
= 0 ;
27021 char *kwnames
[] = {
27022 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27028 arg2
= wxString_in_helper(obj1
);
27029 if (arg2
== NULL
) SWIG_fail
;
27033 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 Py_INCREF(Py_None
); resultobj
= Py_None
;
27058 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27061 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27063 return Py_BuildValue((char *)"");
27065 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxWindow
*arg1
= (wxWindow
*) 0 ;
27069 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27070 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27071 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27072 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27073 long arg5
= (long) 0 ;
27074 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27075 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27076 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27077 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27078 wxPyControl
*result
;
27081 bool temp7
= False
;
27082 PyObject
* obj0
= 0 ;
27083 PyObject
* obj1
= 0 ;
27084 PyObject
* obj2
= 0 ;
27085 PyObject
* obj3
= 0 ;
27086 PyObject
* obj4
= 0 ;
27087 PyObject
* obj5
= 0 ;
27088 PyObject
* obj6
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27096 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27108 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27113 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27118 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27119 if (arg6
== NULL
) {
27120 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27125 arg7
= wxString_in_helper(obj6
);
27126 if (arg7
== NULL
) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27152 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27155 PyObject
*arg2
= (PyObject
*) 0 ;
27156 PyObject
*arg3
= (PyObject
*) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 PyObject
* obj2
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "self",(char *) "_class", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 Py_INCREF(Py_None
); resultobj
= Py_None
;
27182 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
;
27184 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 PyObject
* obj2
= 0 ;
27192 PyObject
* obj3
= 0 ;
27193 PyObject
* obj4
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27201 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27209 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27213 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 Py_INCREF(Py_None
); resultobj
= Py_None
;
27230 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27237 int arg6
= (int) wxSIZE_AUTO
;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 PyObject
* obj2
= 0 ;
27241 PyObject
* obj3
= 0 ;
27242 PyObject
* obj4
= 0 ;
27243 PyObject
* obj5
= 0 ;
27244 char *kwnames
[] = {
27245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27251 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27255 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27259 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27263 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27268 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 Py_INCREF(Py_None
); resultobj
= Py_None
;
27286 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
;
27288 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27291 PyObject
* obj0
= 0 ;
27292 PyObject
* obj1
= 0 ;
27293 PyObject
* obj2
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "self",(char *) "width",(char *) "height", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27301 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27305 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27315 Py_INCREF(Py_None
); resultobj
= Py_None
;
27322 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27327 PyObject
* obj0
= 0 ;
27328 PyObject
* obj1
= 0 ;
27329 PyObject
* obj2
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "self",(char *) "x",(char *) "y", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27337 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27341 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 Py_INCREF(Py_None
); resultobj
= Py_None
;
27358 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
;
27360 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27361 int *arg2
= (int *) 0 ;
27362 int *arg3
= (int *) 0 ;
27365 PyObject
* obj0
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 Py_INCREF(Py_None
); resultobj
= Py_None
;
27383 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27384 resultobj
= t_output_helper(resultobj
,o
);
27387 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27388 resultobj
= t_output_helper(resultobj
,o
);
27396 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27399 int *arg2
= (int *) 0 ;
27400 int *arg3
= (int *) 0 ;
27403 PyObject
* obj0
= 0 ;
27404 char *kwnames
[] = {
27405 (char *) "self", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27419 Py_INCREF(Py_None
); resultobj
= Py_None
;
27421 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27422 resultobj
= t_output_helper(resultobj
,o
);
27425 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27426 resultobj
= t_output_helper(resultobj
,o
);
27434 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27437 int *arg2
= (int *) 0 ;
27438 int *arg3
= (int *) 0 ;
27441 PyObject
* obj0
= 0 ;
27442 char *kwnames
[] = {
27443 (char *) "self", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 Py_INCREF(Py_None
); resultobj
= Py_None
;
27459 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27460 resultobj
= t_output_helper(resultobj
,o
);
27463 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27464 resultobj
= t_output_helper(resultobj
,o
);
27472 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27476 PyObject
* obj0
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27491 wxSize
* resultptr
;
27492 resultptr
= new wxSize((wxSize
&) result
);
27493 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27501 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
;
27503 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27505 PyObject
* obj0
= 0 ;
27506 char *kwnames
[] = {
27507 (char *) "self", NULL
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 wxSize
* resultptr
;
27521 resultptr
= new wxSize((wxSize
&) result
);
27522 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27530 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27533 PyObject
* obj0
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 (arg1
)->base_InitDialog();
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 Py_INCREF(Py_None
); resultobj
= Py_None
;
27554 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= (bool)(arg1
)->base_TransferDataToWindow();
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27579 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
;
27581 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27583 PyObject
* obj0
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27604 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27608 PyObject
* obj0
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 result
= (bool)(arg1
)->base_Validate();
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27629 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "self", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27654 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 char *kwnames
[] = {
27660 (char *) "self", NULL
27663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27679 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 char *kwnames
[] = {
27685 (char *) "self", NULL
27688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27698 wxSize
* resultptr
;
27699 resultptr
= new wxSize((wxSize
&) result
);
27700 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27708 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27709 PyObject
*resultobj
;
27710 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27711 wxWindow
*arg2
= (wxWindow
*) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self",(char *) "child", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 (arg1
)->base_AddChild(arg2
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 Py_INCREF(Py_None
); resultobj
= Py_None
;
27735 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27738 wxWindow
*arg2
= (wxWindow
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "child", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 (arg1
)->base_RemoveChild(arg2
);
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 Py_INCREF(Py_None
); resultobj
= Py_None
;
27762 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
27764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27765 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
27767 return Py_BuildValue((char *)"");
27769 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27772 int arg2
= (int) 0 ;
27773 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27774 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27775 wxHelpEvent
*result
;
27777 PyObject
* obj0
= 0 ;
27778 PyObject
* obj1
= 0 ;
27779 PyObject
* obj2
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "type",(char *) "winid",(char *) "pt", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27787 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27793 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27805 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
27817 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
;
27819 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27821 PyObject
* obj0
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "self", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
27827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
27832 result
= (wxPoint
*) &_result_ref
;
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
27845 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27848 wxPoint
*arg2
= 0 ;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self",(char *) "pos", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
27857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27876 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
27886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
27891 result
= (wxString
*) &_result_ref
;
27894 wxPyEndAllowThreads(__tstate
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27899 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27901 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27910 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27913 wxString
*arg2
= 0 ;
27914 bool temp2
= False
;
27915 PyObject
* obj0
= 0 ;
27916 PyObject
* obj1
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self",(char *) "link", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
27922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27924 arg2
= wxString_in_helper(obj1
);
27925 if (arg2
== NULL
) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 (arg1
)->SetLink((wxString
const &)*arg2
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 Py_INCREF(Py_None
); resultobj
= Py_None
;
27950 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
;
27952 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27954 PyObject
* obj0
= 0 ;
27955 char *kwnames
[] = {
27956 (char *) "self", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
27960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
27965 result
= (wxString
*) &_result_ref
;
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27975 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27984 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27987 wxString
*arg2
= 0 ;
27988 bool temp2
= False
;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj1
= 0 ;
27991 char *kwnames
[] = {
27992 (char *) "self",(char *) "target", NULL
27995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27998 arg2
= wxString_in_helper(obj1
);
27999 if (arg2
== NULL
) SWIG_fail
;
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 (arg1
)->SetTarget((wxString
const &)*arg2
);
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28009 Py_INCREF(Py_None
); resultobj
= Py_None
;
28024 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28027 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28029 return Py_BuildValue((char *)"");
28031 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
;
28033 wxWindow
*arg1
= (wxWindow
*) NULL
;
28034 bool arg2
= (bool) True
;
28035 wxContextHelp
*result
;
28036 PyObject
* obj0
= 0 ;
28037 PyObject
* obj1
= 0 ;
28038 char *kwnames
[] = {
28039 (char *) "window",(char *) "doNow", NULL
28042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28048 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28066 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
;
28068 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28069 PyObject
* obj0
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "self", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 Py_INCREF(Py_None
); resultobj
= Py_None
;
28090 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28091 PyObject
*resultobj
;
28092 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28093 wxWindow
*arg2
= (wxWindow
*) NULL
;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "self",(char *) "window", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28120 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
;
28122 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28124 PyObject
* obj0
= 0 ;
28125 char *kwnames
[] = {
28126 (char *) "self", NULL
28129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= (bool)(arg1
)->EndContextHelp();
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28145 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28148 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28150 return Py_BuildValue((char *)"");
28152 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
;
28154 wxWindow
*arg1
= (wxWindow
*) 0 ;
28155 int arg2
= (int) wxID_CONTEXT_HELP
;
28156 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28157 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28158 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28159 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28160 long arg5
= (long) wxBU_AUTODRAW
;
28161 wxContextHelpButton
*result
;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 PyObject
* obj2
= 0 ;
28167 PyObject
* obj3
= 0 ;
28168 PyObject
* obj4
= 0 ;
28169 char *kwnames
[] = {
28170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28177 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28184 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28190 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28195 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28213 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28216 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28218 return Py_BuildValue((char *)"");
28220 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
;
28222 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28223 wxHelpProvider
*result
;
28224 PyObject
* obj0
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "helpProvider", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28245 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28246 PyObject
*resultobj
;
28247 wxHelpProvider
*result
;
28248 char *kwnames
[] = {
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28267 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
;
28269 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28270 wxWindow
*arg2
= (wxWindow
*) 0 ;
28272 PyObject
* obj0
= 0 ;
28273 PyObject
* obj1
= 0 ;
28274 char *kwnames
[] = {
28275 (char *) "self",(char *) "window", NULL
28278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28301 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28302 PyObject
*resultobj
;
28303 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28304 wxWindow
*arg2
= (wxWindow
*) 0 ;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self",(char *) "window", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 result
= (bool)(arg1
)->ShowHelp(arg2
);
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28329 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
;
28331 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28332 wxWindow
*arg2
= (wxWindow
*) 0 ;
28333 wxString
*arg3
= 0 ;
28334 bool temp3
= False
;
28335 PyObject
* obj0
= 0 ;
28336 PyObject
* obj1
= 0 ;
28337 PyObject
* obj2
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self",(char *) "window",(char *) "text", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28346 arg3
= wxString_in_helper(obj2
);
28347 if (arg3
== NULL
) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 Py_INCREF(Py_None
); resultobj
= Py_None
;
28372 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28373 PyObject
*resultobj
;
28374 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28376 wxString
*arg3
= 0 ;
28377 bool temp3
= False
;
28378 PyObject
* obj0
= 0 ;
28379 PyObject
* obj1
= 0 ;
28380 PyObject
* obj2
= 0 ;
28381 char *kwnames
[] = {
28382 (char *) "self",(char *) "id",(char *) "text", NULL
28385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28388 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28392 arg3
= wxString_in_helper(obj2
);
28393 if (arg3
== NULL
) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 Py_INCREF(Py_None
); resultobj
= Py_None
;
28418 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28421 PyObject
* obj0
= 0 ;
28422 char *kwnames
[] = {
28423 (char *) "self", NULL
28426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 wxHelpProvider_Destroy(arg1
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 Py_INCREF(Py_None
); resultobj
= Py_None
;
28442 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28445 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28447 return Py_BuildValue((char *)"");
28449 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
;
28451 wxSimpleHelpProvider
*result
;
28452 char *kwnames
[] = {
28456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28471 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28474 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28476 return Py_BuildValue((char *)"");
28478 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
;
28480 wxBitmap
*arg1
= 0 ;
28481 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28482 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28483 wxGenericDragImage
*result
;
28484 PyObject
* obj0
= 0 ;
28485 PyObject
* obj1
= 0 ;
28486 char *kwnames
[] = {
28487 (char *) "image",(char *) "cursor", NULL
28490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28492 if (arg1
== NULL
) {
28493 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28496 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28497 if (arg2
== NULL
) {
28498 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28515 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28518 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28519 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28520 wxGenericDragImage
*result
;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "image",(char *) "cursor", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28529 if (arg1
== NULL
) {
28530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28533 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28534 if (arg2
== NULL
) {
28535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28542 wxPyEndAllowThreads(__tstate
);
28543 if (PyErr_Occurred()) SWIG_fail
;
28545 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28552 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28553 PyObject
*resultobj
;
28554 wxString
*arg1
= 0 ;
28555 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28556 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28557 wxGenericDragImage
*result
;
28558 bool temp1
= False
;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 char *kwnames
[] = {
28562 (char *) "str",(char *) "cursor", NULL
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28567 arg1
= wxString_in_helper(obj0
);
28568 if (arg1
== NULL
) SWIG_fail
;
28572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28573 if (arg2
== NULL
) {
28574 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28599 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
;
28601 wxPyTreeCtrl
*arg1
= 0 ;
28602 wxTreeItemId
*arg2
= 0 ;
28603 wxGenericDragImage
*result
;
28604 PyObject
* obj0
= 0 ;
28605 PyObject
* obj1
= 0 ;
28606 char *kwnames
[] = {
28607 (char *) "treeCtrl",(char *) "id", NULL
28610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28612 if (arg1
== NULL
) {
28613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28616 if (arg2
== NULL
) {
28617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28633 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28634 PyObject
*resultobj
;
28635 wxPyListCtrl
*arg1
= 0 ;
28637 wxGenericDragImage
*result
;
28638 PyObject
* obj0
= 0 ;
28639 PyObject
* obj1
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "listCtrl",(char *) "id", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28646 if (arg1
== NULL
) {
28647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28650 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28667 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28670 PyObject
* obj0
= 0 ;
28671 char *kwnames
[] = {
28672 (char *) "self", NULL
28675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 Py_INCREF(Py_None
); resultobj
= Py_None
;
28691 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28694 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 char *kwnames
[] = {
28698 (char *) "self",(char *) "bitmap", NULL
28701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 (arg1
)->SetBackingBitmap(arg2
);
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28711 Py_INCREF(Py_None
); resultobj
= Py_None
;
28718 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
;
28720 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28721 wxPoint
*arg2
= 0 ;
28722 wxWindow
*arg3
= (wxWindow
*) 0 ;
28723 bool arg4
= (bool) False
;
28724 wxRect
*arg5
= (wxRect
*) NULL
;
28727 PyObject
* obj0
= 0 ;
28728 PyObject
* obj1
= 0 ;
28729 PyObject
* obj2
= 0 ;
28730 PyObject
* obj3
= 0 ;
28731 PyObject
* obj4
= 0 ;
28732 char *kwnames
[] = {
28733 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28742 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28745 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28750 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28766 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28769 wxPoint
*arg2
= 0 ;
28770 wxWindow
*arg3
= (wxWindow
*) 0 ;
28771 wxWindow
*arg4
= (wxWindow
*) 0 ;
28774 PyObject
* obj0
= 0 ;
28775 PyObject
* obj1
= 0 ;
28776 PyObject
* obj2
= 0 ;
28777 PyObject
* obj3
= 0 ;
28778 char *kwnames
[] = {
28779 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28788 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28789 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28804 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28808 PyObject
* obj0
= 0 ;
28809 char *kwnames
[] = {
28810 (char *) "self", NULL
28813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
28814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 result
= (bool)(arg1
)->EndDrag();
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28829 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28830 PyObject
*resultobj
;
28831 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28832 wxPoint
*arg2
= 0 ;
28835 PyObject
* obj0
= 0 ;
28836 PyObject
* obj1
= 0 ;
28837 char *kwnames
[] = {
28838 (char *) "self",(char *) "pt", NULL
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
28842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28861 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28865 PyObject
* obj0
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
28871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 result
= (bool)(arg1
)->Show();
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28886 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
;
28888 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28890 PyObject
* obj0
= 0 ;
28891 char *kwnames
[] = {
28892 (char *) "self", NULL
28895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
28896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 result
= (bool)(arg1
)->Hide();
28901 wxPyEndAllowThreads(__tstate
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28911 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
;
28913 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28914 wxPoint
*arg2
= 0 ;
28917 PyObject
* obj0
= 0 ;
28918 PyObject
* obj1
= 0 ;
28919 char *kwnames
[] = {
28920 (char *) "self",(char *) "pos", NULL
28923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28937 wxRect
* resultptr
;
28938 resultptr
= new wxRect((wxRect
&) result
);
28939 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
28947 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28948 PyObject
*resultobj
;
28949 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28951 wxPoint
*arg3
= 0 ;
28954 PyObject
* obj0
= 0 ;
28955 PyObject
* obj1
= 0 ;
28956 PyObject
* obj2
= 0 ;
28957 char *kwnames
[] = {
28958 (char *) "self",(char *) "dc",(char *) "pos", NULL
28961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28963 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28964 if (arg2
== NULL
) {
28965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28985 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
;
28987 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28989 wxMemoryDC
*arg3
= 0 ;
28995 PyObject
* obj0
= 0 ;
28996 PyObject
* obj1
= 0 ;
28997 PyObject
* obj2
= 0 ;
28998 PyObject
* obj3
= 0 ;
28999 PyObject
* obj4
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29007 if (arg2
== NULL
) {
29008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29010 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29011 if (arg3
== NULL
) {
29012 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29016 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29020 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29036 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29039 wxPoint
*arg2
= 0 ;
29040 wxPoint
*arg3
= 0 ;
29046 PyObject
* obj0
= 0 ;
29047 PyObject
* obj1
= 0 ;
29048 PyObject
* obj2
= 0 ;
29049 PyObject
* obj3
= 0 ;
29050 PyObject
* obj4
= 0 ;
29051 char *kwnames
[] = {
29052 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29063 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29066 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29070 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29087 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29090 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29092 return Py_BuildValue((char *)"");
29094 static PyMethodDef SwigMethods
[] = {
29095 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29096 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29097 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29098 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29099 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29100 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29101 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29102 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29103 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29104 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29105 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29106 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29107 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29108 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29109 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29110 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29111 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29112 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29113 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29114 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29115 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29116 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29117 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29118 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29119 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29120 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29121 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29122 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29123 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29124 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29125 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29126 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29127 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29128 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29129 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29130 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29131 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29132 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29133 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29134 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29135 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29136 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29137 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29138 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29139 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29140 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29141 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29142 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29143 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29144 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29145 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29146 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29147 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29148 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29149 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29150 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29151 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29152 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29153 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29154 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29155 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29156 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29157 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29158 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29159 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29160 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29161 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29162 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29163 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29164 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29165 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29166 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29167 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29168 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29169 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29170 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29171 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29172 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29173 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29174 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29175 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29176 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29177 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29178 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29179 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29180 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29181 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29182 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29183 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29184 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29185 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29186 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29187 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29188 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29189 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29190 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29191 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29192 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29193 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29194 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29195 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29196 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29197 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29198 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29199 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29200 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29201 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29202 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29203 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29204 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29205 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29206 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29207 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29208 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29209 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29210 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29211 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29212 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29213 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29214 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29215 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29216 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29217 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29218 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29219 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29220 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29221 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29222 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29223 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29224 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29225 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29226 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29227 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29228 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29229 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29230 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29231 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29232 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29233 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29234 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29235 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29236 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29237 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29238 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29239 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29240 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29241 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29242 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29243 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29244 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29245 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29246 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29247 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29248 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29249 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29250 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29251 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29252 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29253 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29254 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29255 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29256 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29257 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29258 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29259 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29260 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29261 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29262 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29263 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29264 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29265 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29266 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29267 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29268 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29269 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29270 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29271 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29272 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29273 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29274 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29275 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29276 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29277 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29278 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29279 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29280 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29281 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29282 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29283 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29284 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29285 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29286 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29287 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29288 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29289 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29290 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29291 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29292 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29293 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29294 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29295 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29296 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29297 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29298 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29299 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29300 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29301 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29302 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29303 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29304 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29305 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29306 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29307 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29308 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29309 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29310 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29311 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29312 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29313 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29314 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29315 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29316 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29317 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29318 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29319 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29320 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29321 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29322 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29323 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29324 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29325 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29326 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29327 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29328 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29329 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29330 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29331 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29332 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29333 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29334 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29335 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29336 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29337 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29338 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29339 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29340 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29341 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29342 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29343 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29344 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29345 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29346 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29347 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29348 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29349 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29350 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29351 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29352 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29353 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29354 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29355 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29356 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29357 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29358 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29359 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29360 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29361 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29362 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29363 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29364 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29365 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29366 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29367 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29368 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29369 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29370 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29371 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29372 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29373 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29374 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29375 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29376 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29377 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29378 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29379 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29380 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29381 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29382 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29383 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29384 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29385 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29386 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29387 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29388 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29389 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29390 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29391 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29392 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29393 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29394 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29395 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29396 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29397 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29398 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29399 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29400 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29401 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29402 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29403 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29404 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29405 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29406 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29407 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29408 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29409 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29410 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29411 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29412 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29413 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29414 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29415 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29419 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29420 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29421 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29422 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29423 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29425 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29426 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29427 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29429 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29430 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29431 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29432 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29436 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29437 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29438 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29440 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29442 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29443 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29446 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29447 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29448 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29450 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29453 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29456 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29457 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29458 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29463 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29467 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29472 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29473 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29474 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29476 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29478 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29479 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29483 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29486 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29487 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29488 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29490 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29491 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29495 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29496 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29497 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29501 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29502 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29504 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29505 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29506 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29507 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29523 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29528 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29537 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29540 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29582 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29586 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29587 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29592 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29599 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29619 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29628 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29651 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
29678 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
29688 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
29700 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
29708 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
29715 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
29731 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
29763 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
29805 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
29827 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
29832 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
29850 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
29853 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
29861 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
29866 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
29868 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
29876 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
29878 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
29900 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29902 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
29903 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29905 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
29906 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29908 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
29909 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
29911 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
29912 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29914 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
29915 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29917 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
29918 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
29920 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
29921 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29923 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
29924 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
29926 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
29927 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
29929 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
29930 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
29932 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29933 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29935 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29936 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29938 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29939 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29941 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29942 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29944 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29945 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29947 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
29948 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
29950 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29951 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29953 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29954 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29956 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29959 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
29960 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
29962 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
29963 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
29965 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29966 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29968 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29971 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
29972 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
29974 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
29975 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29977 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
29978 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29980 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
29981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
29983 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29984 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29986 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29987 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29989 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29990 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29992 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29993 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29995 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29996 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29998 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29999 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30001 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30002 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30004 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30005 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30007 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30008 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30010 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30011 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30013 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30014 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30016 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30017 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30019 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30020 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30022 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30023 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30025 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30026 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30028 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30029 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30031 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30032 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30034 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30035 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30037 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30038 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30040 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30041 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30043 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30044 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30046 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30047 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30049 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30050 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30052 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30053 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30055 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30056 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30058 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30059 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30061 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30062 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30064 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30065 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30067 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30068 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30070 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30071 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30073 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30074 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30076 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30077 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30079 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30080 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30082 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30083 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30085 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30086 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30088 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30089 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30091 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30092 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30094 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30095 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30097 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30098 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30100 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30101 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30103 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30104 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30106 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30107 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30109 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30110 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30112 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30113 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30115 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30116 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30118 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30119 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30121 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30122 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30124 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30125 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30127 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30128 return (void *)((wxControl
*) ((wxGauge
*) x
));
30130 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30131 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30133 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30134 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30136 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30137 return (void *)((wxControl
*) ((wxButton
*) x
));
30139 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30140 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30142 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30143 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30145 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30146 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30148 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30149 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30151 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30152 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30154 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30155 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30157 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30158 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30160 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30161 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30163 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30164 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30166 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30167 return (void *)((wxControl
*) ((wxSlider
*) x
));
30169 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30170 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30172 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30173 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30175 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30176 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30178 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30179 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30181 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30182 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30184 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30185 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30187 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30188 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30190 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30191 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30193 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30194 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30196 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30197 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30199 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30200 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30202 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30203 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30205 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30208 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30209 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30211 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30212 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30214 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30215 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30217 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30220 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30221 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30223 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30226 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30229 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30230 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30232 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30233 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30235 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30238 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30241 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30244 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30247 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30250 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30251 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30253 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30254 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30256 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30257 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30259 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30262 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30265 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30268 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30269 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30271 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30272 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30274 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30275 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30277 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30278 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30280 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30283 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30286 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30289 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30292 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30295 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30298 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30301 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30304 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30307 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30310 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30313 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30316 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30319 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30322 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30325 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30326 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30328 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30329 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30331 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30332 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30334 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30335 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30337 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30338 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30340 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30341 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30343 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30344 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30346 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30347 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30349 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30350 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30352 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30353 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30355 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30358 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30359 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30361 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30362 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30364 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30367 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30368 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30370 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30371 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30373 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30374 return (void *)((wxObject
*) ((wxSizer
*) x
));
30376 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30377 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30379 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30382 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30385 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30388 static void *_p_wxEventTo_p_wxObject(void *x
) {
30389 return (void *)((wxObject
*) ((wxEvent
*) x
));
30391 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30392 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30394 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30395 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30397 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30398 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30400 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30403 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30406 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30409 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30410 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30412 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30413 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30415 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30416 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30418 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30419 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30421 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30422 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30424 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30425 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30427 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30430 static void *_p_wxControlTo_p_wxObject(void *x
) {
30431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30433 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30436 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30439 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30442 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30445 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30448 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30449 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30451 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30454 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30455 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30457 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30458 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30460 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30463 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30466 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30469 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30470 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30472 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30473 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30475 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30478 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30479 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30481 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30484 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30487 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30488 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30490 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30491 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30493 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30496 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30497 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30499 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30500 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30502 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30503 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30505 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30506 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30508 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30509 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30511 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30512 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30514 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30517 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30518 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30520 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30521 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30523 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30524 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30526 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30527 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30529 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30530 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30532 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30533 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30535 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30536 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30538 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30539 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30541 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30542 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30544 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30545 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30547 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30550 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30551 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30553 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30554 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30556 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30557 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30559 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30560 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30562 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30565 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30568 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30571 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30574 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30577 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30580 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30583 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30584 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30586 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30589 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30592 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30595 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30598 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30599 return (void *)((wxObject
*) ((wxListItem
*) x
));
30601 static void *_p_wxImageTo_p_wxObject(void *x
) {
30602 return (void *)((wxObject
*) ((wxImage
*) x
));
30604 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30605 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30607 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30608 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30610 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30611 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30613 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30614 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30616 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30619 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30622 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30625 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30626 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30628 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30629 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30631 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30632 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30634 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30635 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30637 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30638 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30640 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30643 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30644 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30646 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30649 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30650 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30652 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30653 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30655 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30656 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30658 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30659 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30661 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30662 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30664 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30665 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30667 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30668 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30670 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30671 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30673 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
30674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30676 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30677 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30679 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30680 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30682 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30683 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30685 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30688 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
30689 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
30691 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
30692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30694 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30697 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30698 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30700 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
30701 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
30703 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
30704 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
30706 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30707 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30709 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
30710 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30712 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
30713 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
30715 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
30716 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
30718 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
30719 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
30721 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30722 return (void *)((wxWindow
*) ((wxControl
*) x
));
30724 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
30725 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
30727 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
30728 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30730 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
30731 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
30733 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
30734 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
30736 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
30737 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
30739 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
30740 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
30742 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30743 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30745 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
30746 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
30748 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
30749 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
30751 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
30752 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30754 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
30755 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
30757 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
30758 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
30760 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
30761 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
30763 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
30764 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30766 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
30767 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30769 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
30770 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30772 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
30773 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30775 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
30776 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30778 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
30779 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
30781 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
30782 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
30784 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
30785 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
30787 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
30788 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
30790 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
30791 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
30793 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
30794 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
30796 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
30797 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
30799 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
30800 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30802 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
30803 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30805 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
30806 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
30808 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
30809 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30811 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
30812 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30814 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
30815 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30817 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
30818 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
30820 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
30821 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30823 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
30824 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30826 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
30827 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30829 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
30830 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30832 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
30833 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30835 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
30836 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
30838 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
30839 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30841 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
30842 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30844 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
30845 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30847 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
30848 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
30850 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
30851 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30853 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
30854 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30856 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
30857 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30859 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
30860 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
30862 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
30863 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
30865 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
30866 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
30868 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
30869 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
30871 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
30872 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}};
30873 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}};
30874 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
30875 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
30876 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}};
30877 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
30878 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
30879 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
30880 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}};
30881 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
30882 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
30883 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
30884 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}};
30885 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
30886 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
30887 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
30888 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
30889 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
30890 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
30891 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
30892 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
30893 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
30894 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
30895 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
30896 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
30897 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
30898 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
30899 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
30900 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
30901 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
30902 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}};
30903 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
30904 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
30905 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
30906 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
30907 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
30908 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
30909 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
30910 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
30911 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}};
30912 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
30913 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
30914 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
30915 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}};
30916 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
30917 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}};
30918 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
30919 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
30920 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
30921 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
30922 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
30923 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
30924 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
30925 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
30926 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
30927 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
30928 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
30929 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
30930 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
30931 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
30932 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
30933 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
30934 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
30935 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
30936 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
30937 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
30938 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
30939 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}};
30940 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
30941 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
30942 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}};
30943 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
30944 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
30945 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
30946 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
30947 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}};
30948 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
30949 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
30950 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
30951 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
30952 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
30953 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
30954 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
30956 static swig_type_info
*swig_types_initial
[] = {
30957 _swigt__p_wxTextUrlEvent
,
30958 _swigt__p_wxBookCtrlEvent
,
30960 _swigt__p_wxCheckBox
,
30961 _swigt__p_wxPyTreeCtrl
,
30963 _swigt__p_wxGenericDirCtrl
,
30965 _swigt__p_wxPyTreeItemData
,
30966 _swigt__p_wxItemContainer
,
30967 _swigt__p_wxDirFilterListCtrl
,
30968 _swigt__p_wxPyListCtrl
,
30969 _swigt__p_wxStaticLine
,
30970 _swigt__p_wxControl
,
30971 _swigt__p_wxPyControl
,
30973 _swigt__p_wxToolBarBase
,
30975 _swigt__p_wxToggleButton
,
30976 _swigt__p_wxRadioButton
,
30977 _swigt__p_wxChoice
,
30978 _swigt__p_wxMemoryDC
,
30979 _swigt__p_wxListItemAttr
,
30984 _swigt__p_wxListView
,
30986 _swigt__p_wxTextCtrl
,
30987 _swigt__p_wxNotebook
,
30988 _swigt__p_wxNotifyEvent
,
30989 _swigt__p_wxArrayString
,
30990 _swigt__p_wxListbook
,
30991 _swigt__p_wxStaticBitmap
,
30992 _swigt__p_wxSlider
,
30993 _swigt__p_wxStaticBox
,
30994 _swigt__p_wxArrayInt
,
30995 _swigt__p_wxContextHelp
,
30997 _swigt__p_wxEvtHandler
,
30998 _swigt__p_wxListEvent
,
30999 _swigt__p_wxListBox
,
31000 _swigt__p_wxCheckListBox
,
31001 _swigt__p_wxBookCtrl
,
31002 _swigt__p_wxSpinButton
,
31003 _swigt__p_wxButton
,
31004 _swigt__p_wxBitmapButton
,
31006 _swigt__p_wxContextHelpButton
,
31007 _swigt__p_wxRadioBox
,
31008 _swigt__p_wxScrollBar
,
31010 _swigt__p_wxTreeItemId
,
31011 _swigt__p_wxComboBox
,
31012 _swigt__p_wxHelpEvent
,
31013 _swigt__p_wxListItem
,
31014 _swigt__p_wxNotebookSizer
,
31015 _swigt__p_wxSpinEvent
,
31016 _swigt__p_wxGenericDragImage
,
31017 _swigt__p_wxSpinCtrl
,
31018 _swigt__p_wxImageList
,
31019 _swigt__p_wxHelpProvider
,
31020 _swigt__p_wxTextAttr
,
31021 _swigt__p_wxSimpleHelpProvider
,
31023 _swigt__p_wxListbookEvent
,
31024 _swigt__p_wxNotebookEvent
,
31025 _swigt__p_wxObject
,
31026 _swigt__p_wxCursor
,
31027 _swigt__p_wxKeyEvent
,
31028 _swigt__p_wxWindow
,
31029 _swigt__p_wxString
,
31030 _swigt__p_wxBitmap
,
31031 _swigt__p_wxTreeEvent
,
31032 _swigt__p_wxMouseEvent
,
31033 _swigt__p_wxCommandEvent
,
31034 _swigt__p_wxStaticText
,
31035 _swigt__p_wxControlWithItems
,
31036 _swigt__p_wxToolBarToolBase
,
31037 _swigt__p_wxColour
,
31038 _swigt__p_wxToolBar
,
31039 _swigt__p_wxBookCtrlSizer
,
31040 _swigt__p_wxValidator
,
31045 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31047 static swig_const_info swig_const_table
[] = {
31057 SWIGEXPORT(void) SWIG_init(void) {
31058 static PyObject
*SWIG_globals
= 0;
31059 static int typeinit
= 0;
31062 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31063 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31064 d
= PyModule_GetDict(m
);
31067 for (i
= 0; swig_types_initial
[i
]; i
++) {
31068 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31072 SWIG_InstallConstants(d
,swig_const_table
);
31074 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31075 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31076 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31077 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31078 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31079 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31080 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31081 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31082 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31083 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31084 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31085 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31086 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31087 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31088 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31089 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31090 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31091 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31092 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31093 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31094 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31095 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31096 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31097 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31098 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31099 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31100 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31101 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31102 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31103 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31104 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31105 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31106 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31107 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31108 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31109 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31110 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31111 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31112 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31113 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31114 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31115 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31116 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31117 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31118 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31119 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31120 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31121 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31122 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31123 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31124 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31125 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31126 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31127 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31128 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31129 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31130 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31131 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31132 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31133 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31134 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31135 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31136 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31137 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31138 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31139 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31140 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31141 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31142 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31143 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31144 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31145 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31146 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31147 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31148 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31149 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31150 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31151 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31152 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31153 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31154 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31155 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31156 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31157 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31159 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31160 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31161 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31162 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31163 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31164 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31165 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31166 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31167 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31168 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31169 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31170 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31171 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31172 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31173 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31174 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31175 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31176 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31177 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31178 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31179 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31180 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31181 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31182 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31183 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31184 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31185 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31186 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31187 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31188 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31189 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31190 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31191 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31192 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31193 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31194 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31195 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31196 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31197 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31198 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31199 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31200 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31201 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31202 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31203 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31204 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31205 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31206 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31207 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31208 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31209 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31210 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31211 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31212 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31213 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31214 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31215 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31216 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31217 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31218 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31219 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31220 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31221 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31222 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31223 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31224 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31225 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31226 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31227 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31228 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31229 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31230 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31231 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31232 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31233 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31234 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31235 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31236 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31237 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31238 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31239 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31240 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31241 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31242 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31243 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31244 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31245 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31246 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31247 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31248 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31249 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31250 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31251 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31252 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31253 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31254 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31255 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31256 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31257 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31258 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31259 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31260 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31261 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31262 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31263 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31264 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31265 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31266 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31267 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31268 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31269 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31270 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31271 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31272 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31273 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31274 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31275 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31276 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31277 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31278 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31279 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31280 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31281 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31282 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31283 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31284 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31286 // Map renamed classes back to their common name for OOR
31287 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31289 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31290 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31291 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31292 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31293 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31294 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31295 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31296 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31297 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31298 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31299 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31300 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31301 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31302 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31303 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31304 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31305 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31306 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31307 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31308 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31309 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31310 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31311 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31312 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31313 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31314 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31315 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31316 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31317 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31318 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31319 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31320 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31321 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31322 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31323 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31324 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31325 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31326 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31327 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31328 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31329 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31330 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31332 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31339 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31344 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31346 // Map renamed classes back to their common name for OOR
31347 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31348 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31350 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31351 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31352 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31353 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31354 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31355 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31356 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31357 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31358 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31359 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31361 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");