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);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
303 #define SWIG_name "_controls"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyControlNameStr(wxControlNameStr
);
355 const wxArrayString wxPyEmptyStringArray
;
357 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject
*obj
)
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
399 "int", INT_MIN
, INT_MAX
));
402 #define SWIG_AsInt SWIG_AsLong
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject
* obj
)
410 if (PyErr_Occurred()) {
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject
* obj
)
423 if (PyErr_Occurred()) {
431 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject
*obj
)
436 return PyObject_IsTrue(obj
) ? true : false;
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject
* obj
)
444 if (PyErr_Occurred()) {
452 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
453 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
454 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
455 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
456 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
457 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
459 #include <wx/checklst.h>
462 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
463 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
465 wxPyClientData
* data
= new wxPyClientData(clientData
);
466 self
->Insert(item
, pos
, data
);
468 self
->Insert(item
, pos
);
470 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
472 self
->GetSelections(lst
);
473 PyObject
*tup
= PyTuple_New(lst
.GetCount());
474 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
475 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
479 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
481 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
482 self
->GetItem(item
)->SetTextColour(c
);
485 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
487 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
488 self
->GetItem(item
)->SetBackgroundColour(c
);
491 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
493 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
494 self
->GetItem(item
)->SetFont(f
);
497 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
499 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
505 } else if (target
== Py_None
) {
509 if (!PyTuple_Check(target
)) {
511 target
= PyTuple_New(1);
512 PyTuple_SetItem(target
, 0, o2
);
515 PyTuple_SetItem(o3
, 0, o
);
518 target
= PySequence_Concat(o2
, o3
);
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject
* obj
)
529 if (PyLong_Check(obj
)) {
530 return PyLong_AsUnsignedLong(obj
);
532 long i
= PyInt_AsLong(obj
);
533 if ( !PyErr_Occurred() && (i
< 0)) {
534 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject
* obj
)
544 SWIG_AsUnsignedLong(obj
);
545 if (PyErr_Occurred()) {
553 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
554 self
->AppendText(text
);
556 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
557 return self
->GetValue().Mid(from
, to
- from
);
559 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
560 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
561 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
563 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
565 #include <wx/slider.h>
568 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
569 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
572 // implement dummy items for platforms that don't have this class
574 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
576 class wxToggleButton
: public wxControl
579 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
580 const wxPoint
&, const wxSize
&, long,
581 const wxValidator
&, const wxString
&)
582 { wxPyRaiseNotImplemented(); }
585 { wxPyRaiseNotImplemented(); }
589 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
591 SWIGSTATICINLINE(PyObject
* )
592 SWIG_FromUnsignedLong(unsigned long value
)
594 return (value
> LONG_MAX
) ?
595 PyLong_FromUnsignedLong(value
)
596 : PyInt_FromLong(swig_numeric_cast(long,value
));
599 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
600 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
601 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
603 Py_INCREF(udata
->m_obj
);
610 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
611 self
->SetClientData(new wxPyUserData(clientData
));
613 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
){
614 wxPyUserData
* udata
= NULL
;
615 if (clientData
&& clientData
!= Py_None
)
616 udata
= new wxPyUserData(clientData
);
617 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
618 shortHelp
, longHelp
, udata
);
620 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
){
621 wxPyUserData
* udata
= NULL
;
622 if (clientData
&& clientData
!= Py_None
)
623 udata
= new wxPyUserData(clientData
);
624 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
625 shortHelp
, longHelp
, udata
);
627 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
628 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
630 Py_INCREF(udata
->m_obj
);
637 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
638 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
641 #include <wx/listctrl.h>
644 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
645 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
649 PyObject
* func
= (PyObject
*)funcPtr
;
650 wxPyBeginBlockThreads();
652 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
653 PyObject
* result
= PyEval_CallObject(func
, args
);
656 retval
= PyInt_AsLong(result
);
660 wxPyEndBlockThreads();
664 // C++ Version of a Python aware class
665 class wxPyListCtrl
: public wxListCtrl
{
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
673 const wxValidator
& validator
,
674 const wxString
& name
) :
675 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
677 bool Create(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) {
683 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
699 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
701 item
.SetMask( wxLIST_MASK_STATE
|
709 if (self
->GetColumn(col
, item
))
710 return new wxListItem(item
);
714 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
715 wxListItem
* info
= new wxListItem
;
716 info
->m_itemId
= itemId
;
718 info
->m_mask
= 0xFFFF;
719 self
->GetItem(*info
);
722 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
724 self
->GetItemPosition(item
, pos
);
727 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
729 self
->GetItemRect(item
, rect
, code
);
732 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
733 if (!PyCallable_Check(func
))
735 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
737 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
745 #include <wx/treectrl.h>
746 #include "wx/wxPython/pytree.h"
748 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
749 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
750 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
751 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
752 // C++ version of Python aware wxTreeCtrl
753 class wxPyTreeCtrl
: public wxTreeCtrl
{
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
761 const wxValidator
& validator
,
762 const wxString
& name
) :
763 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
765 bool Create(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) {
771 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
775 int OnCompareItems(const wxTreeItemId
& item1
,
776 const wxTreeItemId
& item2
) {
779 wxPyBeginBlockThreads();
780 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
781 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
782 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
783 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
787 wxPyEndBlockThreads();
789 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
795 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
799 #if UINT_MAX < LONG_MAX
800 #define SWIG_FromUnsignedInt SWIG_FromLong
802 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
806 SWIGSTATICINLINE(unsigned long)
807 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
808 unsigned long max_value
)
810 if (!PyErr_Occurred()) {
811 if (value
> max_value
) {
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value
, type
, max_value
);
815 PyErr_SetObject(PyExc_OverflowError
, err
);
823 #if UINT_MAX != ULONG_MAX
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsUnsignedInt(PyObject
*obj
)
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
829 "unsigned int", UINT_MAX
));
832 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
836 SWIGSTATICINLINE(int)
837 SWIG_CheckUnsignedInt(PyObject
* obj
)
839 SWIG_AsUnsignedInt(obj
);
840 if (PyErr_Occurred()) {
848 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
849 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
851 data
= new wxPyTreeItemData();
852 data
->SetId(item
); // set the id
853 self
->SetItemData(item
, data
);
857 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
864 return data
->GetData();
866 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
867 data
->SetId(item
); // set the id
868 self
->SetItemData(item
, data
);
870 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
871 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
873 data
= new wxPyTreeItemData(obj
);
874 data
->SetId(item
); // set the id
875 self
->SetItemData(item
, data
);
879 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
880 wxPyBeginBlockThreads();
881 PyObject
* rval
= PyList_New(0);
882 wxArrayTreeItemIds array
;
884 num
= self
->GetSelections(array
);
885 for (x
=0; x
< num
; x
++) {
886 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
887 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
888 PyList_Append(rval
, item
);
890 wxPyEndBlockThreads();
893 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
895 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
896 wxPyBeginBlockThreads();
897 PyObject
* tup
= PyTuple_New(2);
898 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
899 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
900 wxPyEndBlockThreads();
903 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
905 wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads();
912 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
914 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
915 wxPyBeginBlockThreads();
916 wxRect
* r
= new wxRect(rect
);
917 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
918 wxPyEndBlockThreads();
924 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
925 // C++ version of Python aware wxControl
926 class wxPyControl
: public wxControl
928 DECLARE_DYNAMIC_CLASS(wxPyControl
)
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
932 const wxPoint
& pos
= wxDefaultPosition
,
933 const wxSize
& size
= wxDefaultSize
,
935 const wxValidator
& validator
=wxDefaultValidator
,
936 const wxString
& name
= wxPyControlNameStr
)
937 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
952 DEC_PYCALLBACK__(InitDialog
);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
955 DEC_PYCALLBACK_BOOL_(Validate
);
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
969 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
971 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
972 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
973 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
980 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
981 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
983 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
984 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
985 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
986 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
988 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
989 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
992 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
999 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1001 #include <wx/generic/dragimgg.h>
1006 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1007 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1012 static PyObject
*_wrap_ButtonNameStr_get() {
1017 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1019 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1026 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
*resultobj
;
1028 wxWindow
*arg1
= (wxWindow
*) 0 ;
1030 wxString
*arg3
= 0 ;
1031 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1032 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1033 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1034 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1035 long arg6
= (long) 0 ;
1036 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1037 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1038 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1039 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1041 bool temp3
= False
;
1044 bool temp8
= False
;
1045 PyObject
* obj0
= 0 ;
1046 PyObject
* obj1
= 0 ;
1047 PyObject
* obj2
= 0 ;
1048 PyObject
* obj3
= 0 ;
1049 PyObject
* obj4
= 0 ;
1050 PyObject
* obj5
= 0 ;
1051 PyObject
* obj6
= 0 ;
1052 PyObject
* obj7
= 0 ;
1054 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1060 arg2
= (int) SWIG_AsInt(obj1
);
1061 if (PyErr_Occurred()) SWIG_fail
;
1063 arg3
= wxString_in_helper(obj2
);
1064 if (arg3
== NULL
) SWIG_fail
;
1070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1080 arg6
= (long) SWIG_AsLong(obj5
);
1081 if (PyErr_Occurred()) SWIG_fail
;
1084 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1088 PyErr_SetString(PyExc_TypeError
,"null reference");
1094 arg8
= wxString_in_helper(obj7
);
1095 if (arg8
== NULL
) SWIG_fail
;
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1107 resultobj
= wxPyMake_wxObject(result
);
1131 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
*resultobj
;
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 result
= (wxButton
*)new wxButton();
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1147 resultobj
= wxPyMake_wxObject(result
);
1155 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
*resultobj
;
1157 wxButton
*arg1
= (wxButton
*) 0 ;
1158 wxWindow
*arg2
= (wxWindow
*) 0 ;
1160 wxString
*arg4
= 0 ;
1161 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1162 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1163 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1164 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1165 long arg7
= (long) 0 ;
1166 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1167 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1168 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1169 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1171 bool temp4
= False
;
1174 bool temp9
= False
;
1175 PyObject
* obj0
= 0 ;
1176 PyObject
* obj1
= 0 ;
1177 PyObject
* obj2
= 0 ;
1178 PyObject
* obj3
= 0 ;
1179 PyObject
* obj4
= 0 ;
1180 PyObject
* obj5
= 0 ;
1181 PyObject
* obj6
= 0 ;
1182 PyObject
* obj7
= 0 ;
1183 PyObject
* obj8
= 0 ;
1185 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1193 arg3
= (int) SWIG_AsInt(obj2
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1196 arg4
= wxString_in_helper(obj3
);
1197 if (arg4
== NULL
) SWIG_fail
;
1203 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1209 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1213 arg7
= (long) SWIG_AsLong(obj6
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1217 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1221 PyErr_SetString(PyExc_TypeError
,"null reference");
1227 arg9
= wxString_in_helper(obj8
);
1228 if (arg9
== NULL
) SWIG_fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1262 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
*resultobj
;
1264 wxButton
*arg1
= (wxButton
*) 0 ;
1265 PyObject
* obj0
= 0 ;
1267 (char *) "self", NULL
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 (arg1
)->SetDefault();
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) SWIG_fail
;
1280 Py_INCREF(Py_None
); resultobj
= Py_None
;
1287 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1297 result
= wxButton::GetDefaultSize();
1299 wxPyEndAllowThreads(__tstate
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1304 resultptr
= new wxSize((wxSize
&) result
);
1305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1313 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1316 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1318 return Py_BuildValue((char *)"");
1320 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxWindow
*arg1
= (wxWindow
*) 0 ;
1324 wxBitmap
*arg3
= 0 ;
1325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1329 long arg6
= (long) wxBU_AUTODRAW
;
1330 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1331 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1332 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1333 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1334 wxBitmapButton
*result
;
1337 bool temp8
= False
;
1338 PyObject
* obj0
= 0 ;
1339 PyObject
* obj1
= 0 ;
1340 PyObject
* obj2
= 0 ;
1341 PyObject
* obj3
= 0 ;
1342 PyObject
* obj4
= 0 ;
1343 PyObject
* obj5
= 0 ;
1344 PyObject
* obj6
= 0 ;
1345 PyObject
* obj7
= 0 ;
1347 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1353 arg2
= (int) SWIG_AsInt(obj1
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1355 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1359 PyErr_SetString(PyExc_TypeError
,"null reference");
1365 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1371 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1375 arg6
= (long) SWIG_AsLong(obj5
);
1376 if (PyErr_Occurred()) SWIG_fail
;
1379 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1383 PyErr_SetString(PyExc_TypeError
,"null reference");
1389 arg8
= wxString_in_helper(obj7
);
1390 if (arg8
== NULL
) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1402 resultobj
= wxPyMake_wxObject(result
);
1418 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxBitmapButton
*result
;
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 result
= (wxBitmapButton
*)new wxBitmapButton();
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) SWIG_fail
;
1434 resultobj
= wxPyMake_wxObject(result
);
1442 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1445 wxWindow
*arg2
= (wxWindow
*) 0 ;
1447 wxBitmap
*arg4
= 0 ;
1448 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1449 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1450 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1451 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1452 long arg7
= (long) wxBU_AUTODRAW
;
1453 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1454 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1455 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1456 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1460 bool temp9
= False
;
1461 PyObject
* obj0
= 0 ;
1462 PyObject
* obj1
= 0 ;
1463 PyObject
* obj2
= 0 ;
1464 PyObject
* obj3
= 0 ;
1465 PyObject
* obj4
= 0 ;
1466 PyObject
* obj5
= 0 ;
1467 PyObject
* obj6
= 0 ;
1468 PyObject
* obj7
= 0 ;
1469 PyObject
* obj8
= 0 ;
1471 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1479 arg3
= (int) SWIG_AsInt(obj2
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1481 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1485 PyErr_SetString(PyExc_TypeError
,"null reference");
1491 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1497 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1501 arg7
= (long) SWIG_AsLong(obj6
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1505 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1509 PyErr_SetString(PyExc_TypeError
,"null reference");
1515 arg9
= wxString_in_helper(obj8
);
1516 if (arg9
== NULL
) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1542 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
*resultobj
;
1544 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1546 PyObject
* obj0
= 0 ;
1548 (char *) "self", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 result
= (arg1
)->GetBitmapLabel();
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) SWIG_fail
;
1562 wxBitmap
* resultptr
;
1563 resultptr
= new wxBitmap((wxBitmap
&) result
);
1564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1572 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
*resultobj
;
1574 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1576 PyObject
* obj0
= 0 ;
1578 (char *) "self", NULL
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 result
= (arg1
)->GetBitmapDisabled();
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) SWIG_fail
;
1592 wxBitmap
* resultptr
;
1593 resultptr
= new wxBitmap((wxBitmap
&) result
);
1594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1602 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
*resultobj
;
1604 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1606 PyObject
* obj0
= 0 ;
1608 (char *) "self", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 result
= (arg1
)->GetBitmapFocus();
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1622 wxBitmap
* resultptr
;
1623 resultptr
= new wxBitmap((wxBitmap
&) result
);
1624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1632 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1636 PyObject
* obj0
= 0 ;
1638 (char *) "self", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (arg1
)->GetBitmapSelected();
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1652 wxBitmap
* resultptr
;
1653 resultptr
= new wxBitmap((wxBitmap
&) result
);
1654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1662 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1665 wxBitmap
*arg2
= 0 ;
1666 PyObject
* obj0
= 0 ;
1667 PyObject
* obj1
= 0 ;
1669 (char *) "self",(char *) "bitmap", NULL
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1679 PyErr_SetString(PyExc_TypeError
,"null reference");
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) SWIG_fail
;
1689 Py_INCREF(Py_None
); resultobj
= Py_None
;
1696 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
*resultobj
;
1698 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1699 wxBitmap
*arg2
= 0 ;
1700 PyObject
* obj0
= 0 ;
1701 PyObject
* obj1
= 0 ;
1703 (char *) "self",(char *) "bitmap", NULL
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1713 PyErr_SetString(PyExc_TypeError
,"null reference");
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 Py_INCREF(Py_None
); resultobj
= Py_None
;
1730 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
*resultobj
;
1732 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1733 wxBitmap
*arg2
= 0 ;
1734 PyObject
* obj0
= 0 ;
1735 PyObject
* obj1
= 0 ;
1737 (char *) "self",(char *) "bitmap", NULL
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1747 PyErr_SetString(PyExc_TypeError
,"null reference");
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 Py_INCREF(Py_None
); resultobj
= Py_None
;
1764 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1767 wxBitmap
*arg2
= 0 ;
1768 PyObject
* obj0
= 0 ;
1769 PyObject
* obj1
= 0 ;
1771 (char *) "self",(char *) "bitmap", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1781 PyErr_SetString(PyExc_TypeError
,"null reference");
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 Py_INCREF(Py_None
); resultobj
= Py_None
;
1798 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1803 PyObject
* obj0
= 0 ;
1804 PyObject
* obj1
= 0 ;
1805 PyObject
* obj2
= 0 ;
1807 (char *) "self",(char *) "x",(char *) "y", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1813 arg2
= (int) SWIG_AsInt(obj1
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1815 arg3
= (int) SWIG_AsInt(obj2
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 (arg1
)->SetMargins(arg2
,arg3
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1835 PyObject
* obj0
= 0 ;
1837 (char *) "self", NULL
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1850 resultobj
= SWIG_FromInt((int)result
);
1857 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
*resultobj
;
1859 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1861 PyObject
* obj0
= 0 ;
1863 (char *) "self", NULL
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 resultobj
= SWIG_FromInt((int)result
);
1883 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1886 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1888 return Py_BuildValue((char *)"");
1890 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1891 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1896 static PyObject
*_wrap_CheckBoxNameStr_get() {
1901 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1903 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1910 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxWindow
*arg1
= (wxWindow
*) 0 ;
1914 wxString
*arg3
= 0 ;
1915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1919 long arg6
= (long) 0 ;
1920 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1921 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1922 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1923 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1925 bool temp3
= False
;
1928 bool temp8
= False
;
1929 PyObject
* obj0
= 0 ;
1930 PyObject
* obj1
= 0 ;
1931 PyObject
* obj2
= 0 ;
1932 PyObject
* obj3
= 0 ;
1933 PyObject
* obj4
= 0 ;
1934 PyObject
* obj5
= 0 ;
1935 PyObject
* obj6
= 0 ;
1936 PyObject
* obj7
= 0 ;
1938 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 arg2
= (int) SWIG_AsInt(obj1
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 arg3
= wxString_in_helper(obj2
);
1948 if (arg3
== NULL
) SWIG_fail
;
1954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1964 arg6
= (long) SWIG_AsLong(obj5
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1968 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1972 PyErr_SetString(PyExc_TypeError
,"null reference");
1978 arg8
= wxString_in_helper(obj7
);
1979 if (arg8
== NULL
) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2013 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 result
= (wxCheckBox
*)new wxCheckBox();
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2035 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2038 wxWindow
*arg2
= (wxWindow
*) 0 ;
2040 wxString
*arg4
= 0 ;
2041 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2042 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2043 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2044 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2045 long arg7
= (long) 0 ;
2046 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2047 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2048 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2049 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2051 bool temp4
= False
;
2054 bool temp9
= False
;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2057 PyObject
* obj2
= 0 ;
2058 PyObject
* obj3
= 0 ;
2059 PyObject
* obj4
= 0 ;
2060 PyObject
* obj5
= 0 ;
2061 PyObject
* obj6
= 0 ;
2062 PyObject
* obj7
= 0 ;
2063 PyObject
* obj8
= 0 ;
2065 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2073 arg3
= (int) SWIG_AsInt(obj2
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2076 arg4
= wxString_in_helper(obj3
);
2077 if (arg4
== NULL
) SWIG_fail
;
2083 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2089 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2093 arg7
= (long) SWIG_AsLong(obj6
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2097 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2101 PyErr_SetString(PyExc_TypeError
,"null reference");
2107 arg9
= wxString_in_helper(obj8
);
2108 if (arg9
== NULL
) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2142 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2148 (char *) "self", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 result
= (bool)(arg1
)->GetValue();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2168 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2172 PyObject
* obj0
= 0 ;
2174 (char *) "self", NULL
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 result
= (bool)(arg1
)->IsChecked();
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2194 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2199 PyObject
* obj1
= 0 ;
2201 (char *) "self",(char *) "state", NULL
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2207 arg2
= (bool const) SWIG_AsBool(obj1
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 (arg1
)->SetValue(arg2
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 Py_INCREF(Py_None
); resultobj
= Py_None
;
2223 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= SWIG_FromInt((int)result
);
2249 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
*resultobj
;
2251 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2253 PyObject
* obj0
= 0 ;
2254 PyObject
* obj1
= 0 ;
2256 (char *) "self",(char *) "state", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2262 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2263 if (PyErr_Occurred()) SWIG_fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 Py_INCREF(Py_None
); resultobj
= Py_None
;
2278 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2282 PyObject
* obj0
= 0 ;
2284 (char *) "self", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2304 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
*resultobj
;
2306 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2308 PyObject
* obj0
= 0 ;
2310 (char *) "self", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2330 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2333 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2335 return Py_BuildValue((char *)"");
2337 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2338 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2343 static PyObject
*_wrap_ChoiceNameStr_get() {
2348 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2350 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2357 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxWindow
*arg1
= (wxWindow
*) 0 ;
2361 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2362 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2363 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2364 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2365 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2366 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2367 long arg6
= (long) 0 ;
2368 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2369 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2370 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2371 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2375 bool temp5
= False
;
2376 bool temp8
= False
;
2377 PyObject
* obj0
= 0 ;
2378 PyObject
* obj1
= 0 ;
2379 PyObject
* obj2
= 0 ;
2380 PyObject
* obj3
= 0 ;
2381 PyObject
* obj4
= 0 ;
2382 PyObject
* obj5
= 0 ;
2383 PyObject
* obj6
= 0 ;
2384 PyObject
* obj7
= 0 ;
2386 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 arg2
= (int) SWIG_AsInt(obj1
);
2393 if (PyErr_Occurred()) SWIG_fail
;
2397 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2403 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2408 if (! PySequence_Check(obj4
)) {
2409 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2412 arg5
= new wxArrayString
;
2414 int i
, len
=PySequence_Length(obj4
);
2415 for (i
=0; i
<len
; i
++) {
2416 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2418 PyObject
* str
= PyObject_Unicode(item
);
2420 PyObject
* str
= PyObject_Str(item
);
2422 arg5
->Add(Py2wxString(str
));
2429 arg6
= (long) SWIG_AsLong(obj5
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2433 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2437 PyErr_SetString(PyExc_TypeError
,"null reference");
2443 arg8
= wxString_in_helper(obj7
);
2444 if (arg8
== NULL
) SWIG_fail
;
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2457 if (temp5
) delete arg5
;
2466 if (temp5
) delete arg5
;
2476 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 result
= (wxChoice
*)new wxChoice();
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2498 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
*resultobj
;
2500 wxChoice
*arg1
= (wxChoice
*) 0 ;
2501 wxWindow
*arg2
= (wxWindow
*) 0 ;
2503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2507 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2508 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2509 long arg7
= (long) 0 ;
2510 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2511 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2512 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2513 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2517 bool temp6
= False
;
2518 bool temp9
= False
;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2521 PyObject
* obj2
= 0 ;
2522 PyObject
* obj3
= 0 ;
2523 PyObject
* obj4
= 0 ;
2524 PyObject
* obj5
= 0 ;
2525 PyObject
* obj6
= 0 ;
2526 PyObject
* obj7
= 0 ;
2527 PyObject
* obj8
= 0 ;
2529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 arg3
= (int) SWIG_AsInt(obj2
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2553 if (! PySequence_Check(obj5
)) {
2554 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2557 arg6
= new wxArrayString
;
2559 int i
, len
=PySequence_Length(obj5
);
2560 for (i
=0; i
<len
; i
++) {
2561 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2563 PyObject
* str
= PyObject_Unicode(item
);
2565 PyObject
* str
= PyObject_Str(item
);
2567 arg6
->Add(Py2wxString(str
));
2574 arg7
= (long) SWIG_AsLong(obj6
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2578 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2582 PyErr_SetString(PyExc_TypeError
,"null reference");
2588 arg9
= wxString_in_helper(obj8
);
2589 if (arg9
== NULL
) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2602 if (temp6
) delete arg6
;
2611 if (temp6
) delete arg6
;
2621 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxChoice
*arg1
= (wxChoice
*) 0 ;
2625 PyObject
* obj0
= 0 ;
2626 PyObject
* obj1
= 0 ;
2628 (char *) "self",(char *) "n", NULL
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 arg2
= (int const) SWIG_AsInt(obj1
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 (arg1
)->SetSelection(arg2
);
2640 wxPyEndAllowThreads(__tstate
);
2641 if (PyErr_Occurred()) SWIG_fail
;
2643 Py_INCREF(Py_None
); resultobj
= Py_None
;
2650 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxChoice
*arg1
= (wxChoice
*) 0 ;
2653 wxString
*arg2
= 0 ;
2654 bool temp2
= False
;
2655 PyObject
* obj0
= 0 ;
2656 PyObject
* obj1
= 0 ;
2658 (char *) "self",(char *) "string", NULL
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2665 arg2
= wxString_in_helper(obj1
);
2666 if (arg2
== NULL
) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2691 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2693 wxChoice
*arg1
= (wxChoice
*) 0 ;
2695 wxString
*arg3
= 0 ;
2696 bool temp3
= False
;
2697 PyObject
* obj0
= 0 ;
2698 PyObject
* obj1
= 0 ;
2699 PyObject
* obj2
= 0 ;
2701 (char *) "self",(char *) "n",(char *) "string", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 arg2
= (int) SWIG_AsInt(obj1
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 arg3
= wxString_in_helper(obj2
);
2711 if (arg3
== NULL
) SWIG_fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2721 Py_INCREF(Py_None
); resultobj
= Py_None
;
2736 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2739 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2741 return Py_BuildValue((char *)"");
2743 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2744 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2749 static PyObject
*_wrap_ComboBoxNameStr_get() {
2754 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2756 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2763 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxWindow
*arg1
= (wxWindow
*) 0 ;
2767 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2768 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2769 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2770 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2771 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2772 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2773 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2774 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2775 long arg7
= (long) 0 ;
2776 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2777 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2778 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2779 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2781 bool temp3
= False
;
2784 bool temp6
= False
;
2785 bool temp9
= False
;
2786 PyObject
* obj0
= 0 ;
2787 PyObject
* obj1
= 0 ;
2788 PyObject
* obj2
= 0 ;
2789 PyObject
* obj3
= 0 ;
2790 PyObject
* obj4
= 0 ;
2791 PyObject
* obj5
= 0 ;
2792 PyObject
* obj6
= 0 ;
2793 PyObject
* obj7
= 0 ;
2794 PyObject
* obj8
= 0 ;
2796 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2802 arg2
= (int) SWIG_AsInt(obj1
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2806 arg3
= wxString_in_helper(obj2
);
2807 if (arg3
== NULL
) SWIG_fail
;
2814 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2820 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2825 if (! PySequence_Check(obj5
)) {
2826 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2829 arg6
= new wxArrayString
;
2831 int i
, len
=PySequence_Length(obj5
);
2832 for (i
=0; i
<len
; i
++) {
2833 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2835 PyObject
* str
= PyObject_Unicode(item
);
2837 PyObject
* str
= PyObject_Str(item
);
2839 arg6
->Add(Py2wxString(str
));
2846 arg7
= (long) SWIG_AsLong(obj6
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2854 PyErr_SetString(PyExc_TypeError
,"null reference");
2860 arg9
= wxString_in_helper(obj8
);
2861 if (arg9
== NULL
) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 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
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2878 if (temp6
) delete arg6
;
2891 if (temp6
) delete arg6
;
2901 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= (wxComboBox
*)new wxComboBox();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2923 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2926 wxWindow
*arg2
= (wxWindow
*) 0 ;
2928 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2929 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2930 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2931 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2932 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2933 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2934 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2935 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2936 long arg8
= (long) 0 ;
2937 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2938 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2939 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2940 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2942 bool temp4
= False
;
2945 bool temp7
= False
;
2946 bool temp10
= False
;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2949 PyObject
* obj2
= 0 ;
2950 PyObject
* obj3
= 0 ;
2951 PyObject
* obj4
= 0 ;
2952 PyObject
* obj5
= 0 ;
2953 PyObject
* obj6
= 0 ;
2954 PyObject
* obj7
= 0 ;
2955 PyObject
* obj8
= 0 ;
2956 PyObject
* obj9
= 0 ;
2958 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2966 arg3
= (int) SWIG_AsInt(obj2
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2970 arg4
= wxString_in_helper(obj3
);
2971 if (arg4
== NULL
) SWIG_fail
;
2978 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2984 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2989 if (! PySequence_Check(obj6
)) {
2990 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2993 arg7
= new wxArrayString
;
2995 int i
, len
=PySequence_Length(obj6
);
2996 for (i
=0; i
<len
; i
++) {
2997 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2999 PyObject
* str
= PyObject_Unicode(item
);
3001 PyObject
* str
= PyObject_Str(item
);
3003 arg7
->Add(Py2wxString(str
));
3010 arg8
= (long) SWIG_AsLong(obj7
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3014 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3018 PyErr_SetString(PyExc_TypeError
,"null reference");
3024 arg10
= wxString_in_helper(obj9
);
3025 if (arg10
== NULL
) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 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
);
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3042 if (temp7
) delete arg7
;
3055 if (temp7
) delete arg7
;
3065 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3069 PyObject
* obj0
= 0 ;
3071 (char *) "self", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= ((wxComboBox
const *)arg1
)->GetValue();
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3097 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3100 wxString
*arg2
= 0 ;
3101 bool temp2
= False
;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3105 (char *) "self",(char *) "value", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 arg2
= wxString_in_helper(obj1
);
3113 if (arg2
== NULL
) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 (arg1
)->SetValue((wxString
const &)*arg2
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3141 PyObject
* obj0
= 0 ;
3143 (char *) "self", NULL
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3163 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3181 Py_INCREF(Py_None
); resultobj
= Py_None
;
3188 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3191 PyObject
* obj0
= 0 ;
3193 (char *) "self", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 Py_INCREF(Py_None
); resultobj
= Py_None
;
3213 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3217 PyObject
* obj0
= 0 ;
3218 PyObject
* obj1
= 0 ;
3220 (char *) "self",(char *) "pos", NULL
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3226 arg2
= (long) SWIG_AsLong(obj1
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 (arg1
)->SetInsertionPoint(arg2
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3235 Py_INCREF(Py_None
); resultobj
= Py_None
;
3242 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3246 PyObject
* obj0
= 0 ;
3248 (char *) "self", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 resultobj
= SWIG_FromLong((long)result
);
3268 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3272 PyObject
* obj0
= 0 ;
3274 (char *) "self", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_FromLong((long)result
);
3294 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3299 wxString
*arg4
= 0 ;
3300 bool temp4
= False
;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3303 PyObject
* obj2
= 0 ;
3304 PyObject
* obj3
= 0 ;
3306 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3312 arg2
= (long) SWIG_AsLong(obj1
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3314 arg3
= (long) SWIG_AsLong(obj2
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 arg4
= wxString_in_helper(obj3
);
3318 if (arg4
== NULL
) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3348 PyObject
* obj1
= 0 ;
3350 (char *) "self",(char *) "n", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg2
= (int) SWIG_AsInt(obj1
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 (arg1
)->SetSelection(arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 Py_INCREF(Py_None
); resultobj
= Py_None
;
3372 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3379 PyObject
* obj2
= 0 ;
3381 (char *) "self",(char *) "from",(char *) "to", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 arg2
= (long) SWIG_AsLong(obj1
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3389 arg3
= (long) SWIG_AsLong(obj2
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 (arg1
)->SetSelection(arg2
,arg3
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 Py_INCREF(Py_None
); resultobj
= Py_None
;
3405 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3409 PyObject
* obj0
= 0 ;
3410 PyObject
* obj1
= 0 ;
3412 (char *) "self",(char *) "editable", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3418 arg2
= (bool) SWIG_AsBool(obj1
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 (arg1
)->SetEditable(arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 Py_INCREF(Py_None
); resultobj
= Py_None
;
3434 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3439 (char *) "self", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 (arg1
)->SetInsertionPointEnd();
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3466 PyObject
* obj2
= 0 ;
3468 (char *) "self",(char *) "from",(char *) "to", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 arg2
= (long) SWIG_AsLong(obj1
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3476 arg3
= (long) SWIG_AsLong(obj2
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 (arg1
)->Remove(arg2
,arg3
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3492 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3495 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3497 return Py_BuildValue((char *)"");
3499 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3500 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3505 static PyObject
*_wrap_GaugeNameStr_get() {
3510 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3512 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3519 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxWindow
*arg1
= (wxWindow
*) 0 ;
3524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3528 long arg6
= (long) wxGA_HORIZONTAL
;
3529 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3530 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3531 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3536 bool temp8
= False
;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3539 PyObject
* obj2
= 0 ;
3540 PyObject
* obj3
= 0 ;
3541 PyObject
* obj4
= 0 ;
3542 PyObject
* obj5
= 0 ;
3543 PyObject
* obj6
= 0 ;
3544 PyObject
* obj7
= 0 ;
3546 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3552 arg2
= (int) SWIG_AsInt(obj1
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3554 arg3
= (int) SWIG_AsInt(obj2
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3569 arg6
= (long) SWIG_AsLong(obj5
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3577 PyErr_SetString(PyExc_TypeError
,"null reference");
3583 arg8
= wxString_in_helper(obj7
);
3584 if (arg8
== NULL
) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3610 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 result
= (wxGauge
*)new wxGauge();
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3632 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxGauge
*arg1
= (wxGauge
*) 0 ;
3635 wxWindow
*arg2
= (wxWindow
*) 0 ;
3638 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3639 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3640 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3641 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3642 long arg7
= (long) wxGA_HORIZONTAL
;
3643 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3644 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3645 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3646 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3650 bool temp9
= False
;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3653 PyObject
* obj2
= 0 ;
3654 PyObject
* obj3
= 0 ;
3655 PyObject
* obj4
= 0 ;
3656 PyObject
* obj5
= 0 ;
3657 PyObject
* obj6
= 0 ;
3658 PyObject
* obj7
= 0 ;
3659 PyObject
* obj8
= 0 ;
3661 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 arg3
= (int) SWIG_AsInt(obj2
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3671 arg4
= (int) SWIG_AsInt(obj3
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3676 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3682 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3686 arg7
= (long) SWIG_AsLong(obj6
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3694 PyErr_SetString(PyExc_TypeError
,"null reference");
3700 arg9
= wxString_in_helper(obj8
);
3701 if (arg9
== NULL
) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3727 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxGauge
*arg1
= (wxGauge
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3734 (char *) "self",(char *) "range", NULL
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 arg2
= (int) SWIG_AsInt(obj1
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 (arg1
)->SetRange(arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3756 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxGauge
*arg1
= (wxGauge
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3762 (char *) "self", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= SWIG_FromInt((int)result
);
3782 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxGauge
*arg1
= (wxGauge
*) 0 ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3789 (char *) "self",(char *) "pos", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3795 arg2
= (int) SWIG_AsInt(obj1
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 (arg1
)->SetValue(arg2
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 Py_INCREF(Py_None
); resultobj
= Py_None
;
3811 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3813 wxGauge
*arg1
= (wxGauge
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3817 (char *) "self", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 resultobj
= SWIG_FromInt((int)result
);
3837 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxGauge
*arg1
= (wxGauge
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3843 (char *) "self", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3863 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxGauge
*arg1
= (wxGauge
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3870 (char *) "self",(char *) "w", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 arg2
= (int) SWIG_AsInt(obj1
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 (arg1
)->SetShadowWidth(arg2
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 Py_INCREF(Py_None
); resultobj
= Py_None
;
3892 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxGauge
*arg1
= (wxGauge
*) 0 ;
3896 PyObject
* obj0
= 0 ;
3898 (char *) "self", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_FromInt((int)result
);
3918 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxGauge
*arg1
= (wxGauge
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3923 PyObject
* obj1
= 0 ;
3925 (char *) "self",(char *) "w", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3931 arg2
= (int) SWIG_AsInt(obj1
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 (arg1
)->SetBezelFace(arg2
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 Py_INCREF(Py_None
); resultobj
= Py_None
;
3947 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxGauge
*arg1
= (wxGauge
*) 0 ;
3951 PyObject
* obj0
= 0 ;
3953 (char *) "self", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= SWIG_FromInt((int)result
);
3973 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3976 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3978 return Py_BuildValue((char *)"");
3980 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3981 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3986 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3991 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3993 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4000 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4001 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4006 static PyObject
*_wrap_StaticBoxNameStr_get() {
4011 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4013 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4020 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4021 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4026 static PyObject
*_wrap_StaticTextNameStr_get() {
4031 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4033 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4040 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxWindow
*arg1
= (wxWindow
*) 0 ;
4044 wxString
*arg3
= 0 ;
4045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4049 long arg6
= (long) 0 ;
4050 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4052 wxStaticBox
*result
;
4053 bool temp3
= False
;
4056 bool temp7
= False
;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4059 PyObject
* obj2
= 0 ;
4060 PyObject
* obj3
= 0 ;
4061 PyObject
* obj4
= 0 ;
4062 PyObject
* obj5
= 0 ;
4063 PyObject
* obj6
= 0 ;
4065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4071 arg2
= (int) SWIG_AsInt(obj1
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 arg3
= wxString_in_helper(obj2
);
4075 if (arg3
== NULL
) SWIG_fail
;
4081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4091 arg6
= (long) SWIG_AsLong(obj5
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4096 arg7
= wxString_in_helper(obj6
);
4097 if (arg7
== NULL
) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= wxPyMake_wxObject(result
);
4133 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxStaticBox
*result
;
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxStaticBox
*)new wxStaticBox();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= wxPyMake_wxObject(result
);
4157 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4160 wxWindow
*arg2
= (wxWindow
*) 0 ;
4162 wxString
*arg4
= 0 ;
4163 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4164 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4165 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4166 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4167 long arg7
= (long) 0 ;
4168 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4171 bool temp4
= False
;
4174 bool temp8
= False
;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 PyObject
* obj2
= 0 ;
4178 PyObject
* obj3
= 0 ;
4179 PyObject
* obj4
= 0 ;
4180 PyObject
* obj5
= 0 ;
4181 PyObject
* obj6
= 0 ;
4182 PyObject
* obj7
= 0 ;
4184 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4192 arg3
= (int) SWIG_AsInt(obj2
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 arg4
= wxString_in_helper(obj3
);
4196 if (arg4
== NULL
) SWIG_fail
;
4202 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4208 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4212 arg7
= (long) SWIG_AsLong(obj6
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4217 arg8
= wxString_in_helper(obj7
);
4218 if (arg8
== NULL
) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4252 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4255 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4257 return Py_BuildValue((char *)"");
4259 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxWindow
*arg1
= (wxWindow
*) 0 ;
4263 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4264 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4265 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4266 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4267 long arg5
= (long) wxLI_HORIZONTAL
;
4268 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4269 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4270 wxStaticLine
*result
;
4273 bool temp6
= False
;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4281 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4287 arg2
= (int) SWIG_AsInt(obj1
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4298 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4302 arg5
= (long) SWIG_AsLong(obj4
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4307 arg6
= wxString_in_helper(obj5
);
4308 if (arg6
== NULL
) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4334 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxStaticLine
*result
;
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 result
= (wxStaticLine
*)new wxStaticLine();
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4356 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4359 wxWindow
*arg2
= (wxWindow
*) 0 ;
4361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4365 long arg6
= (long) wxLI_HORIZONTAL
;
4366 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
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 *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 arg3
= (int) SWIG_AsInt(obj2
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4399 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4403 arg6
= (long) SWIG_AsLong(obj5
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4408 arg7
= wxString_in_helper(obj6
);
4409 if (arg7
== NULL
) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4435 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4441 (char *) "self", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4461 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (int)wxStaticLine::GetDefaultSize();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_FromInt((int)result
);
4483 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4486 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4488 return Py_BuildValue((char *)"");
4490 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxWindow
*arg1
= (wxWindow
*) 0 ;
4494 wxString
*arg3
= 0 ;
4495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4499 long arg6
= (long) 0 ;
4500 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4501 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4502 wxStaticText
*result
;
4503 bool temp3
= False
;
4506 bool temp7
= False
;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4509 PyObject
* obj2
= 0 ;
4510 PyObject
* obj3
= 0 ;
4511 PyObject
* obj4
= 0 ;
4512 PyObject
* obj5
= 0 ;
4513 PyObject
* obj6
= 0 ;
4515 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 arg2
= (int) SWIG_AsInt(obj1
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 arg3
= wxString_in_helper(obj2
);
4525 if (arg3
== NULL
) SWIG_fail
;
4531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4541 arg6
= (long) SWIG_AsLong(obj5
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4546 arg7
= wxString_in_helper(obj6
);
4547 if (arg7
== NULL
) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4581 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxStaticText
*result
;
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxStaticText
*)new wxStaticText();
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4603 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4606 wxWindow
*arg2
= (wxWindow
*) 0 ;
4608 wxString
*arg4
= 0 ;
4609 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4610 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4611 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4612 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4613 long arg7
= (long) 0 ;
4614 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4615 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4617 bool temp4
= False
;
4620 bool temp8
= False
;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 PyObject
* obj2
= 0 ;
4624 PyObject
* obj3
= 0 ;
4625 PyObject
* obj4
= 0 ;
4626 PyObject
* obj5
= 0 ;
4627 PyObject
* obj6
= 0 ;
4628 PyObject
* obj7
= 0 ;
4630 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 arg3
= (int) SWIG_AsInt(obj2
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 arg4
= wxString_in_helper(obj3
);
4642 if (arg4
== NULL
) SWIG_fail
;
4648 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4654 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4658 arg7
= (long) SWIG_AsLong(obj6
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4663 arg8
= wxString_in_helper(obj7
);
4664 if (arg8
== NULL
) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4698 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4701 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4703 return Py_BuildValue((char *)"");
4705 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxWindow
*arg1
= (wxWindow
*) 0 ;
4709 wxBitmap
*arg3
= 0 ;
4710 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4711 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4712 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4713 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4714 long arg6
= (long) 0 ;
4715 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4717 wxStaticBitmap
*result
;
4720 bool temp7
= False
;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4723 PyObject
* obj2
= 0 ;
4724 PyObject
* obj3
= 0 ;
4725 PyObject
* obj4
= 0 ;
4726 PyObject
* obj5
= 0 ;
4727 PyObject
* obj6
= 0 ;
4729 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4735 arg2
= (int) SWIG_AsInt(obj1
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4737 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4741 PyErr_SetString(PyExc_TypeError
,"null reference");
4747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4757 arg6
= (long) SWIG_AsLong(obj5
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4762 arg7
= wxString_in_helper(obj6
);
4763 if (arg7
== NULL
) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4789 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxStaticBitmap
*result
;
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4811 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4814 wxWindow
*arg2
= (wxWindow
*) 0 ;
4816 wxBitmap
*arg4
= 0 ;
4817 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4818 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4819 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4820 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4821 long arg7
= (long) 0 ;
4822 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4823 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4827 bool temp8
= False
;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4830 PyObject
* obj2
= 0 ;
4831 PyObject
* obj3
= 0 ;
4832 PyObject
* obj4
= 0 ;
4833 PyObject
* obj5
= 0 ;
4834 PyObject
* obj6
= 0 ;
4835 PyObject
* obj7
= 0 ;
4837 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4845 arg3
= (int) SWIG_AsInt(obj2
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4847 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4851 PyErr_SetString(PyExc_TypeError
,"null reference");
4857 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4863 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4867 arg7
= (long) SWIG_AsLong(obj6
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4872 arg8
= wxString_in_helper(obj7
);
4873 if (arg8
== NULL
) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4899 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4903 PyObject
* obj0
= 0 ;
4905 (char *) "self", NULL
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (arg1
)->GetBitmap();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4919 wxBitmap
* resultptr
;
4920 resultptr
= new wxBitmap((wxBitmap
&) result
);
4921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4929 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4932 wxBitmap
*arg2
= 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "bitmap", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4946 PyErr_SetString(PyExc_TypeError
,"null reference");
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 Py_INCREF(Py_None
); resultobj
= Py_None
;
4963 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4970 (char *) "self",(char *) "icon", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4980 PyErr_SetString(PyExc_TypeError
,"null reference");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5000 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5002 return Py_BuildValue((char *)"");
5004 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5005 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5010 static PyObject
*_wrap_ListBoxNameStr_get() {
5015 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5017 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5024 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxWindow
*arg1
= (wxWindow
*) 0 ;
5028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5032 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5033 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5034 long arg6
= (long) 0 ;
5035 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5036 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5037 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5038 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5042 bool temp5
= False
;
5043 bool temp8
= False
;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 PyObject
* obj2
= 0 ;
5047 PyObject
* obj3
= 0 ;
5048 PyObject
* obj4
= 0 ;
5049 PyObject
* obj5
= 0 ;
5050 PyObject
* obj6
= 0 ;
5051 PyObject
* obj7
= 0 ;
5053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 arg2
= (int) SWIG_AsInt(obj1
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5070 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5075 if (! PySequence_Check(obj4
)) {
5076 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5079 arg5
= new wxArrayString
;
5081 int i
, len
=PySequence_Length(obj4
);
5082 for (i
=0; i
<len
; i
++) {
5083 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5085 PyObject
* str
= PyObject_Unicode(item
);
5087 PyObject
* str
= PyObject_Str(item
);
5089 arg5
->Add(Py2wxString(str
));
5096 arg6
= (long) SWIG_AsLong(obj5
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5100 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5104 PyErr_SetString(PyExc_TypeError
,"null reference");
5110 arg8
= wxString_in_helper(obj7
);
5111 if (arg8
== NULL
) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5124 if (temp5
) delete arg5
;
5133 if (temp5
) delete arg5
;
5143 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (wxListBox
*)new wxListBox();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5165 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxListBox
*arg1
= (wxListBox
*) 0 ;
5168 wxWindow
*arg2
= (wxWindow
*) 0 ;
5170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5174 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5175 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5176 long arg7
= (long) 0 ;
5177 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5178 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5179 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5180 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5184 bool temp6
= False
;
5185 bool temp9
= False
;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5188 PyObject
* obj2
= 0 ;
5189 PyObject
* obj3
= 0 ;
5190 PyObject
* obj4
= 0 ;
5191 PyObject
* obj5
= 0 ;
5192 PyObject
* obj6
= 0 ;
5193 PyObject
* obj7
= 0 ;
5194 PyObject
* obj8
= 0 ;
5196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 arg3
= (int) SWIG_AsInt(obj2
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5220 if (! PySequence_Check(obj5
)) {
5221 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5224 arg6
= new wxArrayString
;
5226 int i
, len
=PySequence_Length(obj5
);
5227 for (i
=0; i
<len
; i
++) {
5228 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5230 PyObject
* str
= PyObject_Unicode(item
);
5232 PyObject
* str
= PyObject_Str(item
);
5234 arg6
->Add(Py2wxString(str
));
5241 arg7
= (long) SWIG_AsLong(obj6
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5249 PyErr_SetString(PyExc_TypeError
,"null reference");
5255 arg9
= wxString_in_helper(obj8
);
5256 if (arg9
== NULL
) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5269 if (temp6
) delete arg6
;
5278 if (temp6
) delete arg6
;
5288 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxListBox
*arg1
= (wxListBox
*) 0 ;
5291 wxString
*arg2
= 0 ;
5293 PyObject
*arg4
= (PyObject
*) NULL
;
5294 bool temp2
= False
;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 PyObject
* obj2
= 0 ;
5298 PyObject
* obj3
= 0 ;
5300 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 arg2
= wxString_in_helper(obj1
);
5308 if (arg2
== NULL
) SWIG_fail
;
5311 arg3
= (int) SWIG_AsInt(obj2
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 Py_INCREF(Py_None
); resultobj
= Py_None
;
5338 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxListBox
*arg1
= (wxListBox
*) 0 ;
5341 wxArrayString
*arg2
= 0 ;
5343 bool temp2
= False
;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5346 PyObject
* obj2
= 0 ;
5348 (char *) "self",(char *) "items",(char *) "pos", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 if (! PySequence_Check(obj1
)) {
5356 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5359 arg2
= new wxArrayString
;
5361 int i
, len
=PySequence_Length(obj1
);
5362 for (i
=0; i
<len
; i
++) {
5363 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5365 PyObject
* str
= PyObject_Unicode(item
);
5367 PyObject
* str
= PyObject_Str(item
);
5369 arg2
->Add(Py2wxString(str
));
5374 arg3
= (int) SWIG_AsInt(obj2
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5385 if (temp2
) delete arg2
;
5390 if (temp2
) delete arg2
;
5396 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxListBox
*arg1
= (wxListBox
*) 0 ;
5399 wxArrayString
*arg2
= 0 ;
5400 bool temp2
= False
;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5404 (char *) "self",(char *) "items", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5411 if (! PySequence_Check(obj1
)) {
5412 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5415 arg2
= new wxArrayString
;
5417 int i
, len
=PySequence_Length(obj1
);
5418 for (i
=0; i
<len
; i
++) {
5419 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5421 PyObject
* str
= PyObject_Unicode(item
);
5423 PyObject
* str
= PyObject_Str(item
);
5425 arg2
->Add(Py2wxString(str
));
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 (arg1
)->Set((wxArrayString
const &)*arg2
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 Py_INCREF(Py_None
); resultobj
= Py_None
;
5439 if (temp2
) delete arg2
;
5444 if (temp2
) delete arg2
;
5450 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxListBox
*arg1
= (wxListBox
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5458 (char *) "self",(char *) "n", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg2
= (int) SWIG_AsInt(obj1
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5480 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxListBox
*arg1
= (wxListBox
*) 0 ;
5484 bool arg3
= (bool) True
;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5487 PyObject
* obj2
= 0 ;
5489 (char *) "self",(char *) "n",(char *) "select", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5495 arg2
= (int) SWIG_AsInt(obj1
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 arg3
= (bool) SWIG_AsBool(obj2
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 (arg1
)->SetSelection(arg2
,arg3
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 Py_INCREF(Py_None
); resultobj
= Py_None
;
5515 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxListBox
*arg1
= (wxListBox
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5522 (char *) "self",(char *) "n", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5528 arg2
= (int) SWIG_AsInt(obj1
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 (arg1
)->Select(arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxListBox
*arg1
= (wxListBox
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5551 (char *) "self",(char *) "n", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 arg2
= (int) SWIG_AsInt(obj1
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->Deselect(arg2
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxListBox
*arg1
= (wxListBox
*) 0 ;
5576 int arg2
= (int) -1 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "itemToLeaveSelected", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 arg2
= (int) SWIG_AsInt(obj1
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->DeselectAll(arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 Py_INCREF(Py_None
); resultobj
= Py_None
;
5604 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxListBox
*arg1
= (wxListBox
*) 0 ;
5607 wxString
*arg2
= 0 ;
5608 bool arg3
= (bool) True
;
5610 bool temp2
= False
;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5613 PyObject
* obj2
= 0 ;
5615 (char *) "self",(char *) "s",(char *) "select", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5622 arg2
= wxString_in_helper(obj1
);
5623 if (arg2
== NULL
) SWIG_fail
;
5627 arg3
= (bool) SWIG_AsBool(obj2
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5652 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxListBox
*arg1
= (wxListBox
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5658 (char *) "self", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5678 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxListBox
*arg1
= (wxListBox
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5685 (char *) "self",(char *) "n", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5691 arg2
= (int) SWIG_AsInt(obj1
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 (arg1
)->SetFirstItem(arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 Py_INCREF(Py_None
); resultobj
= Py_None
;
5707 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxListBox
*arg1
= (wxListBox
*) 0 ;
5710 wxString
*arg2
= 0 ;
5711 bool temp2
= False
;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5715 (char *) "self",(char *) "s", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 arg2
= wxString_in_helper(obj1
);
5723 if (arg2
== NULL
) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 Py_INCREF(Py_None
); resultobj
= Py_None
;
5748 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxListBox
*arg1
= (wxListBox
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "n", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 arg2
= (int) SWIG_AsInt(obj1
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->EnsureVisible(arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxListBox
*arg1
= (wxListBox
*) 0 ;
5780 wxString
*arg2
= 0 ;
5781 bool temp2
= False
;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5785 (char *) "self",(char *) "s", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 arg2
= wxString_in_helper(obj1
);
5793 if (arg2
== NULL
) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxListBox
*arg1
= (wxListBox
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5824 (char *) "self", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5844 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxListBox
*arg1
= (wxListBox
*) 0 ;
5848 wxColour
*arg3
= 0 ;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5852 PyObject
* obj2
= 0 ;
5854 (char *) "self",(char *) "item",(char *) "c", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 arg2
= (int) SWIG_AsInt(obj1
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 Py_INCREF(Py_None
); resultobj
= Py_None
;
5880 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxListBox
*arg1
= (wxListBox
*) 0 ;
5884 wxColour
*arg3
= 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 PyObject
* obj2
= 0 ;
5890 (char *) "self",(char *) "item",(char *) "c", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5896 arg2
= (int) SWIG_AsInt(obj1
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5900 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxListBox
*arg1
= (wxListBox
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5923 PyObject
* obj2
= 0 ;
5925 (char *) "self",(char *) "item",(char *) "f", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 arg2
= (int) SWIG_AsInt(obj1
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5933 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5937 PyErr_SetString(PyExc_TypeError
,"null reference");
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 Py_INCREF(Py_None
); resultobj
= Py_None
;
5954 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5957 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5959 return Py_BuildValue((char *)"");
5961 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxWindow
*arg1
= (wxWindow
*) 0 ;
5965 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5966 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5967 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5968 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5969 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5970 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5971 long arg6
= (long) 0 ;
5972 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5973 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5974 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5976 wxCheckListBox
*result
;
5979 bool temp5
= False
;
5980 bool temp8
= False
;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5983 PyObject
* obj2
= 0 ;
5984 PyObject
* obj3
= 0 ;
5985 PyObject
* obj4
= 0 ;
5986 PyObject
* obj5
= 0 ;
5987 PyObject
* obj6
= 0 ;
5988 PyObject
* obj7
= 0 ;
5990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 arg2
= (int) SWIG_AsInt(obj1
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6007 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6012 if (! PySequence_Check(obj4
)) {
6013 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6016 arg5
= new wxArrayString
;
6018 int i
, len
=PySequence_Length(obj4
);
6019 for (i
=0; i
<len
; i
++) {
6020 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6022 PyObject
* str
= PyObject_Unicode(item
);
6024 PyObject
* str
= PyObject_Str(item
);
6026 arg5
->Add(Py2wxString(str
));
6033 arg6
= (long) SWIG_AsLong(obj5
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6041 PyErr_SetString(PyExc_TypeError
,"null reference");
6047 arg8
= wxString_in_helper(obj7
);
6048 if (arg8
== NULL
) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6061 if (temp5
) delete arg5
;
6070 if (temp5
) delete arg5
;
6080 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxCheckListBox
*result
;
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (wxCheckListBox
*)new wxCheckListBox();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6102 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6105 wxWindow
*arg2
= (wxWindow
*) 0 ;
6107 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6108 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6109 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6110 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6111 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6112 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6113 long arg7
= (long) 0 ;
6114 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6115 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6116 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6117 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6121 bool temp6
= False
;
6122 bool temp9
= False
;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 PyObject
* obj2
= 0 ;
6126 PyObject
* obj3
= 0 ;
6127 PyObject
* obj4
= 0 ;
6128 PyObject
* obj5
= 0 ;
6129 PyObject
* obj6
= 0 ;
6130 PyObject
* obj7
= 0 ;
6131 PyObject
* obj8
= 0 ;
6133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 arg3
= (int) SWIG_AsInt(obj2
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6146 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6152 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6157 if (! PySequence_Check(obj5
)) {
6158 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6161 arg6
= new wxArrayString
;
6163 int i
, len
=PySequence_Length(obj5
);
6164 for (i
=0; i
<len
; i
++) {
6165 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6167 PyObject
* str
= PyObject_Unicode(item
);
6169 PyObject
* str
= PyObject_Str(item
);
6171 arg6
->Add(Py2wxString(str
));
6178 arg7
= (long) SWIG_AsLong(obj6
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6186 PyErr_SetString(PyExc_TypeError
,"null reference");
6192 arg9
= wxString_in_helper(obj8
);
6193 if (arg9
== NULL
) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6206 if (temp6
) delete arg6
;
6215 if (temp6
) delete arg6
;
6225 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "index", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 arg2
= (int) SWIG_AsInt(obj1
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (bool)(arg1
)->IsChecked(arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6255 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6259 int arg3
= (int) True
;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 PyObject
* obj2
= 0 ;
6264 (char *) "self",(char *) "index",(char *) "check", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 arg2
= (int) SWIG_AsInt(obj1
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 arg3
= (int) SWIG_AsInt(obj2
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 (arg1
)->Check(arg2
,arg3
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 Py_INCREF(Py_None
); resultobj
= Py_None
;
6290 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6296 (char *) "self", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 result
= (int)(arg1
)->GetItemHeight();
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= SWIG_FromInt((int)result
);
6316 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6325 (char *) "self",(char *) "pt", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= SWIG_FromInt((int)result
);
6349 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6356 PyObject
* obj1
= 0 ;
6357 PyObject
* obj2
= 0 ;
6359 (char *) "self",(char *) "x",(char *) "y", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6365 arg2
= (int) SWIG_AsInt(obj1
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6367 arg3
= (int) SWIG_AsInt(obj2
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_FromInt((int)result
);
6383 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6386 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6388 return Py_BuildValue((char *)"");
6390 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6391 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6396 static PyObject
*_wrap_TextCtrlNameStr_get() {
6401 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6403 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6410 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6411 PyObject
*resultobj
;
6414 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (wxTextAttr
*)new wxTextAttr();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6429 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6430 PyObject
*resultobj
;
6431 wxColour
*arg1
= 0 ;
6432 wxColour
const &arg2_defvalue
= wxNullColour
;
6433 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6434 wxFont
const &arg3_defvalue
= wxNullFont
;
6435 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6436 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6442 PyObject
* obj2
= 0 ;
6443 PyObject
* obj3
= 0 ;
6445 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6448 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6457 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6461 PyErr_SetString(PyExc_TypeError
,"null reference");
6466 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6483 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6488 argc
= PyObject_Length(args
);
6489 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6490 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6493 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6495 if ((argc
>= 1) && (argc
<= 4)) {
6498 _v
= wxColour_typecheck(argv
[0]);
6502 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6505 _v
= wxColour_typecheck(argv
[1]);
6509 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6513 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6522 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6524 _v
= SWIG_CheckInt(argv
[3]);
6526 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6533 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6538 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6543 (char *) "self", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 Py_INCREF(Py_None
); resultobj
= Py_None
;
6563 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6566 PyObject
* obj0
= 0 ;
6568 (char *) "self", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 Py_INCREF(Py_None
); resultobj
= Py_None
;
6588 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6591 wxColour
*arg2
= 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6596 (char *) "self",(char *) "colText", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6623 wxColour
*arg2
= 0 ;
6625 PyObject
* obj0
= 0 ;
6626 PyObject
* obj1
= 0 ;
6628 (char *) "self",(char *) "colBack", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6636 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 Py_INCREF(Py_None
); resultobj
= Py_None
;
6652 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
;
6654 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6656 long arg3
= (long) wxTEXT_ATTR_FONT
;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 PyObject
* obj2
= 0 ;
6661 (char *) "self",(char *) "font",(char *) "flags", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6671 PyErr_SetString(PyExc_TypeError
,"null reference");
6675 arg3
= (long) SWIG_AsLong(obj2
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6699 (char *) "self",(char *) "alignment", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6705 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 Py_INCREF(Py_None
); resultobj
= Py_None
;
6721 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6724 wxArrayInt
*arg2
= 0 ;
6725 bool temp2
= False
;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6729 (char *) "self",(char *) "tabs", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 if (! PySequence_Check(obj1
)) {
6737 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6740 arg2
= new wxArrayInt
;
6742 int i
, len
=PySequence_Length(obj1
);
6743 for (i
=0; i
<len
; i
++) {
6744 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6745 PyObject
* number
= PyNumber_Int(item
);
6746 arg2
->Add(PyInt_AS_LONG(number
));
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 if (temp2
) delete arg2
;
6765 if (temp2
) delete arg2
;
6771 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6778 (char *) "self",(char *) "indent", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6784 arg2
= (int) SWIG_AsInt(obj1
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 (arg1
)->SetLeftIndent(arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 Py_INCREF(Py_None
); resultobj
= Py_None
;
6800 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6807 (char *) "self",(char *) "indent", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6813 arg2
= (int) SWIG_AsInt(obj1
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->SetRightIndent(arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "flags", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 arg2
= (long) SWIG_AsLong(obj1
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 (arg1
)->SetFlags(arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6858 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6884 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6910 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6916 (char *) "self", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6936 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6942 (char *) "self", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6962 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "self", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6988 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6994 (char *) "self", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7014 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7018 PyObject
* obj0
= 0 ;
7020 (char *) "self", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7040 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
;
7042 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7048 (char *) "self",(char *) "flag", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 arg2
= (long) SWIG_AsLong(obj1
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7070 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7086 result
= (wxColour
*) &_result_ref
;
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7099 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7101 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7103 PyObject
* obj0
= 0 ;
7105 (char *) "self", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7115 result
= (wxColour
*) &_result_ref
;
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7128 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "self", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7144 result
= (wxFont
*) &_result_ref
;
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 wxFont
* resultptr
= new wxFont(*result
);
7152 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7160 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "self", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_FromInt((int)result
);
7186 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "self", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7202 result
= (wxArrayInt
*) &_result_ref
;
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= PyList_New(0);
7211 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7212 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7213 PyList_Append(resultobj
, val
);
7223 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_FromLong((long)result
);
7249 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_FromLong((long)result
);
7275 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7281 (char *) "self", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_FromLong((long)result
);
7301 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7305 PyObject
* obj0
= 0 ;
7307 (char *) "self", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7327 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxTextAttr
*arg1
= 0 ;
7330 wxTextAttr
*arg2
= 0 ;
7331 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7335 PyObject
* obj2
= 0 ;
7337 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7345 PyErr_SetString(PyExc_TypeError
,"null reference");
7348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7352 PyErr_SetString(PyExc_TypeError
,"null reference");
7355 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 wxTextAttr
* resultptr
;
7366 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7375 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7378 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7380 return Py_BuildValue((char *)"");
7382 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxWindow
*arg1
= (wxWindow
*) 0 ;
7386 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7387 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7388 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7389 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7390 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7391 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7392 long arg6
= (long) 0 ;
7393 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7394 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7395 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7396 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7398 bool temp3
= False
;
7401 bool temp8
= False
;
7402 PyObject
* obj0
= 0 ;
7403 PyObject
* obj1
= 0 ;
7404 PyObject
* obj2
= 0 ;
7405 PyObject
* obj3
= 0 ;
7406 PyObject
* obj4
= 0 ;
7407 PyObject
* obj5
= 0 ;
7408 PyObject
* obj6
= 0 ;
7409 PyObject
* obj7
= 0 ;
7411 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7417 arg2
= (int) SWIG_AsInt(obj1
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7421 arg3
= wxString_in_helper(obj2
);
7422 if (arg3
== NULL
) SWIG_fail
;
7429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7439 arg6
= (long) SWIG_AsLong(obj5
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7443 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7447 PyErr_SetString(PyExc_TypeError
,"null reference");
7453 arg8
= wxString_in_helper(obj7
);
7454 if (arg8
== NULL
) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= wxPyMake_wxObject(result
);
7490 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (wxTextCtrl
*)new wxTextCtrl();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= wxPyMake_wxObject(result
);
7514 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7517 wxWindow
*arg2
= (wxWindow
*) 0 ;
7519 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7520 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7521 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7522 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7523 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7524 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7525 long arg7
= (long) 0 ;
7526 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7527 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7528 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7529 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7531 bool temp4
= False
;
7534 bool temp9
= False
;
7535 PyObject
* obj0
= 0 ;
7536 PyObject
* obj1
= 0 ;
7537 PyObject
* obj2
= 0 ;
7538 PyObject
* obj3
= 0 ;
7539 PyObject
* obj4
= 0 ;
7540 PyObject
* obj5
= 0 ;
7541 PyObject
* obj6
= 0 ;
7542 PyObject
* obj7
= 0 ;
7543 PyObject
* obj8
= 0 ;
7545 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7553 arg3
= (int) SWIG_AsInt(obj2
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7557 arg4
= wxString_in_helper(obj3
);
7558 if (arg4
== NULL
) SWIG_fail
;
7565 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7571 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7575 arg7
= (long) SWIG_AsLong(obj6
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7579 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7583 PyErr_SetString(PyExc_TypeError
,"null reference");
7589 arg9
= wxString_in_helper(obj8
);
7590 if (arg9
== NULL
) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7624 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7628 PyObject
* obj0
= 0 ;
7630 (char *) "self", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7656 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7659 wxString
*arg2
= 0 ;
7660 bool temp2
= False
;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7664 (char *) "self",(char *) "value", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7671 arg2
= wxString_in_helper(obj1
);
7672 if (arg2
== NULL
) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 (arg1
)->SetValue((wxString
const &)*arg2
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7697 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7704 PyObject
* obj1
= 0 ;
7705 PyObject
* obj2
= 0 ;
7707 (char *) "self",(char *) "from",(char *) "to", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7713 arg2
= (long) SWIG_AsLong(obj1
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7715 arg3
= (long) SWIG_AsLong(obj2
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7737 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7745 (char *) "self",(char *) "lineNo", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7751 arg2
= (long) SWIG_AsLong(obj1
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_FromInt((int)result
);
7767 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7772 PyObject
* obj0
= 0 ;
7773 PyObject
* obj1
= 0 ;
7775 (char *) "self",(char *) "lineNo", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7781 arg2
= (long) SWIG_AsLong(obj1
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7803 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "self", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_FromInt((int)result
);
7829 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7833 PyObject
* obj0
= 0 ;
7835 (char *) "self", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7855 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7859 PyObject
* obj0
= 0 ;
7861 (char *) "self", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7869 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7881 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7885 PyObject
* obj0
= 0 ;
7887 (char *) "self", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7907 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7913 (char *) "self", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7933 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7936 long *arg2
= (long *) 0 ;
7937 long *arg3
= (long *) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 Py_INCREF(Py_None
); resultobj
= Py_None
;
7959 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7960 resultobj
= t_output_helper(resultobj
,o
);
7963 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7964 resultobj
= t_output_helper(resultobj
,o
);
7972 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7976 PyObject
* obj0
= 0 ;
7978 (char *) "self", NULL
7981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8004 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8009 (char *) "self", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 Py_INCREF(Py_None
); resultobj
= Py_None
;
8029 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
;
8031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8034 wxString
*arg4
= 0 ;
8035 bool temp4
= False
;
8036 PyObject
* obj0
= 0 ;
8037 PyObject
* obj1
= 0 ;
8038 PyObject
* obj2
= 0 ;
8039 PyObject
* obj3
= 0 ;
8041 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8047 arg2
= (long) SWIG_AsLong(obj1
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8049 arg3
= (long) SWIG_AsLong(obj2
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 arg4
= wxString_in_helper(obj3
);
8053 if (arg4
== NULL
) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8087 (char *) "self",(char *) "from",(char *) "to", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8093 arg2
= (long) SWIG_AsLong(obj1
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8095 arg3
= (long) SWIG_AsLong(obj2
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 (arg1
)->Remove(arg2
,arg3
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8114 wxString
*arg2
= 0 ;
8116 bool temp2
= False
;
8117 PyObject
* obj0
= 0 ;
8118 PyObject
* obj1
= 0 ;
8120 (char *) "self",(char *) "file", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8127 arg2
= wxString_in_helper(obj1
);
8128 if (arg2
== NULL
) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8153 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8156 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8157 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8159 bool temp2
= False
;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8163 (char *) "self",(char *) "file", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8171 arg2
= wxString_in_helper(obj1
);
8172 if (arg2
== NULL
) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8198 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8201 PyObject
* obj0
= 0 ;
8203 (char *) "self", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 (arg1
)->MarkDirty();
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 Py_INCREF(Py_None
); resultobj
= Py_None
;
8223 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8228 (char *) "self", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 (arg1
)->DiscardEdits();
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 Py_INCREF(Py_None
); resultobj
= Py_None
;
8248 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8251 unsigned long arg2
;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8255 (char *) "self",(char *) "len", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8261 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->SetMaxLength(arg2
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8277 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8280 wxString
*arg2
= 0 ;
8281 bool temp2
= False
;
8282 PyObject
* obj0
= 0 ;
8283 PyObject
* obj1
= 0 ;
8285 (char *) "self",(char *) "text", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8292 arg2
= wxString_in_helper(obj1
);
8293 if (arg2
== NULL
) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 (arg1
)->WriteText((wxString
const &)*arg2
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 Py_INCREF(Py_None
); resultobj
= Py_None
;
8318 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8321 wxString
*arg2
= 0 ;
8322 bool temp2
= False
;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8326 (char *) "self",(char *) "text", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8333 arg2
= wxString_in_helper(obj1
);
8334 if (arg2
== NULL
) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 (arg1
)->AppendText((wxString
const &)*arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8359 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8362 wxKeyEvent
*arg2
= 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8367 (char *) "self",(char *) "event", NULL
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8377 PyErr_SetString(PyExc_TypeError
,"null reference");
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8394 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
;
8396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8399 wxTextAttr
*arg4
= 0 ;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8403 PyObject
* obj2
= 0 ;
8404 PyObject
* obj3
= 0 ;
8406 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8412 arg2
= (long) SWIG_AsLong(obj1
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8414 arg3
= (long) SWIG_AsLong(obj2
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8416 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8420 PyErr_SetString(PyExc_TypeError
,"null reference");
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8437 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8441 wxTextAttr
*arg3
= 0 ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8445 PyObject
* obj2
= 0 ;
8447 (char *) "self",(char *) "position",(char *) "style", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8453 arg2
= (long) SWIG_AsLong(obj1
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8455 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8459 PyErr_SetString(PyExc_TypeError
,"null reference");
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8476 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
;
8478 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8479 wxTextAttr
*arg2
= 0 ;
8481 PyObject
* obj0
= 0 ;
8482 PyObject
* obj1
= 0 ;
8484 (char *) "self",(char *) "style", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8494 PyErr_SetString(PyExc_TypeError
,"null reference");
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8511 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8517 (char *) "self", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8527 result
= (wxTextAttr
*) &_result_ref
;
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8540 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 PyObject
* obj2
= 0 ;
8550 (char *) "self",(char *) "x",(char *) "y", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 arg2
= (long) SWIG_AsLong(obj1
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8558 arg3
= (long) SWIG_AsLong(obj2
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= SWIG_FromLong((long)result
);
8574 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
;
8576 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8578 long *arg3
= (long *) 0 ;
8579 long *arg4
= (long *) 0 ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8585 (char *) "self",(char *) "pos", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8593 arg2
= (long) SWIG_AsLong(obj1
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8604 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8605 resultobj
= t_output_helper(resultobj
,o
);
8608 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8609 resultobj
= t_output_helper(resultobj
,o
);
8617 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8624 (char *) "self",(char *) "pos", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8630 arg2
= (long) SWIG_AsLong(obj1
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 (arg1
)->ShowPosition(arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 Py_INCREF(Py_None
); resultobj
= Py_None
;
8646 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8650 long *arg3
= (long *) 0 ;
8651 long *arg4
= (long *) 0 ;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8659 (char *) "self",(char *) "pt", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= SWIG_FromInt((int)result
);
8680 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8681 resultobj
= t_output_helper(resultobj
,o
);
8684 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8685 resultobj
= t_output_helper(resultobj
,o
);
8693 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "self", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 Py_INCREF(Py_None
); resultobj
= Py_None
;
8718 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8746 PyObject
* obj0
= 0 ;
8748 (char *) "self", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8768 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8772 PyObject
* obj0
= 0 ;
8774 (char *) "self", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8794 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8800 (char *) "self", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8820 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8824 PyObject
* obj0
= 0 ;
8826 (char *) "self", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8846 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8848 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8849 PyObject
* obj0
= 0 ;
8851 (char *) "self", NULL
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8871 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8874 PyObject
* obj0
= 0 ;
8876 (char *) "self", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 Py_INCREF(Py_None
); resultobj
= Py_None
;
8896 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8900 PyObject
* obj0
= 0 ;
8902 (char *) "self", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8922 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8928 (char *) "self", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8948 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8955 (char *) "self",(char *) "pos", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 arg2
= (long) SWIG_AsLong(obj1
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 (arg1
)->SetInsertionPoint(arg2
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8977 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8980 PyObject
* obj0
= 0 ;
8982 (char *) "self", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 (arg1
)->SetInsertionPointEnd();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
9002 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9008 (char *) "self", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_FromLong((long)result
);
9028 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9034 (char *) "self", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= SWIG_FromLong((long)result
);
9054 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 PyObject
* obj2
= 0 ;
9063 (char *) "self",(char *) "from",(char *) "to", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9069 arg2
= (long) SWIG_AsLong(obj1
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9071 arg3
= (long) SWIG_AsLong(obj2
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 (arg1
)->SetSelection(arg2
,arg3
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 Py_INCREF(Py_None
); resultobj
= Py_None
;
9087 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9092 (char *) "self", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 (arg1
)->SelectAll();
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 Py_INCREF(Py_None
); resultobj
= Py_None
;
9112 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9119 (char *) "self",(char *) "editable", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9125 arg2
= (bool) SWIG_AsBool(obj1
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 (arg1
)->SetEditable(arg2
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 Py_INCREF(Py_None
); resultobj
= Py_None
;
9141 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9144 bool arg2
= (bool) True
;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9149 (char *) "self",(char *) "show", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9156 arg2
= (bool) SWIG_AsBool(obj1
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9173 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9177 PyObject
* obj0
= 0 ;
9179 (char *) "self", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (bool)(arg1
)->HideNativeCaret();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9199 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9202 wxString
*arg2
= 0 ;
9203 bool temp2
= False
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9207 (char *) "self",(char *) "text", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9214 arg2
= wxString_in_helper(obj1
);
9215 if (arg2
== NULL
) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 Py_INCREF(Py_None
); resultobj
= Py_None
;
9240 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 PyObject
* obj2
= 0 ;
9250 (char *) "self",(char *) "from",(char *) "to", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9256 arg2
= (long) SWIG_AsLong(obj1
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9258 arg3
= (long) SWIG_AsLong(obj2
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9280 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9283 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9285 return Py_BuildValue((char *)"");
9287 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9290 wxMouseEvent
*arg2
= 0 ;
9293 wxTextUrlEvent
*result
;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9296 PyObject
* obj2
= 0 ;
9297 PyObject
* obj3
= 0 ;
9299 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9303 arg1
= (int) SWIG_AsInt(obj0
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9309 PyErr_SetString(PyExc_TypeError
,"null reference");
9312 arg3
= (long) SWIG_AsLong(obj2
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9314 arg4
= (long) SWIG_AsLong(obj3
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9330 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9333 wxMouseEvent
*result
;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9346 result
= (wxMouseEvent
*) &_result_ref
;
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9359 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= SWIG_FromLong((long)result
);
9385 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9391 (char *) "self", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= SWIG_FromLong((long)result
);
9411 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9414 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9416 return Py_BuildValue((char *)"");
9418 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9419 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9424 static PyObject
*_wrap_ScrollBarNameStr_get() {
9429 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9431 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9438 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxWindow
*arg1
= (wxWindow
*) 0 ;
9441 int arg2
= (int) -1 ;
9442 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9443 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9444 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9445 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9446 long arg5
= (long) wxSB_HORIZONTAL
;
9447 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9448 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9449 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9450 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9451 wxScrollBar
*result
;
9454 bool temp7
= False
;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9457 PyObject
* obj2
= 0 ;
9458 PyObject
* obj3
= 0 ;
9459 PyObject
* obj4
= 0 ;
9460 PyObject
* obj5
= 0 ;
9461 PyObject
* obj6
= 0 ;
9463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 arg2
= (int) SWIG_AsInt(obj1
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9482 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9486 arg5
= (long) SWIG_AsLong(obj4
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9490 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9494 PyErr_SetString(PyExc_TypeError
,"null reference");
9500 arg7
= wxString_in_helper(obj6
);
9501 if (arg7
== NULL
) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9527 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9529 wxScrollBar
*result
;
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= (wxScrollBar
*)new wxScrollBar();
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9549 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
;
9551 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9552 wxWindow
*arg2
= (wxWindow
*) 0 ;
9553 int arg3
= (int) -1 ;
9554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9558 long arg6
= (long) wxSB_HORIZONTAL
;
9559 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9560 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9561 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9562 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9566 bool temp8
= False
;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 PyObject
* obj2
= 0 ;
9570 PyObject
* obj3
= 0 ;
9571 PyObject
* obj4
= 0 ;
9572 PyObject
* obj5
= 0 ;
9573 PyObject
* obj6
= 0 ;
9574 PyObject
* obj7
= 0 ;
9576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9585 arg3
= (int) SWIG_AsInt(obj2
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9591 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9597 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9601 arg6
= (long) SWIG_AsLong(obj5
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9609 PyErr_SetString(PyExc_TypeError
,"null reference");
9615 arg8
= wxString_in_helper(obj7
);
9616 if (arg8
== NULL
) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9642 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9646 PyObject
* obj0
= 0 ;
9648 (char *) "self", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_FromInt((int)result
);
9668 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9674 (char *) "self", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= SWIG_FromInt((int)result
);
9694 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9700 (char *) "self", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_FromInt((int)result
);
9720 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9724 PyObject
* obj0
= 0 ;
9726 (char *) "self", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_FromInt((int)result
);
9746 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9772 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9779 (char *) "self",(char *) "viewStart", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 arg2
= (int) SWIG_AsInt(obj1
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 (arg1
)->SetThumbPosition(arg2
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 Py_INCREF(Py_None
); resultobj
= Py_None
;
9801 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
;
9803 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9808 bool arg6
= (bool) True
;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 PyObject
* obj2
= 0 ;
9812 PyObject
* obj3
= 0 ;
9813 PyObject
* obj4
= 0 ;
9814 PyObject
* obj5
= 0 ;
9816 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9822 arg2
= (int) SWIG_AsInt(obj1
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9824 arg3
= (int) SWIG_AsInt(obj2
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9826 arg4
= (int) SWIG_AsInt(obj3
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9828 arg5
= (int) SWIG_AsInt(obj4
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 arg6
= (bool) SWIG_AsBool(obj5
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 Py_INCREF(Py_None
); resultobj
= Py_None
;
9848 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9851 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9853 return Py_BuildValue((char *)"");
9855 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9856 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9861 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9866 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9868 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9875 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9876 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9881 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9886 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9888 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9895 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxWindow
*arg1
= (wxWindow
*) 0 ;
9898 int arg2
= (int) -1 ;
9899 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9900 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9901 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9902 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9903 long arg5
= (long) wxSP_HORIZONTAL
;
9904 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9905 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9906 wxSpinButton
*result
;
9909 bool temp6
= False
;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9912 PyObject
* obj2
= 0 ;
9913 PyObject
* obj3
= 0 ;
9914 PyObject
* obj4
= 0 ;
9915 PyObject
* obj5
= 0 ;
9917 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9924 arg2
= (int) SWIG_AsInt(obj1
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9940 arg5
= (long) SWIG_AsLong(obj4
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9945 arg6
= wxString_in_helper(obj5
);
9946 if (arg6
== NULL
) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9972 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxSpinButton
*result
;
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (wxSpinButton
*)new wxSpinButton();
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9994 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9997 wxWindow
*arg2
= (wxWindow
*) 0 ;
9998 int arg3
= (int) -1 ;
9999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10003 long arg6
= (long) wxSP_HORIZONTAL
;
10004 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10005 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10009 bool temp7
= False
;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 PyObject
* obj2
= 0 ;
10013 PyObject
* obj3
= 0 ;
10014 PyObject
* obj4
= 0 ;
10015 PyObject
* obj5
= 0 ;
10016 PyObject
* obj6
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10027 arg3
= (int) SWIG_AsInt(obj2
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10043 arg6
= (long) SWIG_AsLong(obj5
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10048 arg7
= wxString_in_helper(obj6
);
10049 if (arg7
== NULL
) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10075 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10079 PyObject
* obj0
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "self", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10094 resultobj
= SWIG_FromInt((int)result
);
10101 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= SWIG_FromInt((int)result
);
10127 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_FromInt((int)result
);
10153 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self",(char *) "val", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10166 arg2
= (int) SWIG_AsInt(obj1
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 (arg1
)->SetValue(arg2
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 Py_INCREF(Py_None
); resultobj
= Py_None
;
10182 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self",(char *) "minVal", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10195 arg2
= (int) SWIG_AsInt(obj1
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 (arg1
)->SetMin(arg2
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 Py_INCREF(Py_None
); resultobj
= Py_None
;
10211 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 PyObject
* obj1
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self",(char *) "maxVal", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10224 arg2
= (int) SWIG_AsInt(obj1
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 (arg1
)->SetMax(arg2
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 Py_INCREF(Py_None
); resultobj
= Py_None
;
10240 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 PyObject
* obj2
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10255 arg2
= (int) SWIG_AsInt(obj1
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10257 arg3
= (int) SWIG_AsInt(obj2
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 (arg1
)->SetRange(arg2
,arg3
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 Py_INCREF(Py_None
); resultobj
= Py_None
;
10273 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10299 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10302 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10304 return Py_BuildValue((char *)"");
10306 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxWindow
*arg1
= (wxWindow
*) 0 ;
10309 int arg2
= (int) -1 ;
10310 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10311 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10312 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10313 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10314 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10315 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10316 long arg6
= (long) wxSP_ARROW_KEYS
;
10317 int arg7
= (int) 0 ;
10318 int arg8
= (int) 100 ;
10319 int arg9
= (int) 0 ;
10320 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10321 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10322 wxSpinCtrl
*result
;
10323 bool temp3
= False
;
10326 bool temp10
= False
;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 PyObject
* obj2
= 0 ;
10330 PyObject
* obj3
= 0 ;
10331 PyObject
* obj4
= 0 ;
10332 PyObject
* obj5
= 0 ;
10333 PyObject
* obj6
= 0 ;
10334 PyObject
* obj7
= 0 ;
10335 PyObject
* obj8
= 0 ;
10336 PyObject
* obj9
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 arg2
= (int) SWIG_AsInt(obj1
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10350 arg3
= wxString_in_helper(obj2
);
10351 if (arg3
== NULL
) SWIG_fail
;
10358 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10364 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10368 arg6
= (long) SWIG_AsLong(obj5
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10372 arg7
= (int) SWIG_AsInt(obj6
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 arg8
= (int) SWIG_AsInt(obj7
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10380 arg9
= (int) SWIG_AsInt(obj8
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10385 arg10
= wxString_in_helper(obj9
);
10386 if (arg10
== NULL
) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10420 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxSpinCtrl
*result
;
10423 char *kwnames
[] = {
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10442 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10445 wxWindow
*arg2
= (wxWindow
*) 0 ;
10446 int arg3
= (int) -1 ;
10447 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10448 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10449 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10450 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10451 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10452 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10453 long arg7
= (long) wxSP_ARROW_KEYS
;
10454 int arg8
= (int) 0 ;
10455 int arg9
= (int) 100 ;
10456 int arg10
= (int) 0 ;
10457 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10458 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10460 bool temp4
= False
;
10463 bool temp11
= False
;
10464 PyObject
* obj0
= 0 ;
10465 PyObject
* obj1
= 0 ;
10466 PyObject
* obj2
= 0 ;
10467 PyObject
* obj3
= 0 ;
10468 PyObject
* obj4
= 0 ;
10469 PyObject
* obj5
= 0 ;
10470 PyObject
* obj6
= 0 ;
10471 PyObject
* obj7
= 0 ;
10472 PyObject
* obj8
= 0 ;
10473 PyObject
* obj9
= 0 ;
10474 PyObject
* obj10
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10485 arg3
= (int) SWIG_AsInt(obj2
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10490 arg4
= wxString_in_helper(obj3
);
10491 if (arg4
== NULL
) SWIG_fail
;
10498 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10504 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10508 arg7
= (long) SWIG_AsLong(obj6
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10512 arg8
= (int) SWIG_AsInt(obj7
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10516 arg9
= (int) SWIG_AsInt(obj8
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10520 arg10
= (int) SWIG_AsInt(obj9
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10525 arg11
= wxString_in_helper(obj10
);
10526 if (arg11
== NULL
) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10560 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10564 PyObject
* obj0
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_FromInt((int)result
);
10586 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
;
10588 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self",(char *) "value", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10599 arg2
= (int) SWIG_AsInt(obj1
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->SetValue(arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 Py_INCREF(Py_None
); resultobj
= Py_None
;
10615 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10618 wxString
*arg2
= 0 ;
10619 bool temp2
= False
;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "text", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10630 arg2
= wxString_in_helper(obj1
);
10631 if (arg2
== NULL
) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 (arg1
)->SetValue((wxString
const &)*arg2
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 Py_INCREF(Py_None
); resultobj
= Py_None
;
10656 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
;
10658 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 PyObject
* obj2
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10671 arg2
= (int) SWIG_AsInt(obj1
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10673 arg3
= (int) SWIG_AsInt(obj2
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 (arg1
)->SetRange(arg2
,arg3
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 Py_INCREF(Py_None
); resultobj
= Py_None
;
10689 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_FromInt((int)result
);
10715 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_FromInt((int)result
);
10741 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 PyObject
* obj2
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "from",(char *) "to", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10756 arg2
= (long) SWIG_AsLong(obj1
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10758 arg3
= (long) SWIG_AsLong(obj2
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 (arg1
)->SetSelection(arg2
,arg3
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 Py_INCREF(Py_None
); resultobj
= Py_None
;
10774 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10777 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10779 return Py_BuildValue((char *)"");
10781 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10784 int arg2
= (int) 0 ;
10785 wxSpinEvent
*result
;
10786 PyObject
* obj0
= 0 ;
10787 PyObject
* obj1
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "commandType",(char *) "winid", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10794 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 arg2
= (int) SWIG_AsInt(obj1
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10815 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 char *kwnames
[] = {
10821 (char *) "self", NULL
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= SWIG_FromInt((int)result
);
10841 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self",(char *) "pos", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10854 arg2
= (int) SWIG_AsInt(obj1
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 (arg1
)->SetPosition(arg2
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 Py_INCREF(Py_None
); resultobj
= Py_None
;
10870 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10873 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10875 return Py_BuildValue((char *)"");
10877 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10878 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10883 static PyObject
*_wrap_RadioBoxNameStr_get() {
10888 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10890 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10897 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10898 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10903 static PyObject
*_wrap_RadioButtonNameStr_get() {
10908 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10910 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10917 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxWindow
*arg1
= (wxWindow
*) 0 ;
10921 wxString
*arg3
= 0 ;
10922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10924 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10925 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10926 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10927 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10928 int arg7
= (int) 0 ;
10929 long arg8
= (long) wxRA_HORIZONTAL
;
10930 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10931 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10932 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10933 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10934 wxRadioBox
*result
;
10935 bool temp3
= False
;
10938 bool temp6
= False
;
10939 bool temp10
= False
;
10940 PyObject
* obj0
= 0 ;
10941 PyObject
* obj1
= 0 ;
10942 PyObject
* obj2
= 0 ;
10943 PyObject
* obj3
= 0 ;
10944 PyObject
* obj4
= 0 ;
10945 PyObject
* obj5
= 0 ;
10946 PyObject
* obj6
= 0 ;
10947 PyObject
* obj7
= 0 ;
10948 PyObject
* obj8
= 0 ;
10949 PyObject
* obj9
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10957 arg2
= (int) SWIG_AsInt(obj1
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 arg3
= wxString_in_helper(obj2
);
10961 if (arg3
== NULL
) SWIG_fail
;
10967 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10973 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10978 if (! PySequence_Check(obj5
)) {
10979 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10982 arg6
= new wxArrayString
;
10984 int i
, len
=PySequence_Length(obj5
);
10985 for (i
=0; i
<len
; i
++) {
10986 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10988 PyObject
* str
= PyObject_Unicode(item
);
10990 PyObject
* str
= PyObject_Str(item
);
10992 arg6
->Add(Py2wxString(str
));
10999 arg7
= (int) SWIG_AsInt(obj6
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 arg8
= (long) SWIG_AsLong(obj7
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11010 if (arg9
== NULL
) {
11011 PyErr_SetString(PyExc_TypeError
,"null reference");
11017 arg10
= wxString_in_helper(obj9
);
11018 if (arg10
== NULL
) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 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
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11035 if (temp6
) delete arg6
;
11048 if (temp6
) delete arg6
;
11058 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxRadioBox
*result
;
11061 char *kwnames
[] = {
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (wxRadioBox
*)new wxRadioBox();
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11080 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11083 wxWindow
*arg2
= (wxWindow
*) 0 ;
11085 wxString
*arg4
= 0 ;
11086 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11087 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11088 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11089 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11090 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11091 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11092 int arg8
= (int) 0 ;
11093 long arg9
= (long) wxRA_HORIZONTAL
;
11094 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11095 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11096 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11097 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11099 bool temp4
= False
;
11102 bool temp7
= False
;
11103 bool temp11
= False
;
11104 PyObject
* obj0
= 0 ;
11105 PyObject
* obj1
= 0 ;
11106 PyObject
* obj2
= 0 ;
11107 PyObject
* obj3
= 0 ;
11108 PyObject
* obj4
= 0 ;
11109 PyObject
* obj5
= 0 ;
11110 PyObject
* obj6
= 0 ;
11111 PyObject
* obj7
= 0 ;
11112 PyObject
* obj8
= 0 ;
11113 PyObject
* obj9
= 0 ;
11114 PyObject
* obj10
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 arg3
= (int) SWIG_AsInt(obj2
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 arg4
= wxString_in_helper(obj3
);
11128 if (arg4
== NULL
) SWIG_fail
;
11134 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11140 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11145 if (! PySequence_Check(obj6
)) {
11146 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11149 arg7
= new wxArrayString
;
11151 int i
, len
=PySequence_Length(obj6
);
11152 for (i
=0; i
<len
; i
++) {
11153 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11155 PyObject
* str
= PyObject_Unicode(item
);
11157 PyObject
* str
= PyObject_Str(item
);
11159 arg7
->Add(Py2wxString(str
));
11166 arg8
= (int) SWIG_AsInt(obj7
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11170 arg9
= (long) SWIG_AsLong(obj8
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11174 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11177 if (arg10
== NULL
) {
11178 PyErr_SetString(PyExc_TypeError
,"null reference");
11184 arg11
= wxString_in_helper(obj10
);
11185 if (arg11
== NULL
) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 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
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11202 if (temp7
) delete arg7
;
11215 if (temp7
) delete arg7
;
11225 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self",(char *) "n", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11238 arg2
= (int) SWIG_AsInt(obj1
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 (arg1
)->SetSelection(arg2
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 Py_INCREF(Py_None
); resultobj
= Py_None
;
11254 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11258 PyObject
* obj0
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_FromInt((int)result
);
11280 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11284 PyObject
* obj0
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11312 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11315 wxString
*arg2
= 0 ;
11317 bool temp2
= False
;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self",(char *) "s", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11328 arg2
= wxString_in_helper(obj1
);
11329 if (arg2
== NULL
) SWIG_fail
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11354 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= SWIG_FromInt((int)result
);
11380 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11383 wxString
*arg2
= 0 ;
11385 bool temp2
= False
;
11386 PyObject
* obj0
= 0 ;
11387 PyObject
* obj1
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "s", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11396 arg2
= wxString_in_helper(obj1
);
11397 if (arg2
== NULL
) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= SWIG_FromInt((int)result
);
11422 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "n", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11436 arg2
= (int) SWIG_AsInt(obj1
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11458 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11462 wxString
*arg3
= 0 ;
11463 bool temp3
= False
;
11464 PyObject
* obj0
= 0 ;
11465 PyObject
* obj1
= 0 ;
11466 PyObject
* obj2
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self",(char *) "n",(char *) "label", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11474 arg2
= (int) SWIG_AsInt(obj1
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 arg3
= wxString_in_helper(obj2
);
11478 if (arg3
== NULL
) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 Py_INCREF(Py_None
); resultobj
= Py_None
;
11503 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11507 bool arg3
= (bool) True
;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 PyObject
* obj2
= 0 ;
11511 char *kwnames
[] = {
11512 (char *) "self",(char *) "n",(char *) "enable", NULL
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11518 arg2
= (int) SWIG_AsInt(obj1
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 arg3
= (bool) SWIG_AsBool(obj2
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 (arg1
)->Enable(arg2
,arg3
);
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 Py_INCREF(Py_None
); resultobj
= Py_None
;
11538 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11542 bool arg3
= (bool) True
;
11543 PyObject
* obj0
= 0 ;
11544 PyObject
* obj1
= 0 ;
11545 PyObject
* obj2
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self",(char *) "n",(char *) "show", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11553 arg2
= (int) SWIG_AsInt(obj1
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 arg3
= (bool) SWIG_AsBool(obj2
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 (arg1
)->Show(arg2
,arg3
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 Py_INCREF(Py_None
); resultobj
= Py_None
;
11573 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= SWIG_FromInt((int)result
);
11599 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_FromInt((int)result
);
11625 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 PyObject
* obj2
= 0 ;
11635 PyObject
* obj3
= 0 ;
11636 char *kwnames
[] = {
11637 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11643 arg2
= (int) SWIG_AsInt(obj1
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11645 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11647 arg4
= (long) SWIG_AsLong(obj3
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_FromInt((int)result
);
11663 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11666 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11668 return Py_BuildValue((char *)"");
11670 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxWindow
*arg1
= (wxWindow
*) 0 ;
11674 wxString
*arg3
= 0 ;
11675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11679 long arg6
= (long) 0 ;
11680 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11681 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11682 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11683 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11684 wxRadioButton
*result
;
11685 bool temp3
= False
;
11688 bool temp8
= False
;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 PyObject
* obj2
= 0 ;
11692 PyObject
* obj3
= 0 ;
11693 PyObject
* obj4
= 0 ;
11694 PyObject
* obj5
= 0 ;
11695 PyObject
* obj6
= 0 ;
11696 PyObject
* obj7
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11704 arg2
= (int) SWIG_AsInt(obj1
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 arg3
= wxString_in_helper(obj2
);
11708 if (arg3
== NULL
) SWIG_fail
;
11714 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11720 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11724 arg6
= (long) SWIG_AsLong(obj5
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11728 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11731 if (arg7
== NULL
) {
11732 PyErr_SetString(PyExc_TypeError
,"null reference");
11738 arg8
= wxString_in_helper(obj7
);
11739 if (arg8
== NULL
) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11773 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxRadioButton
*result
;
11776 char *kwnames
[] = {
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (wxRadioButton
*)new wxRadioButton();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11795 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11798 wxWindow
*arg2
= (wxWindow
*) 0 ;
11800 wxString
*arg4
= 0 ;
11801 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11802 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11803 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11804 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11805 long arg7
= (long) 0 ;
11806 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11807 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11808 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11809 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11811 bool temp4
= False
;
11814 bool temp9
= False
;
11815 PyObject
* obj0
= 0 ;
11816 PyObject
* obj1
= 0 ;
11817 PyObject
* obj2
= 0 ;
11818 PyObject
* obj3
= 0 ;
11819 PyObject
* obj4
= 0 ;
11820 PyObject
* obj5
= 0 ;
11821 PyObject
* obj6
= 0 ;
11822 PyObject
* obj7
= 0 ;
11823 PyObject
* obj8
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11833 arg3
= (int) SWIG_AsInt(obj2
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11836 arg4
= wxString_in_helper(obj3
);
11837 if (arg4
== NULL
) SWIG_fail
;
11843 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11849 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11853 arg7
= (long) SWIG_AsLong(obj6
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11860 if (arg8
== NULL
) {
11861 PyErr_SetString(PyExc_TypeError
,"null reference");
11867 arg9
= wxString_in_helper(obj8
);
11868 if (arg9
== NULL
) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11902 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (bool)(arg1
)->GetValue();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11928 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self",(char *) "value", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 arg2
= (bool) SWIG_AsBool(obj1
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 (arg1
)->SetValue(arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 Py_INCREF(Py_None
); resultobj
= Py_None
;
11957 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11960 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11962 return Py_BuildValue((char *)"");
11964 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
11965 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11970 static PyObject
*_wrap_SliderNameStr_get() {
11975 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11977 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11984 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxWindow
*arg1
= (wxWindow
*) 0 ;
11991 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11992 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11993 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11994 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11995 long arg8
= (long) wxSL_HORIZONTAL
;
11996 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11997 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11998 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11999 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12003 bool temp10
= False
;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 PyObject
* obj2
= 0 ;
12007 PyObject
* obj3
= 0 ;
12008 PyObject
* obj4
= 0 ;
12009 PyObject
* obj5
= 0 ;
12010 PyObject
* obj6
= 0 ;
12011 PyObject
* obj7
= 0 ;
12012 PyObject
* obj8
= 0 ;
12013 PyObject
* obj9
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12021 arg2
= (int) SWIG_AsInt(obj1
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12023 arg3
= (int) SWIG_AsInt(obj2
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12025 arg4
= (int) SWIG_AsInt(obj3
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12027 arg5
= (int) SWIG_AsInt(obj4
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12032 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12038 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12042 arg8
= (long) SWIG_AsLong(obj7
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12046 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12049 if (arg9
== NULL
) {
12050 PyErr_SetString(PyExc_TypeError
,"null reference");
12056 arg10
= wxString_in_helper(obj9
);
12057 if (arg10
== NULL
) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12083 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12086 char *kwnames
[] = {
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (wxSlider
*)new wxSlider();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12105 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxSlider
*arg1
= (wxSlider
*) 0 ;
12108 wxWindow
*arg2
= (wxWindow
*) 0 ;
12113 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12114 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12115 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12116 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12117 long arg9
= (long) wxSL_HORIZONTAL
;
12118 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12119 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12120 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12121 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12125 bool temp11
= False
;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 PyObject
* obj2
= 0 ;
12129 PyObject
* obj3
= 0 ;
12130 PyObject
* obj4
= 0 ;
12131 PyObject
* obj5
= 0 ;
12132 PyObject
* obj6
= 0 ;
12133 PyObject
* obj7
= 0 ;
12134 PyObject
* obj8
= 0 ;
12135 PyObject
* obj9
= 0 ;
12136 PyObject
* obj10
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12146 arg3
= (int) SWIG_AsInt(obj2
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12148 arg4
= (int) SWIG_AsInt(obj3
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12150 arg5
= (int) SWIG_AsInt(obj4
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12152 arg6
= (int) SWIG_AsInt(obj5
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12157 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12163 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12167 arg9
= (long) SWIG_AsLong(obj8
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12171 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12174 if (arg10
== NULL
) {
12175 PyErr_SetString(PyExc_TypeError
,"null reference");
12181 arg11
= wxString_in_helper(obj10
);
12182 if (arg11
== NULL
) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12208 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxSlider
*arg1
= (wxSlider
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= SWIG_FromInt((int)result
);
12234 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxSlider
*arg1
= (wxSlider
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self",(char *) "value", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12247 arg2
= (int) SWIG_AsInt(obj1
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 (arg1
)->SetValue(arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 Py_INCREF(Py_None
); resultobj
= Py_None
;
12263 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxSlider
*arg1
= (wxSlider
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 PyObject
* obj2
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12278 arg2
= (int) SWIG_AsInt(obj1
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12280 arg3
= (int) SWIG_AsInt(obj2
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 (arg1
)->SetRange(arg2
,arg3
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 Py_INCREF(Py_None
); resultobj
= Py_None
;
12296 static PyObject
*_wrap_Slider_GetMin(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_GetMin",kwnames
,&obj0
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_FromInt((int)result
);
12322 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxSlider
*arg1
= (wxSlider
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_FromInt((int)result
);
12348 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxSlider
*arg1
= (wxSlider
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self",(char *) "minValue", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 arg2
= (int) SWIG_AsInt(obj1
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 (arg1
)->SetMin(arg2
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 Py_INCREF(Py_None
); resultobj
= Py_None
;
12377 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxSlider
*arg1
= (wxSlider
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 PyObject
* obj1
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self",(char *) "maxValue", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12390 arg2
= (int) SWIG_AsInt(obj1
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 (arg1
)->SetMax(arg2
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 Py_INCREF(Py_None
); resultobj
= Py_None
;
12406 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxSlider
*arg1
= (wxSlider
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 PyObject
* obj1
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self",(char *) "lineSize", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12419 arg2
= (int) SWIG_AsInt(obj1
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 (arg1
)->SetLineSize(arg2
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 Py_INCREF(Py_None
); resultobj
= Py_None
;
12435 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxSlider
*arg1
= (wxSlider
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self",(char *) "pageSize", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12448 arg2
= (int) SWIG_AsInt(obj1
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 (arg1
)->SetPageSize(arg2
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 Py_INCREF(Py_None
); resultobj
= Py_None
;
12464 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxSlider
*arg1
= (wxSlider
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_FromInt((int)result
);
12490 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxSlider
*arg1
= (wxSlider
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= SWIG_FromInt((int)result
);
12516 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxSlider
*arg1
= (wxSlider
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self",(char *) "lenPixels", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12529 arg2
= (int) SWIG_AsInt(obj1
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->SetThumbLength(arg2
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 Py_INCREF(Py_None
); resultobj
= Py_None
;
12545 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxSlider
*arg1
= (wxSlider
*) 0 ;
12549 PyObject
* obj0
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_FromInt((int)result
);
12571 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxSlider
*arg1
= (wxSlider
*) 0 ;
12575 int arg3
= (int) 1 ;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 PyObject
* obj2
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self",(char *) "n",(char *) "pos", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12586 arg2
= (int) SWIG_AsInt(obj1
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 arg3
= (int) SWIG_AsInt(obj2
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 (arg1
)->SetTickFreq(arg2
,arg3
);
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 Py_INCREF(Py_None
); resultobj
= Py_None
;
12606 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxSlider
*arg1
= (wxSlider
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= SWIG_FromInt((int)result
);
12632 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxSlider
*arg1
= (wxSlider
*) 0 ;
12635 PyObject
* obj0
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 (arg1
)->ClearTicks();
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 Py_INCREF(Py_None
); resultobj
= Py_None
;
12657 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
;
12659 wxSlider
*arg1
= (wxSlider
*) 0 ;
12661 PyObject
* obj0
= 0 ;
12662 PyObject
* obj1
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self",(char *) "tickPos", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12670 arg2
= (int) SWIG_AsInt(obj1
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 (arg1
)->SetTick(arg2
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 Py_INCREF(Py_None
); resultobj
= Py_None
;
12686 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxSlider
*arg1
= (wxSlider
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 (arg1
)->ClearSel();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 Py_INCREF(Py_None
); resultobj
= Py_None
;
12711 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
;
12713 wxSlider
*arg1
= (wxSlider
*) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= SWIG_FromInt((int)result
);
12737 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxSlider
*arg1
= (wxSlider
*) 0 ;
12741 PyObject
* obj0
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_FromInt((int)result
);
12763 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxSlider
*arg1
= (wxSlider
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 PyObject
* obj2
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self",(char *) "min",(char *) "max", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12778 arg2
= (int) SWIG_AsInt(obj1
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12780 arg3
= (int) SWIG_AsInt(obj2
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 (arg1
)->SetSelection(arg2
,arg3
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 Py_INCREF(Py_None
); resultobj
= Py_None
;
12796 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12799 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12801 return Py_BuildValue((char *)"");
12803 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12804 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12809 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12814 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12816 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12823 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxWindow
*arg1
= (wxWindow
*) 0 ;
12827 wxString
*arg3
= 0 ;
12828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12832 long arg6
= (long) 0 ;
12833 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12834 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12835 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12837 wxToggleButton
*result
;
12838 bool temp3
= False
;
12841 bool temp8
= False
;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 PyObject
* obj2
= 0 ;
12845 PyObject
* obj3
= 0 ;
12846 PyObject
* obj4
= 0 ;
12847 PyObject
* obj5
= 0 ;
12848 PyObject
* obj6
= 0 ;
12849 PyObject
* obj7
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12857 arg2
= (int) SWIG_AsInt(obj1
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 arg3
= wxString_in_helper(obj2
);
12861 if (arg3
== NULL
) SWIG_fail
;
12867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12877 arg6
= (long) SWIG_AsLong(obj5
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12884 if (arg7
== NULL
) {
12885 PyErr_SetString(PyExc_TypeError
,"null reference");
12891 arg8
= wxString_in_helper(obj7
);
12892 if (arg8
== NULL
) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12926 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxToggleButton
*result
;
12929 char *kwnames
[] = {
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= (wxToggleButton
*)new wxToggleButton();
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12948 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
;
12950 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12951 wxWindow
*arg2
= (wxWindow
*) 0 ;
12953 wxString
*arg4
= 0 ;
12954 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12955 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12956 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12957 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12958 long arg7
= (long) 0 ;
12959 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12960 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12961 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12962 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12964 bool temp4
= False
;
12967 bool temp9
= False
;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 PyObject
* obj2
= 0 ;
12971 PyObject
* obj3
= 0 ;
12972 PyObject
* obj4
= 0 ;
12973 PyObject
* obj5
= 0 ;
12974 PyObject
* obj6
= 0 ;
12975 PyObject
* obj7
= 0 ;
12976 PyObject
* obj8
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
12983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12986 arg3
= (int) SWIG_AsInt(obj2
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 arg4
= wxString_in_helper(obj3
);
12990 if (arg4
== NULL
) SWIG_fail
;
12996 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13002 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13006 arg7
= (long) SWIG_AsLong(obj6
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13010 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13013 if (arg8
== NULL
) {
13014 PyErr_SetString(PyExc_TypeError
,"null reference");
13020 arg9
= wxString_in_helper(obj8
);
13021 if (arg9
== NULL
) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 char *kwnames
[] = {
13062 (char *) "self",(char *) "value", NULL
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13068 arg2
= (bool) SWIG_AsBool(obj1
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->SetValue(arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13110 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13113 wxString
*arg2
= 0 ;
13114 bool temp2
= False
;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "label", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 arg2
= wxString_in_helper(obj1
);
13126 if (arg2
== NULL
) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 (arg1
)->SetLabel((wxString
const &)*arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 Py_INCREF(Py_None
); resultobj
= Py_None
;
13151 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13154 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13156 return Py_BuildValue((char *)"");
13158 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13159 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13164 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13169 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13171 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13178 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13204 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "n", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13218 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= wxPyMake_wxObject(result
);
13236 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13240 PyObject
* obj0
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "self", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= SWIG_FromInt((int)result
);
13262 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13266 wxString
*arg3
= 0 ;
13268 bool temp3
= False
;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 PyObject
* obj2
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "n",(char *) "strText", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13279 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 arg3
= wxString_in_helper(obj2
);
13283 if (arg3
== NULL
) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13308 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "n", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13344 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
;
13346 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13347 wxImageList
*arg2
= (wxImageList
*) 0 ;
13348 PyObject
* obj0
= 0 ;
13349 PyObject
* obj1
= 0 ;
13350 char *kwnames
[] = {
13351 (char *) "self",(char *) "imageList", NULL
13354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 (arg1
)->SetImageList(arg2
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13376 wxImageList
*arg2
= (wxImageList
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self",(char *) "imageList", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13387 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 (arg1
)->AssignImageList(arg2
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 Py_INCREF(Py_None
); resultobj
= Py_None
;
13402 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
;
13404 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13405 wxImageList
*result
;
13406 PyObject
* obj0
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= wxPyMake_wxObject(result
);
13430 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self",(char *) "n", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13444 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_FromInt((int)result
);
13460 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 PyObject
* obj2
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self",(char *) "n",(char *) "imageId", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13476 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13478 arg3
= (int) SWIG_AsInt(obj2
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13494 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "size", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13510 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 Py_INCREF(Py_None
); resultobj
= Py_None
;
13526 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self",(char *) "sizePage", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13553 wxSize
* resultptr
;
13554 resultptr
= new wxSize((wxSize
&) result
);
13555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13563 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self",(char *) "n", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (bool)(arg1
)->DeletePage(arg2
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13593 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self",(char *) "n", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13607 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (bool)(arg1
)->RemovePage(arg2
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13623 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (bool)(arg1
)->DeleteAllPages();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13649 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
;
13651 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13652 wxWindow
*arg2
= (wxWindow
*) 0 ;
13653 wxString
*arg3
= 0 ;
13654 bool arg4
= (bool) False
;
13655 int arg5
= (int) -1 ;
13657 bool temp3
= False
;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 PyObject
* obj2
= 0 ;
13661 PyObject
* obj3
= 0 ;
13662 PyObject
* obj4
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13673 arg3
= wxString_in_helper(obj2
);
13674 if (arg3
== NULL
) SWIG_fail
;
13678 arg4
= (bool) SWIG_AsBool(obj3
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13682 arg5
= (int) SWIG_AsInt(obj4
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13707 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13711 wxWindow
*arg3
= (wxWindow
*) 0 ;
13712 wxString
*arg4
= 0 ;
13713 bool arg5
= (bool) False
;
13714 int arg6
= (int) -1 ;
13716 bool temp4
= False
;
13717 PyObject
* obj0
= 0 ;
13718 PyObject
* obj1
= 0 ;
13719 PyObject
* obj2
= 0 ;
13720 PyObject
* obj3
= 0 ;
13721 PyObject
* obj4
= 0 ;
13722 PyObject
* obj5
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13730 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13732 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13735 arg4
= wxString_in_helper(obj3
);
13736 if (arg4
== NULL
) SWIG_fail
;
13740 arg5
= (bool) SWIG_AsBool(obj4
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13744 arg6
= (int) SWIG_AsInt(obj5
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13769 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self",(char *) "n", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13783 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (int)(arg1
)->SetSelection(arg2
);
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= SWIG_FromInt((int)result
);
13799 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13802 bool arg2
= (bool) True
;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self",(char *) "forward", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13813 arg2
= (bool) SWIG_AsBool(obj1
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 (arg1
)->AdvanceSelection(arg2
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 Py_INCREF(Py_None
); resultobj
= Py_None
;
13830 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13833 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13835 return Py_BuildValue((char *)"");
13837 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
;
13839 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13840 int arg2
= (int) 0 ;
13841 int arg3
= (int) -1 ;
13842 int arg4
= (int) -1 ;
13843 wxBookCtrlEvent
*result
;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 PyObject
* obj2
= 0 ;
13847 PyObject
* obj3
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13854 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 arg2
= (int) SWIG_AsInt(obj1
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13862 arg3
= (int) SWIG_AsInt(obj2
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13866 arg4
= (int) SWIG_AsInt(obj3
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13883 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_FromInt((int)result
);
13909 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 char *kwnames
[] = {
13916 (char *) "self",(char *) "nSel", NULL
13919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13922 arg2
= (int) SWIG_AsInt(obj1
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 (arg1
)->SetSelection(arg2
);
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 Py_INCREF(Py_None
); resultobj
= Py_None
;
13938 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
;
13940 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= SWIG_FromInt((int)result
);
13964 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13965 PyObject
*resultobj
;
13966 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 PyObject
* obj1
= 0 ;
13970 char *kwnames
[] = {
13971 (char *) "self",(char *) "nOldSel", NULL
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13977 arg2
= (int) SWIG_AsInt(obj1
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 (arg1
)->SetOldSelection(arg2
);
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 Py_INCREF(Py_None
); resultobj
= Py_None
;
13993 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13996 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13998 return Py_BuildValue((char *)"");
14000 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxWindow
*arg1
= (wxWindow
*) 0 ;
14004 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14005 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14006 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14007 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14008 long arg5
= (long) 0 ;
14009 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14010 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14011 wxNotebook
*result
;
14014 bool temp6
= False
;
14015 PyObject
* obj0
= 0 ;
14016 PyObject
* obj1
= 0 ;
14017 PyObject
* obj2
= 0 ;
14018 PyObject
* obj3
= 0 ;
14019 PyObject
* obj4
= 0 ;
14020 PyObject
* obj5
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14028 arg2
= (int) SWIG_AsInt(obj1
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14033 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14039 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14043 arg5
= (long) SWIG_AsLong(obj4
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14048 arg6
= wxString_in_helper(obj5
);
14049 if (arg6
== NULL
) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= wxPyMake_wxObject(result
);
14077 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxNotebook
*result
;
14080 char *kwnames
[] = {
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (wxNotebook
*)new wxNotebook();
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= wxPyMake_wxObject(result
);
14101 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
;
14103 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14104 wxWindow
*arg2
= (wxWindow
*) 0 ;
14106 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14107 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14108 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14109 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14110 long arg6
= (long) 0 ;
14111 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14116 bool temp7
= False
;
14117 PyObject
* obj0
= 0 ;
14118 PyObject
* obj1
= 0 ;
14119 PyObject
* obj2
= 0 ;
14120 PyObject
* obj3
= 0 ;
14121 PyObject
* obj4
= 0 ;
14122 PyObject
* obj5
= 0 ;
14123 PyObject
* obj6
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14133 arg3
= (int) SWIG_AsInt(obj2
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14148 arg6
= (long) SWIG_AsLong(obj5
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14153 arg7
= wxString_in_helper(obj6
);
14154 if (arg7
== NULL
) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14180 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_FromInt((int)result
);
14206 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14211 PyObject
* obj0
= 0 ;
14212 PyObject
* obj1
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self",(char *) "padding", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14222 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 Py_INCREF(Py_None
); resultobj
= Py_None
;
14238 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14243 PyObject
* obj0
= 0 ;
14244 PyObject
* obj1
= 0 ;
14245 char *kwnames
[] = {
14246 (char *) "self",(char *) "sz", NULL
14249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14254 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14263 Py_INCREF(Py_None
); resultobj
= Py_None
;
14270 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14273 wxPoint
*arg2
= 0 ;
14274 long *arg3
= (long *) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "pt", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14290 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_FromInt((int)result
);
14301 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14302 resultobj
= t_output_helper(resultobj
,o
);
14310 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 PyObject
* obj1
= 0 ;
14318 char *kwnames
[] = {
14319 (char *) "self",(char *) "sizePage", NULL
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14327 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14337 wxSize
* resultptr
;
14338 resultptr
= new wxSize((wxSize
&) result
);
14339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14347 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14350 wxWindow
*arg2
= (wxWindow
*) 0 ;
14351 wxColour
*arg3
= 0 ;
14353 PyObject
* obj0
= 0 ;
14354 PyObject
* obj1
= 0 ;
14355 PyObject
* obj2
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self",(char *) "window",(char *) "colour", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14367 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14386 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14388 return Py_BuildValue((char *)"");
14390 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14393 int arg2
= (int) 0 ;
14394 int arg3
= (int) -1 ;
14395 int arg4
= (int) -1 ;
14396 wxNotebookEvent
*result
;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 PyObject
* obj2
= 0 ;
14400 PyObject
* obj3
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14407 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14411 arg2
= (int) SWIG_AsInt(obj1
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14415 arg3
= (int) SWIG_AsInt(obj2
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14419 arg4
= (int) SWIG_AsInt(obj3
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14436 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14439 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14441 return Py_BuildValue((char *)"");
14443 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxWindow
*arg1
= (wxWindow
*) 0 ;
14447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14451 long arg5
= (long) 0 ;
14452 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14453 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14454 wxListbook
*result
;
14457 bool temp6
= False
;
14458 PyObject
* obj0
= 0 ;
14459 PyObject
* obj1
= 0 ;
14460 PyObject
* obj2
= 0 ;
14461 PyObject
* obj3
= 0 ;
14462 PyObject
* obj4
= 0 ;
14463 PyObject
* obj5
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 arg2
= (int) SWIG_AsInt(obj1
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14482 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14486 arg5
= (long) SWIG_AsLong(obj4
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14491 arg6
= wxString_in_helper(obj5
);
14492 if (arg6
== NULL
) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14518 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 wxListbook
*result
;
14521 char *kwnames
[] = {
14525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (wxListbook
*)new wxListbook();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14540 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxListbook
*arg1
= (wxListbook
*) 0 ;
14543 wxWindow
*arg2
= (wxWindow
*) 0 ;
14545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14549 long arg6
= (long) 0 ;
14550 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14551 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14555 bool temp7
= False
;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 PyObject
* obj2
= 0 ;
14559 PyObject
* obj3
= 0 ;
14560 PyObject
* obj4
= 0 ;
14561 PyObject
* obj5
= 0 ;
14562 PyObject
* obj6
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14572 arg3
= (int) SWIG_AsInt(obj2
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14577 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14583 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14587 arg6
= (long) SWIG_AsLong(obj5
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14592 arg7
= wxString_in_helper(obj6
);
14593 if (arg7
== NULL
) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14619 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxListbook
*arg1
= (wxListbook
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "self", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14645 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14648 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14650 return Py_BuildValue((char *)"");
14652 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14655 int arg2
= (int) 0 ;
14656 int arg3
= (int) -1 ;
14657 int arg4
= (int) -1 ;
14658 wxListbookEvent
*result
;
14659 PyObject
* obj0
= 0 ;
14660 PyObject
* obj1
= 0 ;
14661 PyObject
* obj2
= 0 ;
14662 PyObject
* obj3
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14669 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14673 arg2
= (int) SWIG_AsInt(obj1
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14677 arg3
= (int) SWIG_AsInt(obj2
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14681 arg4
= (int) SWIG_AsInt(obj3
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14698 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14701 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14703 return Py_BuildValue((char *)"");
14705 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14708 wxBookCtrlSizer
*result
;
14709 PyObject
* obj0
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "nb", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14731 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 (arg1
)->RecalcSizes();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 Py_INCREF(Py_None
); resultobj
= Py_None
;
14756 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (arg1
)->CalcMin();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14776 wxSize
* resultptr
;
14777 resultptr
= new wxSize((wxSize
&) result
);
14778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14786 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14789 wxBookCtrl
*result
;
14790 PyObject
* obj0
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14812 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14815 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14817 return Py_BuildValue((char *)"");
14819 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14822 wxNotebookSizer
*result
;
14823 PyObject
* obj0
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "nb", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14845 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 (arg1
)->RecalcSizes();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 Py_INCREF(Py_None
); resultobj
= Py_None
;
14870 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (arg1
)->CalcMin();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 wxSize
* resultptr
;
14891 resultptr
= new wxSize((wxSize
&) result
);
14892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14900 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14903 wxNotebook
*result
;
14904 PyObject
* obj0
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= wxPyMake_wxObject(result
);
14928 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14931 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14933 return Py_BuildValue((char *)"");
14935 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14939 PyObject
* obj0
= 0 ;
14940 char *kwnames
[] = {
14941 (char *) "self", NULL
14944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (int)(arg1
)->GetId();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= SWIG_FromInt((int)result
);
14961 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (wxControl
*)(arg1
)->GetControl();
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= wxPyMake_wxObject(result
);
14989 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14992 wxToolBarBase
*result
;
14993 PyObject
* obj0
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= wxPyMake_wxObject(result
);
15017 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 result
= (int)(arg1
)->IsButton();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_FromInt((int)result
);
15043 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (int)(arg1
)->IsControl();
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_FromInt((int)result
);
15069 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (int)(arg1
)->IsSeparator();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= SWIG_FromInt((int)result
);
15095 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (int)(arg1
)->GetStyle();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_FromInt((int)result
);
15121 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (int)(arg1
)->GetKind();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_FromInt((int)result
);
15147 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (bool)(arg1
)->IsEnabled();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15173 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (bool)(arg1
)->IsToggled();
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15199 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (bool)(arg1
)->CanBeToggled();
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15225 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15241 result
= (wxBitmap
*) &_result_ref
;
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 wxBitmap
* resultptr
= new wxBitmap(*result
);
15249 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15257 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15261 PyObject
* obj0
= 0 ;
15262 char *kwnames
[] = {
15263 (char *) "self", NULL
15266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15273 result
= (wxBitmap
*) &_result_ref
;
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15280 wxBitmap
* resultptr
= new wxBitmap(*result
);
15281 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15289 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (arg1
)->GetBitmap();
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 wxBitmap
* resultptr
;
15310 resultptr
= new wxBitmap((wxBitmap
&) result
);
15311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15319 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (arg1
)->GetLabel();
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15351 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (arg1
)->GetShortHelp();
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15383 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (arg1
)->GetLongHelp();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15415 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self",(char *) "enable", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15429 arg2
= (bool) SWIG_AsBool(obj1
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (bool)(arg1
)->Enable(arg2
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15445 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 char *kwnames
[] = {
15450 (char *) "self", NULL
15453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15463 Py_INCREF(Py_None
); resultobj
= Py_None
;
15470 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self",(char *) "toggle", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15484 arg2
= (bool) SWIG_AsBool(obj1
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (bool)(arg1
)->SetToggle(arg2
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15500 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
;
15502 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15503 wxString
*arg2
= 0 ;
15505 bool temp2
= False
;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self",(char *) "help", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 arg2
= wxString_in_helper(obj1
);
15517 if (arg2
== NULL
) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15542 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15545 wxString
*arg2
= 0 ;
15547 bool temp2
= False
;
15548 PyObject
* obj0
= 0 ;
15549 PyObject
* obj1
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self",(char *) "help", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15558 arg2
= wxString_in_helper(obj1
);
15559 if (arg2
== NULL
) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15584 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
;
15586 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15587 wxBitmap
*arg2
= 0 ;
15588 PyObject
* obj0
= 0 ;
15589 PyObject
* obj1
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self",(char *) "bmp", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15600 if (arg2
== NULL
) {
15601 PyErr_SetString(PyExc_TypeError
,"null reference");
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 Py_INCREF(Py_None
); resultobj
= Py_None
;
15618 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15621 wxBitmap
*arg2
= 0 ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "bmp", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15634 if (arg2
== NULL
) {
15635 PyErr_SetString(PyExc_TypeError
,"null reference");
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 Py_INCREF(Py_None
); resultobj
= Py_None
;
15652 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15655 wxString
*arg2
= 0 ;
15656 bool temp2
= False
;
15657 PyObject
* obj0
= 0 ;
15658 PyObject
* obj1
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "label", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 arg2
= wxString_in_helper(obj1
);
15668 if (arg2
== NULL
) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 (arg1
)->SetLabel((wxString
const &)*arg2
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 Py_INCREF(Py_None
); resultobj
= Py_None
;
15693 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
;
15695 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 Py_INCREF(Py_None
); resultobj
= Py_None
;
15718 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15721 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "tbar", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 (arg1
)->Attach(arg2
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 Py_INCREF(Py_None
); resultobj
= Py_None
;
15747 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= result
;
15773 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15776 PyObject
*arg2
= (PyObject
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self",(char *) "clientData", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 Py_INCREF(Py_None
); resultobj
= Py_None
;
15801 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15804 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15806 return Py_BuildValue((char *)"");
15808 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15812 wxString
*arg3
= 0 ;
15813 wxBitmap
*arg4
= 0 ;
15814 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15815 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15816 int arg6
= (int) wxITEM_NORMAL
;
15817 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15818 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15819 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15820 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15821 PyObject
*arg9
= (PyObject
*) NULL
;
15822 wxToolBarToolBase
*result
;
15823 bool temp3
= False
;
15824 bool temp7
= False
;
15825 bool temp8
= False
;
15826 PyObject
* obj0
= 0 ;
15827 PyObject
* obj1
= 0 ;
15828 PyObject
* obj2
= 0 ;
15829 PyObject
* obj3
= 0 ;
15830 PyObject
* obj4
= 0 ;
15831 PyObject
* obj5
= 0 ;
15832 PyObject
* obj6
= 0 ;
15833 PyObject
* obj7
= 0 ;
15834 PyObject
* obj8
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15842 arg2
= (int) SWIG_AsInt(obj1
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 arg3
= wxString_in_helper(obj2
);
15846 if (arg3
== NULL
) SWIG_fail
;
15849 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15852 if (arg4
== NULL
) {
15853 PyErr_SetString(PyExc_TypeError
,"null reference");
15857 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15860 if (arg5
== NULL
) {
15861 PyErr_SetString(PyExc_TypeError
,"null reference");
15866 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15871 arg7
= wxString_in_helper(obj6
);
15872 if (arg7
== NULL
) SWIG_fail
;
15878 arg8
= wxString_in_helper(obj7
);
15879 if (arg8
== NULL
) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= wxPyMake_wxObject(result
);
15926 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15931 wxString
*arg4
= 0 ;
15932 wxBitmap
*arg5
= 0 ;
15933 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15934 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15935 int arg7
= (int) wxITEM_NORMAL
;
15936 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15937 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15938 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15939 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15940 PyObject
*arg10
= (PyObject
*) NULL
;
15941 wxToolBarToolBase
*result
;
15942 bool temp4
= False
;
15943 bool temp8
= False
;
15944 bool temp9
= False
;
15945 PyObject
* obj0
= 0 ;
15946 PyObject
* obj1
= 0 ;
15947 PyObject
* obj2
= 0 ;
15948 PyObject
* obj3
= 0 ;
15949 PyObject
* obj4
= 0 ;
15950 PyObject
* obj5
= 0 ;
15951 PyObject
* obj6
= 0 ;
15952 PyObject
* obj7
= 0 ;
15953 PyObject
* obj8
= 0 ;
15954 PyObject
* obj9
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15964 arg3
= (int) SWIG_AsInt(obj2
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 arg4
= wxString_in_helper(obj3
);
15968 if (arg4
== NULL
) SWIG_fail
;
15971 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15974 if (arg5
== NULL
) {
15975 PyErr_SetString(PyExc_TypeError
,"null reference");
15979 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15982 if (arg6
== NULL
) {
15983 PyErr_SetString(PyExc_TypeError
,"null reference");
15988 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15993 arg8
= wxString_in_helper(obj7
);
15994 if (arg8
== NULL
) SWIG_fail
;
16000 arg9
= wxString_in_helper(obj8
);
16001 if (arg9
== NULL
) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 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
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= wxPyMake_wxObject(result
);
16048 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16051 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16052 wxToolBarToolBase
*result
;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self",(char *) "tool", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= wxPyMake_wxObject(result
);
16080 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16084 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16085 wxToolBarToolBase
*result
;
16086 PyObject
* obj0
= 0 ;
16087 PyObject
* obj1
= 0 ;
16088 PyObject
* obj2
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self",(char *) "pos",(char *) "tool", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16098 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= wxPyMake_wxObject(result
);
16116 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16119 wxControl
*arg2
= (wxControl
*) 0 ;
16120 wxToolBarToolBase
*result
;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self",(char *) "control", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= wxPyMake_wxObject(result
);
16148 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16152 wxControl
*arg3
= (wxControl
*) 0 ;
16153 wxToolBarToolBase
*result
;
16154 PyObject
* obj0
= 0 ;
16155 PyObject
* obj1
= 0 ;
16156 PyObject
* obj2
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self",(char *) "pos",(char *) "control", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16164 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16166 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= wxPyMake_wxObject(result
);
16184 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self",(char *) "id", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16198 arg2
= (int) SWIG_AsInt(obj1
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= wxPyMake_wxObject(result
);
16216 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16219 wxToolBarToolBase
*result
;
16220 PyObject
* obj0
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= wxPyMake_wxObject(result
);
16244 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16248 wxToolBarToolBase
*result
;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self",(char *) "pos", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16258 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= wxPyMake_wxObject(result
);
16276 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16280 wxToolBarToolBase
*result
;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "id", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16290 arg2
= (int) SWIG_AsInt(obj1
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= wxPyMake_wxObject(result
);
16308 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 PyObject
* obj1
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self",(char *) "pos", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16322 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16338 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self",(char *) "id", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16352 arg2
= (int) SWIG_AsInt(obj1
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (bool)(arg1
)->DeleteTool(arg2
);
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16368 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 (arg1
)->ClearTools();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 Py_INCREF(Py_None
); resultobj
= Py_None
;
16393 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16397 PyObject
* obj0
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "self", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (bool)(arg1
)->Realize();
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16419 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 PyObject
* obj1
= 0 ;
16426 PyObject
* obj2
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self",(char *) "id",(char *) "enable", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16434 arg2
= (int) SWIG_AsInt(obj1
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16436 arg3
= (bool) SWIG_AsBool(obj2
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 (arg1
)->EnableTool(arg2
,arg3
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 Py_INCREF(Py_None
); resultobj
= Py_None
;
16452 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 PyObject
* obj1
= 0 ;
16459 PyObject
* obj2
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self",(char *) "id",(char *) "toggle", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16467 arg2
= (int) SWIG_AsInt(obj1
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16469 arg3
= (bool) SWIG_AsBool(obj2
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->ToggleTool(arg2
,arg3
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 Py_INCREF(Py_None
); resultobj
= Py_None
;
16485 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 PyObject
* obj1
= 0 ;
16492 PyObject
* obj2
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self",(char *) "id",(char *) "toggle", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16500 arg2
= (int) SWIG_AsInt(obj1
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16502 arg3
= (bool) SWIG_AsBool(obj2
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 (arg1
)->SetToggle(arg2
,arg3
);
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16511 Py_INCREF(Py_None
); resultobj
= Py_None
;
16518 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 PyObject
* obj1
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self",(char *) "id", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16532 arg2
= (int) SWIG_AsInt(obj1
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= result
;
16548 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16552 PyObject
*arg3
= (PyObject
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 PyObject
* obj2
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self",(char *) "id",(char *) "clientData", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16563 arg2
= (int) SWIG_AsInt(obj1
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 Py_INCREF(Py_None
); resultobj
= Py_None
;
16580 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self",(char *) "id", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16594 arg2
= (int) SWIG_AsInt(obj1
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_FromInt((int)result
);
16610 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 PyObject
* obj1
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self",(char *) "id", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16624 arg2
= (int) SWIG_AsInt(obj1
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= (bool)(arg1
)->GetToolState(arg2
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16640 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16645 PyObject
* obj0
= 0 ;
16646 PyObject
* obj1
= 0 ;
16647 char *kwnames
[] = {
16648 (char *) "self",(char *) "id", NULL
16651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16654 arg2
= (int) SWIG_AsInt(obj1
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16670 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16674 wxString
*arg3
= 0 ;
16675 bool temp3
= False
;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 PyObject
* obj2
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self",(char *) "id",(char *) "helpString", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16686 arg2
= (int) SWIG_AsInt(obj1
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 arg3
= wxString_in_helper(obj2
);
16690 if (arg3
== NULL
) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 Py_INCREF(Py_None
); resultobj
= Py_None
;
16715 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "id", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 arg2
= (int) SWIG_AsInt(obj1
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (arg1
)->GetToolShortHelp(arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16751 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16755 wxString
*arg3
= 0 ;
16756 bool temp3
= False
;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 PyObject
* obj2
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self",(char *) "id",(char *) "helpString", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16767 arg2
= (int) SWIG_AsInt(obj1
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 arg3
= wxString_in_helper(obj2
);
16771 if (arg3
== NULL
) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 Py_INCREF(Py_None
); resultobj
= Py_None
;
16796 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self",(char *) "id", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16810 arg2
= (int) SWIG_AsInt(obj1
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= (arg1
)->GetToolLongHelp(arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16832 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 PyObject
* obj2
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "self",(char *) "x",(char *) "y", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16847 arg2
= (int) SWIG_AsInt(obj1
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16849 arg3
= (int) SWIG_AsInt(obj2
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 (arg1
)->SetMargins(arg2
,arg3
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 Py_INCREF(Py_None
); resultobj
= Py_None
;
16865 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 PyObject
* obj1
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self",(char *) "size", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16881 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 Py_INCREF(Py_None
); resultobj
= Py_None
;
16897 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16901 PyObject
* obj0
= 0 ;
16902 PyObject
* obj1
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "packing", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16910 arg2
= (int) SWIG_AsInt(obj1
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 (arg1
)->SetToolPacking(arg2
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 Py_INCREF(Py_None
); resultobj
= Py_None
;
16926 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self",(char *) "separation", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16939 arg2
= (int) SWIG_AsInt(obj1
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 (arg1
)->SetToolSeparation(arg2
);
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 Py_INCREF(Py_None
); resultobj
= Py_None
;
16955 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16959 PyObject
* obj0
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= (arg1
)->GetToolMargins();
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16975 wxSize
* resultptr
;
16976 resultptr
= new wxSize((wxSize
&) result
);
16977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16985 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (arg1
)->GetMargins();
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17005 wxSize
* resultptr
;
17006 resultptr
= new wxSize((wxSize
&) result
);
17007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17015 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17019 PyObject
* obj0
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (int)(arg1
)->GetToolPacking();
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= SWIG_FromInt((int)result
);
17041 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17045 PyObject
* obj0
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= (int)(arg1
)->GetToolSeparation();
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= SWIG_FromInt((int)result
);
17067 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "nRows", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17080 arg2
= (int) SWIG_AsInt(obj1
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 (arg1
)->SetRows(arg2
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 Py_INCREF(Py_None
); resultobj
= Py_None
;
17096 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17101 PyObject
* obj0
= 0 ;
17102 PyObject
* obj1
= 0 ;
17103 PyObject
* obj2
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self",(char *) "rows",(char *) "cols", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17111 arg2
= (int) SWIG_AsInt(obj1
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17113 arg3
= (int) SWIG_AsInt(obj2
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 Py_INCREF(Py_None
); resultobj
= Py_None
;
17129 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17133 PyObject
* obj0
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (int)(arg1
)->GetMaxRows();
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= SWIG_FromInt((int)result
);
17155 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (int)(arg1
)->GetMaxCols();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= SWIG_FromInt((int)result
);
17181 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self",(char *) "size", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17197 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 Py_INCREF(Py_None
); resultobj
= Py_None
;
17213 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (arg1
)->GetToolBitmapSize();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17233 wxSize
* resultptr
;
17234 resultptr
= new wxSize((wxSize
&) result
);
17235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17243 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= (arg1
)->GetToolSize();
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17263 wxSize
* resultptr
;
17264 resultptr
= new wxSize((wxSize
&) result
);
17265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17273 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17278 wxToolBarToolBase
*result
;
17279 PyObject
* obj0
= 0 ;
17280 PyObject
* obj1
= 0 ;
17281 PyObject
* obj2
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "self",(char *) "x",(char *) "y", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17289 arg2
= (int) SWIG_AsInt(obj1
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17291 arg3
= (int) SWIG_AsInt(obj2
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= wxPyMake_wxObject(result
);
17309 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17313 wxToolBarToolBase
*result
;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "toolid", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17323 arg2
= (int) SWIG_AsInt(obj1
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= wxPyMake_wxObject(result
);
17341 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= (bool)(arg1
)->IsVertical();
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17367 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17370 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17372 return Py_BuildValue((char *)"");
17374 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxWindow
*arg1
= (wxWindow
*) 0 ;
17378 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17379 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17380 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17381 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17382 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17383 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17384 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17388 bool temp6
= False
;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 PyObject
* obj2
= 0 ;
17392 PyObject
* obj3
= 0 ;
17393 PyObject
* obj4
= 0 ;
17394 PyObject
* obj5
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17402 arg2
= (int) SWIG_AsInt(obj1
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17407 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17413 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17417 arg5
= (long) SWIG_AsLong(obj4
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17422 arg6
= wxString_in_helper(obj5
);
17423 if (arg6
== NULL
) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= wxPyMake_wxObject(result
);
17451 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17454 char *kwnames
[] = {
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (wxToolBar
*)new wxToolBar();
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= wxPyMake_wxObject(result
);
17475 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17478 wxWindow
*arg2
= (wxWindow
*) 0 ;
17480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17484 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17485 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17486 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17490 bool temp7
= False
;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 PyObject
* obj2
= 0 ;
17494 PyObject
* obj3
= 0 ;
17495 PyObject
* obj4
= 0 ;
17496 PyObject
* obj5
= 0 ;
17497 PyObject
* obj6
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17507 arg3
= (int) SWIG_AsInt(obj2
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17512 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17518 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17522 arg6
= (long) SWIG_AsLong(obj5
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17527 arg7
= wxString_in_helper(obj6
);
17528 if (arg7
== NULL
) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17554 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17559 wxToolBarToolBase
*result
;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 PyObject
* obj2
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self",(char *) "x",(char *) "y", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17570 arg2
= (int) SWIG_AsInt(obj1
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17572 arg3
= (int) SWIG_AsInt(obj2
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= wxPyMake_wxObject(result
);
17590 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17593 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17595 return Py_BuildValue((char *)"");
17597 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17598 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17603 static PyObject
*_wrap_ListCtrlNameStr_get() {
17608 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17610 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17617 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxColour
const &arg1_defvalue
= wxNullColour
;
17620 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17621 wxColour
const &arg2_defvalue
= wxNullColour
;
17622 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17623 wxFont
const &arg3_defvalue
= wxNullFont
;
17624 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17625 wxListItemAttr
*result
;
17628 PyObject
* obj0
= 0 ;
17629 PyObject
* obj1
= 0 ;
17630 PyObject
* obj2
= 0 ;
17631 char *kwnames
[] = {
17632 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17639 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17645 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17649 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17652 if (arg3
== NULL
) {
17653 PyErr_SetString(PyExc_TypeError
,"null reference");
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17671 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17674 wxColour
*arg2
= 0 ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "colText", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17687 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 Py_INCREF(Py_None
); resultobj
= Py_None
;
17703 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17706 wxColour
*arg2
= 0 ;
17708 PyObject
* obj0
= 0 ;
17709 PyObject
* obj1
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self",(char *) "colBack", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 Py_INCREF(Py_None
); resultobj
= Py_None
;
17735 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "font", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17751 if (arg2
== NULL
) {
17752 PyErr_SetString(PyExc_TypeError
,"null reference");
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 (arg1
)->SetFont((wxFont
const &)*arg2
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 Py_INCREF(Py_None
); resultobj
= Py_None
;
17769 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 result
= (bool)(arg1
)->HasTextColour();
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17795 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 result
= (bool)(arg1
)->HasBackgroundColour();
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17821 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17825 PyObject
* obj0
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (bool)(arg1
)->HasFont();
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17847 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (arg1
)->GetTextColour();
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 wxColour
* resultptr
;
17868 resultptr
= new wxColour((wxColour
&) result
);
17869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17877 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (arg1
)->GetBackgroundColour();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 wxColour
* resultptr
;
17898 resultptr
= new wxColour((wxColour
&) result
);
17899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17907 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (arg1
)->GetFont();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17927 wxFont
* resultptr
;
17928 resultptr
= new wxFont((wxFont
&) result
);
17929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17937 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 wxListItemAttr_Destroy(arg1
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 Py_INCREF(Py_None
); resultobj
= Py_None
;
17962 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17965 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17967 return Py_BuildValue((char *)"");
17969 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxListItem
*result
;
17972 char *kwnames
[] = {
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (wxListItem
*)new wxListItem();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= wxPyMake_wxObject(result
);
17993 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxListItem
*arg1
= (wxListItem
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 Py_INCREF(Py_None
); resultobj
= Py_None
;
18018 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxListItem
*arg1
= (wxListItem
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 Py_INCREF(Py_None
); resultobj
= Py_None
;
18043 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxListItem
*arg1
= (wxListItem
*) 0 ;
18046 PyObject
* obj0
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 (arg1
)->ClearAttributes();
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 Py_INCREF(Py_None
); resultobj
= Py_None
;
18068 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxListItem
*arg1
= (wxListItem
*) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "mask", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18081 arg2
= (long) SWIG_AsLong(obj1
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 (arg1
)->SetMask(arg2
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 Py_INCREF(Py_None
); resultobj
= Py_None
;
18097 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxListItem
*arg1
= (wxListItem
*) 0 ;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self",(char *) "id", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18110 arg2
= (long) SWIG_AsLong(obj1
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 (arg1
)->SetId(arg2
);
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 Py_INCREF(Py_None
); resultobj
= Py_None
;
18126 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
;
18128 wxListItem
*arg1
= (wxListItem
*) 0 ;
18130 PyObject
* obj0
= 0 ;
18131 PyObject
* obj1
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self",(char *) "col", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18139 arg2
= (int) SWIG_AsInt(obj1
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 (arg1
)->SetColumn(arg2
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 Py_INCREF(Py_None
); resultobj
= Py_None
;
18155 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxListItem
*arg1
= (wxListItem
*) 0 ;
18159 PyObject
* obj0
= 0 ;
18160 PyObject
* obj1
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "state", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 arg2
= (long) SWIG_AsLong(obj1
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 (arg1
)->SetState(arg2
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 Py_INCREF(Py_None
); resultobj
= Py_None
;
18184 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxListItem
*arg1
= (wxListItem
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self",(char *) "stateMask", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18197 arg2
= (long) SWIG_AsLong(obj1
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 (arg1
)->SetStateMask(arg2
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 Py_INCREF(Py_None
); resultobj
= Py_None
;
18213 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxListItem
*arg1
= (wxListItem
*) 0 ;
18216 wxString
*arg2
= 0 ;
18217 bool temp2
= False
;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "text", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18228 arg2
= wxString_in_helper(obj1
);
18229 if (arg2
== NULL
) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 (arg1
)->SetText((wxString
const &)*arg2
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 Py_INCREF(Py_None
); resultobj
= Py_None
;
18254 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxListItem
*arg1
= (wxListItem
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 PyObject
* obj1
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "image", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 arg2
= (int) SWIG_AsInt(obj1
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 (arg1
)->SetImage(arg2
);
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 Py_INCREF(Py_None
); resultobj
= Py_None
;
18283 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxListItem
*arg1
= (wxListItem
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self",(char *) "data", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 arg2
= (long) SWIG_AsLong(obj1
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->SetData(arg2
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 Py_INCREF(Py_None
); resultobj
= Py_None
;
18312 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxListItem
*arg1
= (wxListItem
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "width", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 arg2
= (int) SWIG_AsInt(obj1
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 (arg1
)->SetWidth(arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 Py_INCREF(Py_None
); resultobj
= Py_None
;
18341 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxListItem
*arg1
= (wxListItem
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "align", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 Py_INCREF(Py_None
); resultobj
= Py_None
;
18370 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxListItem
*arg1
= (wxListItem
*) 0 ;
18373 wxColour
*arg2
= 0 ;
18375 PyObject
* obj0
= 0 ;
18376 PyObject
* obj1
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self",(char *) "colText", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 Py_INCREF(Py_None
); resultobj
= Py_None
;
18402 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxListItem
*arg1
= (wxListItem
*) 0 ;
18405 wxColour
*arg2
= 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "colBack", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 Py_INCREF(Py_None
); resultobj
= Py_None
;
18434 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxListItem
*arg1
= (wxListItem
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self",(char *) "font", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18450 if (arg2
== NULL
) {
18451 PyErr_SetString(PyExc_TypeError
,"null reference");
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 (arg1
)->SetFont((wxFont
const &)*arg2
);
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 Py_INCREF(Py_None
); resultobj
= Py_None
;
18468 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxListItem
*arg1
= (wxListItem
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 result
= (long)(arg1
)->GetMask();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_FromLong((long)result
);
18494 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxListItem
*arg1
= (wxListItem
*) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 char *kwnames
[] = {
18500 (char *) "self", NULL
18503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 result
= (long)(arg1
)->GetId();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_FromLong((long)result
);
18520 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxListItem
*arg1
= (wxListItem
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (int)(arg1
)->GetColumn();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_FromInt((int)result
);
18546 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxListItem
*arg1
= (wxListItem
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (long)(arg1
)->GetState();
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_FromLong((long)result
);
18572 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxListItem
*arg1
= (wxListItem
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 wxString
const &_result_ref
= (arg1
)->GetText();
18588 result
= (wxString
*) &_result_ref
;
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18598 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18607 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxListItem
*arg1
= (wxListItem
*) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (int)(arg1
)->GetImage();
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= SWIG_FromInt((int)result
);
18633 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxListItem
*arg1
= (wxListItem
*) 0 ;
18637 PyObject
* obj0
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (long)(arg1
)->GetData();
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_FromLong((long)result
);
18659 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxListItem
*arg1
= (wxListItem
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 result
= (int)(arg1
)->GetWidth();
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_FromInt((int)result
);
18685 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
;
18687 wxListItem
*arg1
= (wxListItem
*) 0 ;
18689 PyObject
* obj0
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "self", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 result
= (int)(arg1
)->GetAlign();
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 resultobj
= SWIG_FromInt((int)result
);
18711 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
;
18713 wxListItem
*arg1
= (wxListItem
*) 0 ;
18714 wxListItemAttr
*result
;
18715 PyObject
* obj0
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18737 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxListItem
*arg1
= (wxListItem
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (bool)(arg1
)->HasAttributes();
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18763 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxListItem
*arg1
= (wxListItem
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18783 wxColour
* resultptr
;
18784 resultptr
= new wxColour((wxColour
&) result
);
18785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18793 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxListItem
*arg1
= (wxListItem
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18813 wxColour
* resultptr
;
18814 resultptr
= new wxColour((wxColour
&) result
);
18815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18823 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxListItem
*arg1
= (wxListItem
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= ((wxListItem
const *)arg1
)->GetFont();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18843 wxFont
* resultptr
;
18844 resultptr
= new wxFont((wxFont
&) result
);
18845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18853 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxListItem
*arg1
= (wxListItem
*) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self",(char *) "m_mask", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18866 arg2
= (long) SWIG_AsLong(obj1
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18868 if (arg1
) (arg1
)->m_mask
= arg2
;
18870 Py_INCREF(Py_None
); resultobj
= Py_None
;
18877 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxListItem
*arg1
= (wxListItem
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18889 result
= (long) ((arg1
)->m_mask
);
18891 resultobj
= SWIG_FromLong((long)result
);
18898 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxListItem
*arg1
= (wxListItem
*) 0 ;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "m_itemId", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18911 arg2
= (long) SWIG_AsLong(obj1
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18913 if (arg1
) (arg1
)->m_itemId
= arg2
;
18915 Py_INCREF(Py_None
); resultobj
= Py_None
;
18922 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxListItem
*arg1
= (wxListItem
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 result
= (long) ((arg1
)->m_itemId
);
18936 resultobj
= SWIG_FromLong((long)result
);
18943 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxListItem
*arg1
= (wxListItem
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self",(char *) "m_col", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18956 arg2
= (int) SWIG_AsInt(obj1
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18958 if (arg1
) (arg1
)->m_col
= arg2
;
18960 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxListItem
*arg1
= (wxListItem
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18979 result
= (int) ((arg1
)->m_col
);
18981 resultobj
= SWIG_FromInt((int)result
);
18988 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxListItem
*arg1
= (wxListItem
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "m_state", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19001 arg2
= (long) SWIG_AsLong(obj1
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19003 if (arg1
) (arg1
)->m_state
= arg2
;
19005 Py_INCREF(Py_None
); resultobj
= Py_None
;
19012 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxListItem
*arg1
= (wxListItem
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "self", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19024 result
= (long) ((arg1
)->m_state
);
19026 resultobj
= SWIG_FromLong((long)result
);
19033 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxListItem
*arg1
= (wxListItem
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 char *kwnames
[] = {
19040 (char *) "self",(char *) "m_stateMask", NULL
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19046 arg2
= (long) SWIG_AsLong(obj1
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19048 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19050 Py_INCREF(Py_None
); resultobj
= Py_None
;
19057 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxListItem
*arg1
= (wxListItem
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19069 result
= (long) ((arg1
)->m_stateMask
);
19071 resultobj
= SWIG_FromLong((long)result
);
19078 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxListItem
*arg1
= (wxListItem
*) 0 ;
19081 wxString
*arg2
= (wxString
*) 0 ;
19082 bool temp2
= False
;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "m_text", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19093 arg2
= wxString_in_helper(obj1
);
19094 if (arg2
== NULL
) SWIG_fail
;
19097 if (arg1
) (arg1
)->m_text
= *arg2
;
19099 Py_INCREF(Py_None
); resultobj
= Py_None
;
19114 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxListItem
*arg1
= (wxListItem
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19126 result
= (wxString
*)& ((arg1
)->m_text
);
19130 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19132 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19141 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxListItem
*arg1
= (wxListItem
*) 0 ;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self",(char *) "m_image", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19154 arg2
= (int) SWIG_AsInt(obj1
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19156 if (arg1
) (arg1
)->m_image
= arg2
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19165 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxListItem
*arg1
= (wxListItem
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 result
= (int) ((arg1
)->m_image
);
19179 resultobj
= SWIG_FromInt((int)result
);
19186 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxListItem
*arg1
= (wxListItem
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "m_data", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19199 arg2
= (long) SWIG_AsLong(obj1
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19201 if (arg1
) (arg1
)->m_data
= arg2
;
19203 Py_INCREF(Py_None
); resultobj
= Py_None
;
19210 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxListItem
*arg1
= (wxListItem
*) 0 ;
19214 PyObject
* obj0
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19222 result
= (long) ((arg1
)->m_data
);
19224 resultobj
= SWIG_FromLong((long)result
);
19231 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxListItem
*arg1
= (wxListItem
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self",(char *) "m_format", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19244 arg2
= (int) SWIG_AsInt(obj1
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19246 if (arg1
) (arg1
)->m_format
= arg2
;
19248 Py_INCREF(Py_None
); resultobj
= Py_None
;
19255 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxListItem
*arg1
= (wxListItem
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19267 result
= (int) ((arg1
)->m_format
);
19269 resultobj
= SWIG_FromInt((int)result
);
19276 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxListItem
*arg1
= (wxListItem
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self",(char *) "m_width", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19289 arg2
= (int) SWIG_AsInt(obj1
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19291 if (arg1
) (arg1
)->m_width
= arg2
;
19293 Py_INCREF(Py_None
); resultobj
= Py_None
;
19300 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxListItem
*arg1
= (wxListItem
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19312 result
= (int) ((arg1
)->m_width
);
19314 resultobj
= SWIG_FromInt((int)result
);
19321 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19324 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19326 return Py_BuildValue((char *)"");
19328 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19331 int arg2
= (int) 0 ;
19332 wxListEvent
*result
;
19333 PyObject
* obj0
= 0 ;
19334 PyObject
* obj1
= 0 ;
19335 char *kwnames
[] = {
19336 (char *) "commandType",(char *) "id", NULL
19339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19341 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19345 arg2
= (int) SWIG_AsInt(obj1
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19362 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self",(char *) "m_code", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19375 arg2
= (int) SWIG_AsInt(obj1
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19377 if (arg1
) (arg1
)->m_code
= arg2
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19386 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19390 PyObject
* obj0
= 0 ;
19391 char *kwnames
[] = {
19392 (char *) "self", NULL
19395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 result
= (int) ((arg1
)->m_code
);
19400 resultobj
= SWIG_FromInt((int)result
);
19407 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19411 PyObject
* obj0
= 0 ;
19412 PyObject
* obj1
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self",(char *) "m_oldItemIndex", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19420 arg2
= (long) SWIG_AsLong(obj1
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19422 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19424 Py_INCREF(Py_None
); resultobj
= Py_None
;
19431 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(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_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19443 result
= (long) ((arg1
)->m_oldItemIndex
);
19445 resultobj
= SWIG_FromLong((long)result
);
19452 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "m_itemIndex", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 arg2
= (long) SWIG_AsLong(obj1
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19467 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19469 Py_INCREF(Py_None
); resultobj
= Py_None
;
19476 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19478 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19480 PyObject
* obj0
= 0 ;
19481 char *kwnames
[] = {
19482 (char *) "self", NULL
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19488 result
= (long) ((arg1
)->m_itemIndex
);
19490 resultobj
= SWIG_FromLong((long)result
);
19497 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self",(char *) "m_col", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19510 arg2
= (int) SWIG_AsInt(obj1
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19512 if (arg1
) (arg1
)->m_col
= arg2
;
19514 Py_INCREF(Py_None
); resultobj
= Py_None
;
19521 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19525 PyObject
* obj0
= 0 ;
19526 char *kwnames
[] = {
19527 (char *) "self", NULL
19530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19533 result
= (int) ((arg1
)->m_col
);
19535 resultobj
= SWIG_FromInt((int)result
);
19542 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19545 wxPoint
*arg2
= (wxPoint
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self",(char *) "m_pointDrag", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19559 Py_INCREF(Py_None
); resultobj
= Py_None
;
19566 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19587 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19590 wxListItem
*result
;
19591 PyObject
* obj0
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 result
= (wxListItem
*)& ((arg1
)->m_item
);
19602 resultobj
= wxPyMake_wxObject(result
);
19610 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
;
19612 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19614 PyObject
* obj0
= 0 ;
19615 char *kwnames
[] = {
19616 (char *) "self", NULL
19619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (int)(arg1
)->GetKeyCode();
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= SWIG_FromInt((int)result
);
19636 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "self", NULL
19645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 result
= (long)(arg1
)->GetIndex();
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= SWIG_FromLong((long)result
);
19662 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 result
= (int)(arg1
)->GetColumn();
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19681 resultobj
= SWIG_FromInt((int)result
);
19688 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
;
19690 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (arg1
)->GetPoint();
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19708 wxPoint
* resultptr
;
19709 resultptr
= new wxPoint((wxPoint
&) result
);
19710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19718 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19720 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19733 wxString
const &_result_ref
= (arg1
)->GetLabel();
19734 result
= (wxString
*) &_result_ref
;
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19744 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19753 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 wxString
const &_result_ref
= (arg1
)->GetText();
19769 result
= (wxString
*) &_result_ref
;
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19779 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19788 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "self", NULL
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (int)(arg1
)->GetImage();
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_FromInt((int)result
);
19814 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
;
19816 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19818 PyObject
* obj0
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (long)(arg1
)->GetData();
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= SWIG_FromLong((long)result
);
19840 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
;
19842 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19844 PyObject
* obj0
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 result
= (long)(arg1
)->GetMask();
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 resultobj
= SWIG_FromLong((long)result
);
19866 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
;
19868 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19869 wxListItem
*result
;
19870 PyObject
* obj0
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "self", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19882 result
= (wxListItem
*) &_result_ref
;
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19895 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 result
= (long)(arg1
)->GetCacheFrom();
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= SWIG_FromLong((long)result
);
19921 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19925 PyObject
* obj0
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "self", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= (long)(arg1
)->GetCacheTo();
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= SWIG_FromLong((long)result
);
19947 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19973 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
;
19975 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19977 PyObject
* obj0
= 0 ;
19978 PyObject
* obj1
= 0 ;
19979 char *kwnames
[] = {
19980 (char *) "self",(char *) "editCancelled", NULL
19983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19986 arg2
= (bool) SWIG_AsBool(obj1
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 (arg1
)->SetEditCanceled(arg2
);
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19995 Py_INCREF(Py_None
); resultobj
= Py_None
;
20002 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20005 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20007 return Py_BuildValue((char *)"");
20009 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
;
20011 wxWindow
*arg1
= (wxWindow
*) 0 ;
20012 int arg2
= (int) -1 ;
20013 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20014 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20015 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20016 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20017 long arg5
= (long) wxLC_ICON
;
20018 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20019 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20020 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20022 wxPyListCtrl
*result
;
20025 bool temp7
= False
;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 PyObject
* obj2
= 0 ;
20029 PyObject
* obj3
= 0 ;
20030 PyObject
* obj4
= 0 ;
20031 PyObject
* obj5
= 0 ;
20032 PyObject
* obj6
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20041 arg2
= (int) SWIG_AsInt(obj1
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20047 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20053 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20057 arg5
= (long) SWIG_AsLong(obj4
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20061 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20064 if (arg6
== NULL
) {
20065 PyErr_SetString(PyExc_TypeError
,"null reference");
20071 arg7
= wxString_in_helper(obj6
);
20072 if (arg7
== NULL
) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20098 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxPyListCtrl
*result
;
20101 char *kwnames
[] = {
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20120 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20123 wxWindow
*arg2
= (wxWindow
*) 0 ;
20124 int arg3
= (int) -1 ;
20125 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20126 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20127 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20128 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20129 long arg6
= (long) wxLC_ICON
;
20130 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20131 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20132 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20137 bool temp8
= False
;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 PyObject
* obj2
= 0 ;
20141 PyObject
* obj3
= 0 ;
20142 PyObject
* obj4
= 0 ;
20143 PyObject
* obj5
= 0 ;
20144 PyObject
* obj6
= 0 ;
20145 PyObject
* obj7
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20156 arg3
= (int) SWIG_AsInt(obj2
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20168 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20172 arg6
= (long) SWIG_AsLong(obj5
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20176 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20179 if (arg7
== NULL
) {
20180 PyErr_SetString(PyExc_TypeError
,"null reference");
20186 arg8
= wxString_in_helper(obj7
);
20187 if (arg8
== NULL
) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20213 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
;
20215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20216 PyObject
*arg2
= (PyObject
*) 0 ;
20217 PyObject
*arg3
= (PyObject
*) 0 ;
20218 PyObject
* obj0
= 0 ;
20219 PyObject
* obj1
= 0 ;
20220 PyObject
* obj2
= 0 ;
20221 char *kwnames
[] = {
20222 (char *) "self",(char *) "self",(char *) "_class", NULL
20225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 Py_INCREF(Py_None
); resultobj
= Py_None
;
20244 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20247 wxColour
*arg2
= 0 ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self",(char *) "col", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20261 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20277 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20280 wxColour
*arg2
= 0 ;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "col", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20310 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20314 wxListItem
*result
;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self",(char *) "col", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20324 arg2
= (int) SWIG_AsInt(obj1
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= wxPyMake_wxObject(result
);
20342 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20346 wxListItem
*arg3
= 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 PyObject
* obj2
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self",(char *) "col",(char *) "item", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20358 arg2
= (int) SWIG_AsInt(obj1
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20360 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20363 if (arg3
== NULL
) {
20364 PyErr_SetString(PyExc_TypeError
,"null reference");
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20381 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self",(char *) "col", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20395 arg2
= (int) SWIG_AsInt(obj1
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= SWIG_FromInt((int)result
);
20411 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20417 PyObject
* obj0
= 0 ;
20418 PyObject
* obj1
= 0 ;
20419 PyObject
* obj2
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "col",(char *) "width", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20427 arg2
= (int) SWIG_AsInt(obj1
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20429 arg3
= (int) SWIG_AsInt(obj2
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20445 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
;
20447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20449 PyObject
* obj0
= 0 ;
20450 char *kwnames
[] = {
20451 (char *) "self", NULL
20454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= SWIG_FromInt((int)result
);
20471 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 char *kwnames
[] = {
20477 (char *) "self", NULL
20480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20491 wxRect
* resultptr
;
20492 resultptr
= new wxRect((wxRect
&) result
);
20493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20501 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20504 wxTextCtrl
*result
;
20505 PyObject
* obj0
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= wxPyMake_wxObject(result
);
20529 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20533 int arg3
= (int) 0 ;
20534 wxListItem
*result
;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 PyObject
* obj2
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "self",(char *) "itemId",(char *) "col", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20545 arg2
= (long) SWIG_AsLong(obj1
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 arg3
= (int) SWIG_AsInt(obj2
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= wxPyMake_wxObject(result
);
20567 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20570 wxListItem
*arg2
= 0 ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "self",(char *) "info", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20584 if (arg2
== NULL
) {
20585 PyErr_SetString(PyExc_TypeError
,"null reference");
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= (bool)(arg1
)->SetItem(*arg2
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20602 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20607 wxString
*arg4
= 0 ;
20608 int arg5
= (int) -1 ;
20610 bool temp4
= False
;
20611 PyObject
* obj0
= 0 ;
20612 PyObject
* obj1
= 0 ;
20613 PyObject
* obj2
= 0 ;
20614 PyObject
* obj3
= 0 ;
20615 PyObject
* obj4
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20623 arg2
= (long) SWIG_AsLong(obj1
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20625 arg3
= (int) SWIG_AsInt(obj2
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 arg4
= wxString_in_helper(obj3
);
20629 if (arg4
== NULL
) SWIG_fail
;
20633 arg5
= (int) SWIG_AsInt(obj4
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= SWIG_FromLong((long)result
);
20658 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
;
20660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 PyObject
* obj2
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 arg2
= (long) SWIG_AsLong(obj1
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20676 arg3
= (long) SWIG_AsLong(obj2
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= SWIG_FromInt((int)result
);
20692 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 PyObject
* obj1
= 0 ;
20701 PyObject
* obj2
= 0 ;
20702 PyObject
* obj3
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 arg2
= (long) SWIG_AsLong(obj1
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20712 arg3
= (long) SWIG_AsLong(obj2
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20714 arg4
= (long) SWIG_AsLong(obj3
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20730 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20737 PyObject
* obj0
= 0 ;
20738 PyObject
* obj1
= 0 ;
20739 PyObject
* obj2
= 0 ;
20740 PyObject
* obj3
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20748 arg2
= (long) SWIG_AsLong(obj1
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20750 arg3
= (int) SWIG_AsInt(obj2
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20752 arg4
= (int) SWIG_AsInt(obj3
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20768 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 char *kwnames
[] = {
20776 (char *) "self",(char *) "item", NULL
20779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20782 arg2
= (long) SWIG_AsLong(obj1
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20804 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20808 wxString
*arg3
= 0 ;
20809 bool temp3
= False
;
20810 PyObject
* obj0
= 0 ;
20811 PyObject
* obj1
= 0 ;
20812 PyObject
* obj2
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self",(char *) "item",(char *) "str", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20820 arg2
= (long) SWIG_AsLong(obj1
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 arg3
= wxString_in_helper(obj2
);
20824 if (arg3
== NULL
) SWIG_fail
;
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 Py_INCREF(Py_None
); resultobj
= Py_None
;
20849 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20854 PyObject
* obj0
= 0 ;
20855 PyObject
* obj1
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self",(char *) "item", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 arg2
= (long) SWIG_AsLong(obj1
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= SWIG_FromLong((long)result
);
20879 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 PyObject
* obj2
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self",(char *) "item",(char *) "data", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20895 arg2
= (long) SWIG_AsLong(obj1
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20897 arg3
= (long) SWIG_AsLong(obj2
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20913 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20918 PyObject
* obj0
= 0 ;
20919 PyObject
* obj1
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "self",(char *) "item", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20927 arg2
= (long) SWIG_AsLong(obj1
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20937 wxPoint
* resultptr
;
20938 resultptr
= new wxPoint((wxPoint
&) result
);
20939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20947 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20951 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 PyObject
* obj2
= 0 ;
20956 char *kwnames
[] = {
20957 (char *) "self",(char *) "item",(char *) "code", NULL
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 arg2
= (long) SWIG_AsLong(obj1
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 arg3
= (int) SWIG_AsInt(obj2
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 wxRect
* resultptr
;
20978 resultptr
= new wxRect((wxRect
&) result
);
20979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20987 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20991 wxPoint
*arg3
= 0 ;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 PyObject
* obj2
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self",(char *) "item",(char *) "pos", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21004 arg2
= (long) SWIG_AsLong(obj1
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21024 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= SWIG_FromInt((int)result
);
21050 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= SWIG_FromInt((int)result
);
21076 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21096 wxSize
* resultptr
;
21097 resultptr
= new wxSize((wxSize
&) result
);
21098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21106 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21110 PyObject
* obj0
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_FromInt((int)result
);
21132 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21136 PyObject
* obj0
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21152 wxColour
* resultptr
;
21153 resultptr
= new wxColour((wxColour
&) result
);
21154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21162 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21165 wxColour
*arg2
= 0 ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self",(char *) "col", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 Py_INCREF(Py_None
); resultobj
= Py_None
;
21194 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21198 PyObject
* obj0
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= SWIG_FromLong((long)result
);
21220 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21224 bool arg3
= (bool) True
;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 PyObject
* obj2
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "style",(char *) "add", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21235 arg2
= (long) SWIG_AsLong(obj1
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 arg3
= (bool) SWIG_AsBool(obj2
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 (arg1
)->SetSingleStyle(arg2
,arg3
);
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 Py_INCREF(Py_None
); resultobj
= Py_None
;
21255 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21259 PyObject
* obj0
= 0 ;
21260 PyObject
* obj1
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self",(char *) "style", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21268 arg2
= (long) SWIG_AsLong(obj1
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 (arg1
)->SetWindowStyleFlag(arg2
);
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21277 Py_INCREF(Py_None
); resultobj
= Py_None
;
21284 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21288 int arg3
= (int) wxLIST_NEXT_ALL
;
21289 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 PyObject
* obj2
= 0 ;
21294 PyObject
* obj3
= 0 ;
21295 char *kwnames
[] = {
21296 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21302 arg2
= (long) SWIG_AsLong(obj1
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 arg3
= (int) SWIG_AsInt(obj2
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21309 arg4
= (int) SWIG_AsInt(obj3
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= SWIG_FromLong((long)result
);
21326 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21330 wxImageList
*result
;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self",(char *) "which", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21340 arg2
= (int) SWIG_AsInt(obj1
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= wxPyMake_wxObject(result
);
21358 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21361 wxImageList
*arg2
= (wxImageList
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 PyObject
* obj1
= 0 ;
21365 PyObject
* obj2
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self",(char *) "imageList",(char *) "which", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21375 arg3
= (int) SWIG_AsInt(obj2
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 (arg1
)->SetImageList(arg2
,arg3
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 Py_INCREF(Py_None
); resultobj
= Py_None
;
21391 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21394 wxImageList
*arg2
= (wxImageList
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 PyObject
* obj2
= 0 ;
21399 char *kwnames
[] = {
21400 (char *) "self",(char *) "imageList",(char *) "which", NULL
21403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21407 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21408 arg3
= (int) SWIG_AsInt(obj2
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 (arg1
)->AssignImageList(arg2
,arg3
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 Py_INCREF(Py_None
); resultobj
= Py_None
;
21424 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21428 PyObject
* obj0
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21450 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21454 PyObject
* obj0
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21476 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21480 PyObject
* obj0
= 0 ;
21481 PyObject
* obj1
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "self",(char *) "item", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21489 arg2
= (long) SWIG_AsLong(obj1
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 (arg1
)->RefreshItem(arg2
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 Py_INCREF(Py_None
); resultobj
= Py_None
;
21505 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 PyObject
* obj2
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21520 arg2
= (long) SWIG_AsLong(obj1
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21522 arg3
= (long) SWIG_AsLong(obj2
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 (arg1
)->RefreshItems(arg2
,arg3
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 Py_INCREF(Py_None
); resultobj
= Py_None
;
21538 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21541 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "flag", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21553 arg2
= (int) SWIG_AsInt(obj1
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (bool)(arg1
)->Arrange(arg2
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21570 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self",(char *) "item", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21584 arg2
= (long) SWIG_AsLong(obj1
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (bool)(arg1
)->DeleteItem(arg2
);
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21600 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21604 PyObject
* obj0
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 result
= (bool)(arg1
)->DeleteAllItems();
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21626 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
;
21628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 PyObject
* obj1
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self",(char *) "col", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 arg2
= (int) SWIG_AsInt(obj1
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21656 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (bool)(arg1
)->DeleteAllColumns();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21682 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 (arg1
)->ClearAll();
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 Py_INCREF(Py_None
); resultobj
= Py_None
;
21707 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21711 wxTextCtrl
*result
;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self",(char *) "item", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21721 arg2
= (long) SWIG_AsLong(obj1
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= wxPyMake_wxObject(result
);
21739 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self",(char *) "cancel", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21753 arg2
= (bool) SWIG_AsBool(obj1
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21769 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21774 PyObject
* obj0
= 0 ;
21775 PyObject
* obj1
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self",(char *) "item", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21783 arg2
= (long) SWIG_AsLong(obj1
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21799 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21803 wxString
*arg3
= 0 ;
21804 bool arg4
= (bool) False
;
21806 bool temp3
= False
;
21807 PyObject
* obj0
= 0 ;
21808 PyObject
* obj1
= 0 ;
21809 PyObject
* obj2
= 0 ;
21810 PyObject
* obj3
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21818 arg2
= (long) SWIG_AsLong(obj1
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 arg3
= wxString_in_helper(obj2
);
21822 if (arg3
== NULL
) SWIG_fail
;
21826 arg4
= (bool) SWIG_AsBool(obj3
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= SWIG_FromLong((long)result
);
21851 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
;
21853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21857 PyObject
* obj0
= 0 ;
21858 PyObject
* obj1
= 0 ;
21859 PyObject
* obj2
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "start",(char *) "data", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21867 arg2
= (long) SWIG_AsLong(obj1
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21869 arg3
= (long) SWIG_AsLong(obj2
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_FromLong((long)result
);
21885 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21889 wxPoint
*arg3
= 0 ;
21893 PyObject
* obj0
= 0 ;
21894 PyObject
* obj1
= 0 ;
21895 PyObject
* obj2
= 0 ;
21896 PyObject
* obj3
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21904 arg2
= (long) SWIG_AsLong(obj1
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21908 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21910 arg4
= (int) SWIG_AsInt(obj3
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_FromLong((long)result
);
21926 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21929 wxPoint
*arg2
= 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "point", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= SWIG_FromLong((long)result
);
21957 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21958 resultobj
= t_output_helper(resultobj
,o
);
21966 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21969 wxListItem
*arg2
= 0 ;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "info", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21983 if (arg2
== NULL
) {
21984 PyErr_SetString(PyExc_TypeError
,"null reference");
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= (long)(arg1
)->InsertItem(*arg2
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= SWIG_FromLong((long)result
);
22001 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22005 wxString
*arg3
= 0 ;
22007 bool temp3
= False
;
22008 PyObject
* obj0
= 0 ;
22009 PyObject
* obj1
= 0 ;
22010 PyObject
* obj2
= 0 ;
22011 char *kwnames
[] = {
22012 (char *) "self",(char *) "index",(char *) "label", NULL
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22018 arg2
= (long) SWIG_AsLong(obj1
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 arg3
= wxString_in_helper(obj2
);
22022 if (arg3
== NULL
) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_FromLong((long)result
);
22047 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 PyObject
* obj2
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 arg2
= (long) SWIG_AsLong(obj1
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22065 arg3
= (int) SWIG_AsInt(obj2
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 resultobj
= SWIG_FromLong((long)result
);
22081 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22085 wxString
*arg3
= 0 ;
22088 bool temp3
= False
;
22089 PyObject
* obj0
= 0 ;
22090 PyObject
* obj1
= 0 ;
22091 PyObject
* obj2
= 0 ;
22092 PyObject
* obj3
= 0 ;
22093 char *kwnames
[] = {
22094 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22100 arg2
= (long) SWIG_AsLong(obj1
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 arg3
= wxString_in_helper(obj2
);
22104 if (arg3
== NULL
) SWIG_fail
;
22107 arg4
= (int) SWIG_AsInt(obj3
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_FromLong((long)result
);
22131 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22135 wxListItem
*arg3
= 0 ;
22137 PyObject
* obj0
= 0 ;
22138 PyObject
* obj1
= 0 ;
22139 PyObject
* obj2
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self",(char *) "col",(char *) "info", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22147 arg2
= (long) SWIG_AsLong(obj1
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22149 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22152 if (arg3
== NULL
) {
22153 PyErr_SetString(PyExc_TypeError
,"null reference");
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= SWIG_FromLong((long)result
);
22170 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22174 wxString
*arg3
= 0 ;
22175 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22176 int arg5
= (int) -1 ;
22178 bool temp3
= False
;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 PyObject
* obj2
= 0 ;
22182 PyObject
* obj3
= 0 ;
22183 PyObject
* obj4
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 arg2
= (long) SWIG_AsLong(obj1
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 arg3
= wxString_in_helper(obj2
);
22195 if (arg3
== NULL
) SWIG_fail
;
22199 arg4
= (int) SWIG_AsInt(obj3
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22203 arg5
= (int) SWIG_AsInt(obj4
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_FromLong((long)result
);
22228 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self",(char *) "count", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22241 arg2
= (long) SWIG_AsLong(obj1
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 (arg1
)->SetItemCount(arg2
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 Py_INCREF(Py_None
); resultobj
= Py_None
;
22257 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 PyObject
* obj2
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "self",(char *) "dx",(char *) "dy", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22273 arg2
= (int) SWIG_AsInt(obj1
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22275 arg3
= (int) SWIG_AsInt(obj2
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22291 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22295 wxColour
*arg3
= 0 ;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 PyObject
* obj2
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self",(char *) "item",(char *) "col", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22307 arg2
= (long) SWIG_AsLong(obj1
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22327 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 PyObject
* obj1
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self",(char *) "item", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22341 arg2
= (long) SWIG_AsLong(obj1
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 wxColour
* resultptr
;
22352 resultptr
= new wxColour((wxColour
&) result
);
22353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22361 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22365 wxColour
*arg3
= 0 ;
22367 PyObject
* obj0
= 0 ;
22368 PyObject
* obj1
= 0 ;
22369 PyObject
* obj2
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "self",(char *) "item",(char *) "col", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22377 arg2
= (long) SWIG_AsLong(obj1
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22381 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 Py_INCREF(Py_None
); resultobj
= Py_None
;
22397 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "item", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 arg2
= (long) SWIG_AsLong(obj1
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 wxColour
* resultptr
;
22422 resultptr
= new wxColour((wxColour
&) result
);
22423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22431 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22434 PyObject
*arg2
= (PyObject
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 PyObject
* obj1
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self",(char *) "func", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22460 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= wxPyMake_wxObject(result
);
22488 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22491 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22493 return Py_BuildValue((char *)"");
22495 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxWindow
*arg1
= (wxWindow
*) 0 ;
22498 int arg2
= (int) -1 ;
22499 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22500 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22501 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22502 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22503 long arg5
= (long) wxLC_REPORT
;
22504 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22505 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22506 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22507 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22508 wxListView
*result
;
22511 bool temp7
= False
;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 PyObject
* obj2
= 0 ;
22515 PyObject
* obj3
= 0 ;
22516 PyObject
* obj4
= 0 ;
22517 PyObject
* obj5
= 0 ;
22518 PyObject
* obj6
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22527 arg2
= (int) SWIG_AsInt(obj1
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22539 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22543 arg5
= (long) SWIG_AsLong(obj4
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22547 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22550 if (arg6
== NULL
) {
22551 PyErr_SetString(PyExc_TypeError
,"null reference");
22557 arg7
= wxString_in_helper(obj6
);
22558 if (arg7
== NULL
) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22584 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxListView
*result
;
22587 char *kwnames
[] = {
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (wxListView
*)new wxListView();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22606 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxListView
*arg1
= (wxListView
*) 0 ;
22609 wxWindow
*arg2
= (wxWindow
*) 0 ;
22610 int arg3
= (int) -1 ;
22611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22615 long arg6
= (long) wxLC_REPORT
;
22616 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22617 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22618 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22619 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22623 bool temp8
= False
;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 PyObject
* obj2
= 0 ;
22627 PyObject
* obj3
= 0 ;
22628 PyObject
* obj4
= 0 ;
22629 PyObject
* obj5
= 0 ;
22630 PyObject
* obj6
= 0 ;
22631 PyObject
* obj7
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22642 arg3
= (int) SWIG_AsInt(obj2
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22648 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22654 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22658 arg6
= (long) SWIG_AsLong(obj5
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22662 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22665 if (arg7
== NULL
) {
22666 PyErr_SetString(PyExc_TypeError
,"null reference");
22672 arg8
= wxString_in_helper(obj7
);
22673 if (arg8
== NULL
) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22699 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxListView
*arg1
= (wxListView
*) 0 ;
22703 bool arg3
= (bool) True
;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 PyObject
* obj2
= 0 ;
22707 char *kwnames
[] = {
22708 (char *) "self",(char *) "n",(char *) "on", NULL
22711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22714 arg2
= (long) SWIG_AsLong(obj1
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 arg3
= (bool) SWIG_AsBool(obj2
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 (arg1
)->Select(arg2
,arg3
);
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 Py_INCREF(Py_None
); resultobj
= Py_None
;
22734 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxListView
*arg1
= (wxListView
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "index", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 arg2
= (long) SWIG_AsLong(obj1
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 (arg1
)->Focus(arg2
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 Py_INCREF(Py_None
); resultobj
= Py_None
;
22763 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxListView
*arg1
= (wxListView
*) 0 ;
22767 PyObject
* obj0
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_FromLong((long)result
);
22789 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxListView
*arg1
= (wxListView
*) 0 ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self",(char *) "item", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22803 arg2
= (long) SWIG_AsLong(obj1
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 resultobj
= SWIG_FromLong((long)result
);
22819 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22821 wxListView
*arg1
= (wxListView
*) 0 ;
22823 PyObject
* obj0
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= SWIG_FromLong((long)result
);
22845 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxListView
*arg1
= (wxListView
*) 0 ;
22850 PyObject
* obj0
= 0 ;
22851 PyObject
* obj1
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self",(char *) "index", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22859 arg2
= (long) SWIG_AsLong(obj1
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= (bool)(arg1
)->IsSelected(arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22875 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxListView
*arg1
= (wxListView
*) 0 ;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22882 PyObject
* obj2
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "self",(char *) "col",(char *) "image", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22890 arg2
= (int) SWIG_AsInt(obj1
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22892 arg3
= (int) SWIG_AsInt(obj2
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 (arg1
)->SetColumnImage(arg2
,arg3
);
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 Py_INCREF(Py_None
); resultobj
= Py_None
;
22908 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxListView
*arg1
= (wxListView
*) 0 ;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "col", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22921 arg2
= (int) SWIG_AsInt(obj1
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 (arg1
)->ClearColumnImage(arg2
);
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 Py_INCREF(Py_None
); resultobj
= Py_None
;
22937 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22940 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22942 return Py_BuildValue((char *)"");
22944 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
22945 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22950 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22955 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22957 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22964 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22965 PyObject
*resultobj
;
22966 wxTreeItemId
*result
;
22967 char *kwnames
[] = {
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= (wxTreeItemId
*)new wxTreeItemId();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22986 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22988 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22989 PyObject
* obj0
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 Py_INCREF(Py_None
); resultobj
= Py_None
;
23011 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23015 PyObject
* obj0
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23037 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23040 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "self",(char *) "other", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23067 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23070 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 PyObject
* obj1
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self",(char *) "other", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23097 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23100 void *arg2
= (void *) 0 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "m_pItem", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23110 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23111 if (arg1
) (arg1
)->m_pItem
= arg2
;
23113 Py_INCREF(Py_None
); resultobj
= Py_None
;
23120 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23132 result
= (void *) ((arg1
)->m_pItem
);
23134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23141 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23144 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23146 return Py_BuildValue((char *)"");
23148 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 PyObject
*arg1
= (PyObject
*) NULL
;
23151 wxPyTreeItemData
*result
;
23152 PyObject
* obj0
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "obj", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23175 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23179 PyObject
* obj0
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (PyObject
*)(arg1
)->GetData();
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= result
;
23201 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23204 PyObject
*arg2
= (PyObject
*) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self",(char *) "obj", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 (arg1
)->SetData(arg2
);
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23222 Py_INCREF(Py_None
); resultobj
= Py_None
;
23229 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
;
23231 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23232 wxTreeItemId
*result
;
23233 PyObject
* obj0
= 0 ;
23234 char *kwnames
[] = {
23235 (char *) "self", NULL
23238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23245 result
= (wxTreeItemId
*) &_result_ref
;
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23258 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23261 wxTreeItemId
*arg2
= 0 ;
23262 PyObject
* obj0
= 0 ;
23263 PyObject
* obj1
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self",(char *) "id", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23274 if (arg2
== NULL
) {
23275 PyErr_SetString(PyExc_TypeError
,"null reference");
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 Py_INCREF(Py_None
); resultobj
= Py_None
;
23292 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23294 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23295 PyObject
* obj0
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 wxPyTreeItemData_Destroy(arg1
);
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 Py_INCREF(Py_None
); resultobj
= Py_None
;
23317 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23320 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23322 return Py_BuildValue((char *)"");
23324 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23327 int arg2
= (int) 0 ;
23328 wxTreeEvent
*result
;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "commandType",(char *) "id", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23337 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23341 arg2
= (int) SWIG_AsInt(obj1
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23358 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23361 wxTreeItemId result
;
23362 PyObject
* obj0
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 wxTreeItemId
* resultptr
;
23379 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23388 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23391 wxTreeItemId
*arg2
= 0 ;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self",(char *) "item", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23404 if (arg2
== NULL
) {
23405 PyErr_SetString(PyExc_TypeError
,"null reference");
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 Py_INCREF(Py_None
); resultobj
= Py_None
;
23422 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23425 wxTreeItemId result
;
23426 PyObject
* obj0
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "self", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23442 wxTreeItemId
* resultptr
;
23443 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23452 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23453 PyObject
*resultobj
;
23454 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23455 wxTreeItemId
*arg2
= 0 ;
23456 PyObject
* obj0
= 0 ;
23457 PyObject
* obj1
= 0 ;
23458 char *kwnames
[] = {
23459 (char *) "self",(char *) "item", NULL
23462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23468 if (arg2
== NULL
) {
23469 PyErr_SetString(PyExc_TypeError
,"null reference");
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 Py_INCREF(Py_None
); resultobj
= Py_None
;
23486 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
;
23488 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23490 PyObject
* obj0
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23506 wxPoint
* resultptr
;
23507 resultptr
= new wxPoint((wxPoint
&) result
);
23508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23516 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
;
23518 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23519 wxPoint
*arg2
= 0 ;
23521 PyObject
* obj0
= 0 ;
23522 PyObject
* obj1
= 0 ;
23523 char *kwnames
[] = {
23524 (char *) "self",(char *) "pt", NULL
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 Py_INCREF(Py_None
); resultobj
= Py_None
;
23548 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23550 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23551 wxKeyEvent
*result
;
23552 PyObject
* obj0
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23564 result
= (wxKeyEvent
*) &_result_ref
;
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23577 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
;
23579 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23581 PyObject
* obj0
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "self", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= SWIG_FromInt((int)result
);
23603 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23606 wxKeyEvent
*arg2
= 0 ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self",(char *) "evt", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23619 if (arg2
== NULL
) {
23620 PyErr_SetString(PyExc_TypeError
,"null reference");
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 Py_INCREF(Py_None
); resultobj
= Py_None
;
23637 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23641 PyObject
* obj0
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23653 result
= (wxString
*) &_result_ref
;
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23663 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23672 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23674 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23675 wxString
*arg2
= 0 ;
23676 bool temp2
= False
;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self",(char *) "label", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 arg2
= wxString_in_helper(obj1
);
23688 if (arg2
== NULL
) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 (arg1
)->SetLabel((wxString
const &)*arg2
);
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23698 Py_INCREF(Py_None
); resultobj
= Py_None
;
23713 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23739 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "editCancelled", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23752 arg2
= (bool) SWIG_AsBool(obj1
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 (arg1
)->SetEditCanceled(arg2
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 Py_INCREF(Py_None
); resultobj
= Py_None
;
23768 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23770 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23771 wxString
*arg2
= 0 ;
23772 bool temp2
= False
;
23773 PyObject
* obj0
= 0 ;
23774 PyObject
* obj1
= 0 ;
23775 char *kwnames
[] = {
23776 (char *) "self",(char *) "toolTip", NULL
23779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23783 arg2
= wxString_in_helper(obj1
);
23784 if (arg2
== NULL
) SWIG_fail
;
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23791 wxPyEndAllowThreads(__tstate
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23794 Py_INCREF(Py_None
); resultobj
= Py_None
;
23809 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23812 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23814 return Py_BuildValue((char *)"");
23816 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23818 wxWindow
*arg1
= (wxWindow
*) 0 ;
23819 int arg2
= (int) -1 ;
23820 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23821 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23822 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23823 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23824 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23825 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23826 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23827 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23829 wxPyTreeCtrl
*result
;
23832 bool temp7
= False
;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 PyObject
* obj2
= 0 ;
23836 PyObject
* obj3
= 0 ;
23837 PyObject
* obj4
= 0 ;
23838 PyObject
* obj5
= 0 ;
23839 PyObject
* obj6
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23848 arg2
= (int) SWIG_AsInt(obj1
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23860 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23864 arg5
= (long) SWIG_AsLong(obj4
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23868 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23871 if (arg6
== NULL
) {
23872 PyErr_SetString(PyExc_TypeError
,"null reference");
23878 arg7
= wxString_in_helper(obj6
);
23879 if (arg7
== NULL
) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= wxPyMake_wxObject(result
);
23907 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxPyTreeCtrl
*result
;
23910 char *kwnames
[] = {
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= wxPyMake_wxObject(result
);
23931 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23934 wxWindow
*arg2
= (wxWindow
*) 0 ;
23935 int arg3
= (int) -1 ;
23936 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23937 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23938 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23939 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23940 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23941 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23942 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23943 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23944 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23948 bool temp8
= False
;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 PyObject
* obj2
= 0 ;
23952 PyObject
* obj3
= 0 ;
23953 PyObject
* obj4
= 0 ;
23954 PyObject
* obj5
= 0 ;
23955 PyObject
* obj6
= 0 ;
23956 PyObject
* obj7
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23967 arg3
= (int) SWIG_AsInt(obj2
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23973 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23979 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23983 arg6
= (long) SWIG_AsLong(obj5
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23987 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23990 if (arg7
== NULL
) {
23991 PyErr_SetString(PyExc_TypeError
,"null reference");
23997 arg8
= wxString_in_helper(obj7
);
23998 if (arg8
== NULL
) SWIG_fail
;
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24024 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24027 PyObject
*arg2
= (PyObject
*) 0 ;
24028 PyObject
*arg3
= (PyObject
*) 0 ;
24029 PyObject
* obj0
= 0 ;
24030 PyObject
* obj1
= 0 ;
24031 PyObject
* obj2
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "self",(char *) "self",(char *) "_class", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 Py_INCREF(Py_None
); resultobj
= Py_None
;
24055 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24059 PyObject
* obj0
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24081 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24084 unsigned int result
;
24085 PyObject
* obj0
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24107 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24110 unsigned int arg2
;
24111 PyObject
* obj0
= 0 ;
24112 PyObject
* obj1
= 0 ;
24113 char *kwnames
[] = {
24114 (char *) "self",(char *) "indent", NULL
24117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24120 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 (arg1
)->SetIndent(arg2
);
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 Py_INCREF(Py_None
); resultobj
= Py_None
;
24136 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24139 unsigned int result
;
24140 PyObject
* obj0
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24162 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24165 unsigned int arg2
;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self",(char *) "spacing", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24175 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 (arg1
)->SetSpacing(arg2
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 Py_INCREF(Py_None
); resultobj
= Py_None
;
24191 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24194 wxImageList
*result
;
24195 PyObject
* obj0
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= wxPyMake_wxObject(result
);
24219 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24222 wxImageList
*result
;
24223 PyObject
* obj0
= 0 ;
24224 char *kwnames
[] = {
24225 (char *) "self", NULL
24228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= wxPyMake_wxObject(result
);
24247 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24250 wxImageList
*arg2
= (wxImageList
*) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "imageList", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->SetImageList(arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24279 wxImageList
*arg2
= (wxImageList
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self",(char *) "imageList", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 (arg1
)->SetStateImageList(arg2
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 Py_INCREF(Py_None
); resultobj
= Py_None
;
24305 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24308 wxImageList
*arg2
= (wxImageList
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "imageList", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24319 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 (arg1
)->AssignImageList(arg2
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 Py_INCREF(Py_None
); resultobj
= Py_None
;
24334 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24337 wxImageList
*arg2
= (wxImageList
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self",(char *) "imageList", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24348 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 (arg1
)->AssignStateImageList(arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 Py_INCREF(Py_None
); resultobj
= Py_None
;
24363 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24366 wxTreeItemId
*arg2
= 0 ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self",(char *) "item", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24380 if (arg2
== NULL
) {
24381 PyErr_SetString(PyExc_TypeError
,"null reference");
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24404 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24407 wxTreeItemId
*arg2
= 0 ;
24408 int arg3
= (int) wxTreeItemIcon_Normal
;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 PyObject
* obj2
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "item",(char *) "which", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24423 if (arg2
== NULL
) {
24424 PyErr_SetString(PyExc_TypeError
,"null reference");
24428 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= SWIG_FromInt((int)result
);
24445 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24448 wxTreeItemId
*arg2
= 0 ;
24449 wxPyTreeItemData
*result
;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self",(char *) "item", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24462 if (arg2
== NULL
) {
24463 PyErr_SetString(PyExc_TypeError
,"null reference");
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24480 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24483 wxTreeItemId
*arg2
= 0 ;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self",(char *) "item", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24497 if (arg2
== NULL
) {
24498 PyErr_SetString(PyExc_TypeError
,"null reference");
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= result
;
24515 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24518 wxTreeItemId
*arg2
= 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "item", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24532 if (arg2
== NULL
) {
24533 PyErr_SetString(PyExc_TypeError
,"null reference");
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24544 wxColour
* resultptr
;
24545 resultptr
= new wxColour((wxColour
&) result
);
24546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24554 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
;
24556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24557 wxTreeItemId
*arg2
= 0 ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 char *kwnames
[] = {
24562 (char *) "self",(char *) "item", NULL
24565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24571 if (arg2
== NULL
) {
24572 PyErr_SetString(PyExc_TypeError
,"null reference");
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24583 wxColour
* resultptr
;
24584 resultptr
= new wxColour((wxColour
&) result
);
24585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24593 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24596 wxTreeItemId
*arg2
= 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self",(char *) "item", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24610 if (arg2
== NULL
) {
24611 PyErr_SetString(PyExc_TypeError
,"null reference");
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24622 wxFont
* resultptr
;
24623 resultptr
= new wxFont((wxFont
&) result
);
24624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24632 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24635 wxTreeItemId
*arg2
= 0 ;
24636 wxString
*arg3
= 0 ;
24637 bool temp3
= False
;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 PyObject
* obj2
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self",(char *) "item",(char *) "text", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24651 if (arg2
== NULL
) {
24652 PyErr_SetString(PyExc_TypeError
,"null reference");
24656 arg3
= wxString_in_helper(obj2
);
24657 if (arg3
== NULL
) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 Py_INCREF(Py_None
); resultobj
= Py_None
;
24682 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24685 wxTreeItemId
*arg2
= 0 ;
24687 int arg4
= (int) wxTreeItemIcon_Normal
;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 PyObject
* obj2
= 0 ;
24691 PyObject
* obj3
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24702 if (arg2
== NULL
) {
24703 PyErr_SetString(PyExc_TypeError
,"null reference");
24706 arg3
= (int) SWIG_AsInt(obj2
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 Py_INCREF(Py_None
); resultobj
= Py_None
;
24726 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
;
24728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24729 wxTreeItemId
*arg2
= 0 ;
24730 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24731 PyObject
* obj0
= 0 ;
24732 PyObject
* obj1
= 0 ;
24733 PyObject
* obj2
= 0 ;
24734 char *kwnames
[] = {
24735 (char *) "self",(char *) "item",(char *) "data", NULL
24738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24744 if (arg2
== NULL
) {
24745 PyErr_SetString(PyExc_TypeError
,"null reference");
24748 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 Py_INCREF(Py_None
); resultobj
= Py_None
;
24764 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24767 wxTreeItemId
*arg2
= 0 ;
24768 PyObject
*arg3
= (PyObject
*) 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 PyObject
* obj2
= 0 ;
24772 char *kwnames
[] = {
24773 (char *) "self",(char *) "item",(char *) "obj", NULL
24776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24782 if (arg2
== NULL
) {
24783 PyErr_SetString(PyExc_TypeError
,"null reference");
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 Py_INCREF(Py_None
); resultobj
= Py_None
;
24801 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24804 wxTreeItemId
*arg2
= 0 ;
24805 bool arg3
= (bool) True
;
24806 PyObject
* obj0
= 0 ;
24807 PyObject
* obj1
= 0 ;
24808 PyObject
* obj2
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self",(char *) "item",(char *) "has", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24819 if (arg2
== NULL
) {
24820 PyErr_SetString(PyExc_TypeError
,"null reference");
24824 arg3
= (bool) SWIG_AsBool(obj2
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 Py_INCREF(Py_None
); resultobj
= Py_None
;
24841 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24844 wxTreeItemId
*arg2
= 0 ;
24845 bool arg3
= (bool) True
;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 PyObject
* obj2
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self",(char *) "item",(char *) "bold", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24859 if (arg2
== NULL
) {
24860 PyErr_SetString(PyExc_TypeError
,"null reference");
24864 arg3
= (bool) SWIG_AsBool(obj2
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 Py_INCREF(Py_None
); resultobj
= Py_None
;
24881 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24884 wxTreeItemId
*arg2
= 0 ;
24885 bool arg3
= (bool) True
;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 PyObject
* obj2
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "item",(char *) "highlight", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24899 if (arg2
== NULL
) {
24900 PyErr_SetString(PyExc_TypeError
,"null reference");
24904 arg3
= (bool) SWIG_AsBool(obj2
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 Py_INCREF(Py_None
); resultobj
= Py_None
;
24921 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24924 wxTreeItemId
*arg2
= 0 ;
24925 wxColour
*arg3
= 0 ;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 PyObject
* obj2
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self",(char *) "item",(char *) "col", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24940 if (arg2
== NULL
) {
24941 PyErr_SetString(PyExc_TypeError
,"null reference");
24946 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 Py_INCREF(Py_None
); resultobj
= Py_None
;
24962 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24965 wxTreeItemId
*arg2
= 0 ;
24966 wxColour
*arg3
= 0 ;
24968 PyObject
* obj0
= 0 ;
24969 PyObject
* obj1
= 0 ;
24970 PyObject
* obj2
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self",(char *) "item",(char *) "col", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24981 if (arg2
== NULL
) {
24982 PyErr_SetString(PyExc_TypeError
,"null reference");
24987 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 Py_INCREF(Py_None
); resultobj
= Py_None
;
25003 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25006 wxTreeItemId
*arg2
= 0 ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 PyObject
* obj2
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self",(char *) "item",(char *) "font", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25021 if (arg2
== NULL
) {
25022 PyErr_SetString(PyExc_TypeError
,"null reference");
25025 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25028 if (arg3
== NULL
) {
25029 PyErr_SetString(PyExc_TypeError
,"null reference");
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 Py_INCREF(Py_None
); resultobj
= Py_None
;
25046 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25049 wxTreeItemId
*arg2
= 0 ;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 char *kwnames
[] = {
25054 (char *) "self",(char *) "item", NULL
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25063 if (arg2
== NULL
) {
25064 PyErr_SetString(PyExc_TypeError
,"null reference");
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25081 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25084 wxTreeItemId
*arg2
= 0 ;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "item", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25098 if (arg2
== NULL
) {
25099 PyErr_SetString(PyExc_TypeError
,"null reference");
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25116 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25119 wxTreeItemId
*arg2
= 0 ;
25121 PyObject
* obj0
= 0 ;
25122 PyObject
* obj1
= 0 ;
25123 char *kwnames
[] = {
25124 (char *) "self",(char *) "item", NULL
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25133 if (arg2
== NULL
) {
25134 PyErr_SetString(PyExc_TypeError
,"null reference");
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25151 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
;
25153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25154 wxTreeItemId
*arg2
= 0 ;
25156 PyObject
* obj0
= 0 ;
25157 PyObject
* obj1
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self",(char *) "item", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25168 if (arg2
== NULL
) {
25169 PyErr_SetString(PyExc_TypeError
,"null reference");
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25186 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25189 wxTreeItemId
*arg2
= 0 ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self",(char *) "item", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25203 if (arg2
== NULL
) {
25204 PyErr_SetString(PyExc_TypeError
,"null reference");
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25221 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25222 PyObject
*resultobj
;
25223 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25224 wxTreeItemId
*arg2
= 0 ;
25225 bool arg3
= (bool) True
;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 PyObject
* obj2
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "self",(char *) "item",(char *) "recursively", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25240 if (arg2
== NULL
) {
25241 PyErr_SetString(PyExc_TypeError
,"null reference");
25245 arg3
= (bool) SWIG_AsBool(obj2
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25262 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
;
25264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25265 wxTreeItemId result
;
25266 PyObject
* obj0
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25282 wxTreeItemId
* resultptr
;
25283 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25292 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25295 wxTreeItemId result
;
25296 PyObject
* obj0
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25312 wxTreeItemId
* resultptr
;
25313 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25322 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25326 PyObject
* obj0
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= result
;
25348 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25351 wxTreeItemId
*arg2
= 0 ;
25352 wxTreeItemId result
;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj1
= 0 ;
25355 char *kwnames
[] = {
25356 (char *) "self",(char *) "item", NULL
25359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25365 if (arg2
== NULL
) {
25366 PyErr_SetString(PyExc_TypeError
,"null reference");
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25377 wxTreeItemId
* resultptr
;
25378 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25387 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25390 wxTreeItemId
*arg2
= 0 ;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "self",(char *) "item", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25404 if (arg2
== NULL
) {
25405 PyErr_SetString(PyExc_TypeError
,"null reference");
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= result
;
25422 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25425 wxTreeItemId
*arg2
= 0 ;
25426 void *arg3
= (void *) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 PyObject
* obj1
= 0 ;
25430 PyObject
* obj2
= 0 ;
25431 char *kwnames
[] = {
25432 (char *) "self",(char *) "item",(char *) "cookie", NULL
25435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25441 if (arg2
== NULL
) {
25442 PyErr_SetString(PyExc_TypeError
,"null reference");
25445 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= result
;
25460 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25463 wxTreeItemId
*arg2
= 0 ;
25464 wxTreeItemId result
;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "item", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25477 if (arg2
== NULL
) {
25478 PyErr_SetString(PyExc_TypeError
,"null reference");
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25489 wxTreeItemId
* resultptr
;
25490 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25499 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25502 wxTreeItemId
*arg2
= 0 ;
25503 wxTreeItemId result
;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self",(char *) "item", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25516 if (arg2
== NULL
) {
25517 PyErr_SetString(PyExc_TypeError
,"null reference");
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25528 wxTreeItemId
* resultptr
;
25529 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25538 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25541 wxTreeItemId
*arg2
= 0 ;
25542 wxTreeItemId result
;
25543 PyObject
* obj0
= 0 ;
25544 PyObject
* obj1
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self",(char *) "item", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25555 if (arg2
== NULL
) {
25556 PyErr_SetString(PyExc_TypeError
,"null reference");
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 wxTreeItemId
* resultptr
;
25568 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25577 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25580 wxTreeItemId result
;
25581 PyObject
* obj0
= 0 ;
25582 char *kwnames
[] = {
25583 (char *) "self", NULL
25586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25597 wxTreeItemId
* resultptr
;
25598 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25607 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
;
25609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25610 wxTreeItemId
*arg2
= 0 ;
25611 wxTreeItemId result
;
25612 PyObject
* obj0
= 0 ;
25613 PyObject
* obj1
= 0 ;
25614 char *kwnames
[] = {
25615 (char *) "self",(char *) "item", NULL
25618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25624 if (arg2
== NULL
) {
25625 PyErr_SetString(PyExc_TypeError
,"null reference");
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25636 wxTreeItemId
* resultptr
;
25637 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25646 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25649 wxTreeItemId
*arg2
= 0 ;
25650 wxTreeItemId result
;
25651 PyObject
* obj0
= 0 ;
25652 PyObject
* obj1
= 0 ;
25653 char *kwnames
[] = {
25654 (char *) "self",(char *) "item", NULL
25657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25663 if (arg2
== NULL
) {
25664 PyErr_SetString(PyExc_TypeError
,"null reference");
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25675 wxTreeItemId
* resultptr
;
25676 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25685 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25686 PyObject
*resultobj
;
25687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25688 wxString
*arg2
= 0 ;
25689 int arg3
= (int) -1 ;
25690 int arg4
= (int) -1 ;
25691 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25692 wxTreeItemId result
;
25693 bool temp2
= False
;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 PyObject
* obj2
= 0 ;
25697 PyObject
* obj3
= 0 ;
25698 PyObject
* obj4
= 0 ;
25699 char *kwnames
[] = {
25700 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25707 arg2
= wxString_in_helper(obj1
);
25708 if (arg2
== NULL
) SWIG_fail
;
25712 arg3
= (int) SWIG_AsInt(obj2
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 arg4
= (int) SWIG_AsInt(obj3
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25720 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25731 wxTreeItemId
* resultptr
;
25732 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25749 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25752 wxTreeItemId
*arg2
= 0 ;
25753 wxString
*arg3
= 0 ;
25754 int arg4
= (int) -1 ;
25755 int arg5
= (int) -1 ;
25756 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25757 wxTreeItemId result
;
25758 bool temp3
= False
;
25759 PyObject
* obj0
= 0 ;
25760 PyObject
* obj1
= 0 ;
25761 PyObject
* obj2
= 0 ;
25762 PyObject
* obj3
= 0 ;
25763 PyObject
* obj4
= 0 ;
25764 PyObject
* obj5
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25775 if (arg2
== NULL
) {
25776 PyErr_SetString(PyExc_TypeError
,"null reference");
25780 arg3
= wxString_in_helper(obj2
);
25781 if (arg3
== NULL
) SWIG_fail
;
25785 arg4
= (int) SWIG_AsInt(obj3
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25789 arg5
= (int) SWIG_AsInt(obj4
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25804 wxTreeItemId
* resultptr
;
25805 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25822 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
;
25824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25825 wxTreeItemId
*arg2
= 0 ;
25826 wxTreeItemId
*arg3
= 0 ;
25827 wxString
*arg4
= 0 ;
25828 int arg5
= (int) -1 ;
25829 int arg6
= (int) -1 ;
25830 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25831 wxTreeItemId result
;
25832 bool temp4
= False
;
25833 PyObject
* obj0
= 0 ;
25834 PyObject
* obj1
= 0 ;
25835 PyObject
* obj2
= 0 ;
25836 PyObject
* obj3
= 0 ;
25837 PyObject
* obj4
= 0 ;
25838 PyObject
* obj5
= 0 ;
25839 PyObject
* obj6
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25850 if (arg2
== NULL
) {
25851 PyErr_SetString(PyExc_TypeError
,"null reference");
25854 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25857 if (arg3
== NULL
) {
25858 PyErr_SetString(PyExc_TypeError
,"null reference");
25862 arg4
= wxString_in_helper(obj3
);
25863 if (arg4
== NULL
) SWIG_fail
;
25867 arg5
= (int) SWIG_AsInt(obj4
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25871 arg6
= (int) SWIG_AsInt(obj5
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 wxTreeItemId
* resultptr
;
25887 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25904 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
;
25906 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25907 wxTreeItemId
*arg2
= 0 ;
25909 wxString
*arg4
= 0 ;
25910 int arg5
= (int) -1 ;
25911 int arg6
= (int) -1 ;
25912 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25913 wxTreeItemId result
;
25914 bool temp4
= False
;
25915 PyObject
* obj0
= 0 ;
25916 PyObject
* obj1
= 0 ;
25917 PyObject
* obj2
= 0 ;
25918 PyObject
* obj3
= 0 ;
25919 PyObject
* obj4
= 0 ;
25920 PyObject
* obj5
= 0 ;
25921 PyObject
* obj6
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25932 if (arg2
== NULL
) {
25933 PyErr_SetString(PyExc_TypeError
,"null reference");
25936 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 arg4
= wxString_in_helper(obj3
);
25940 if (arg4
== NULL
) SWIG_fail
;
25944 arg5
= (int) SWIG_AsInt(obj4
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25948 arg6
= (int) SWIG_AsInt(obj5
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25952 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 wxTreeItemId
* resultptr
;
25964 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25981 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25982 PyObject
*resultobj
;
25983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25984 wxTreeItemId
*arg2
= 0 ;
25985 wxString
*arg3
= 0 ;
25986 int arg4
= (int) -1 ;
25987 int arg5
= (int) -1 ;
25988 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25989 wxTreeItemId result
;
25990 bool temp3
= False
;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 PyObject
* obj2
= 0 ;
25994 PyObject
* obj3
= 0 ;
25995 PyObject
* obj4
= 0 ;
25996 PyObject
* obj5
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26007 if (arg2
== NULL
) {
26008 PyErr_SetString(PyExc_TypeError
,"null reference");
26012 arg3
= wxString_in_helper(obj2
);
26013 if (arg3
== NULL
) SWIG_fail
;
26017 arg4
= (int) SWIG_AsInt(obj3
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26021 arg5
= (int) SWIG_AsInt(obj4
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26025 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26036 wxTreeItemId
* resultptr
;
26037 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26054 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26055 PyObject
*resultobj
;
26056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26057 wxTreeItemId
*arg2
= 0 ;
26058 PyObject
* obj0
= 0 ;
26059 PyObject
* obj1
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self",(char *) "item", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26070 if (arg2
== NULL
) {
26071 PyErr_SetString(PyExc_TypeError
,"null reference");
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 Py_INCREF(Py_None
); resultobj
= Py_None
;
26088 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26091 wxTreeItemId
*arg2
= 0 ;
26092 PyObject
* obj0
= 0 ;
26093 PyObject
* obj1
= 0 ;
26094 char *kwnames
[] = {
26095 (char *) "self",(char *) "item", NULL
26098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26104 if (arg2
== NULL
) {
26105 PyErr_SetString(PyExc_TypeError
,"null reference");
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 Py_INCREF(Py_None
); resultobj
= Py_None
;
26122 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
;
26124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->DeleteAllItems();
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26150 wxTreeItemId
*arg2
= 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "item", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26163 if (arg2
== NULL
) {
26164 PyErr_SetString(PyExc_TypeError
,"null reference");
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 Py_INCREF(Py_None
); resultobj
= Py_None
;
26181 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26184 wxTreeItemId
*arg2
= 0 ;
26185 PyObject
* obj0
= 0 ;
26186 PyObject
* obj1
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self",(char *) "item", NULL
26191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26197 if (arg2
== NULL
) {
26198 PyErr_SetString(PyExc_TypeError
,"null reference");
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26208 Py_INCREF(Py_None
); resultobj
= Py_None
;
26215 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
;
26217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26218 wxTreeItemId
*arg2
= 0 ;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self",(char *) "item", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26231 if (arg2
== NULL
) {
26232 PyErr_SetString(PyExc_TypeError
,"null reference");
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 Py_INCREF(Py_None
); resultobj
= Py_None
;
26249 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26252 wxTreeItemId
*arg2
= 0 ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self",(char *) "item", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26265 if (arg2
== NULL
) {
26266 PyErr_SetString(PyExc_TypeError
,"null reference");
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 Py_INCREF(Py_None
); resultobj
= Py_None
;
26283 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26286 PyObject
* obj0
= 0 ;
26287 char *kwnames
[] = {
26288 (char *) "self", NULL
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 (arg1
)->Unselect();
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 Py_INCREF(Py_None
); resultobj
= Py_None
;
26308 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
;
26310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26311 wxTreeItemId
*arg2
= 0 ;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "item", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26324 if (arg2
== NULL
) {
26325 PyErr_SetString(PyExc_TypeError
,"null reference");
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 Py_INCREF(Py_None
); resultobj
= Py_None
;
26342 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26345 PyObject
* obj0
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->UnselectAll();
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 Py_INCREF(Py_None
); resultobj
= Py_None
;
26367 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26370 wxTreeItemId
*arg2
= 0 ;
26371 bool arg3
= (bool) True
;
26372 PyObject
* obj0
= 0 ;
26373 PyObject
* obj1
= 0 ;
26374 PyObject
* obj2
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "item",(char *) "select", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26385 if (arg2
== NULL
) {
26386 PyErr_SetString(PyExc_TypeError
,"null reference");
26390 arg3
= (bool) SWIG_AsBool(obj2
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 Py_INCREF(Py_None
); resultobj
= Py_None
;
26407 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26410 wxTreeItemId
*arg2
= 0 ;
26411 PyObject
* obj0
= 0 ;
26412 PyObject
* obj1
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self",(char *) "item", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26423 if (arg2
== NULL
) {
26424 PyErr_SetString(PyExc_TypeError
,"null reference");
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 Py_INCREF(Py_None
); resultobj
= Py_None
;
26441 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26444 wxTreeItemId
*arg2
= 0 ;
26445 PyObject
* obj0
= 0 ;
26446 PyObject
* obj1
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self",(char *) "item", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26457 if (arg2
== NULL
) {
26458 PyErr_SetString(PyExc_TypeError
,"null reference");
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 Py_INCREF(Py_None
); resultobj
= Py_None
;
26475 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26477 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26478 wxTreeItemId
*arg2
= 0 ;
26479 PyObject
* obj0
= 0 ;
26480 PyObject
* obj1
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self",(char *) "item", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26491 if (arg2
== NULL
) {
26492 PyErr_SetString(PyExc_TypeError
,"null reference");
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 Py_INCREF(Py_None
); resultobj
= Py_None
;
26509 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26512 wxTreeItemId
*arg2
= 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "item", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26525 if (arg2
== NULL
) {
26526 PyErr_SetString(PyExc_TypeError
,"null reference");
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 Py_INCREF(Py_None
); resultobj
= Py_None
;
26543 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26546 wxTextCtrl
*result
;
26547 PyObject
* obj0
= 0 ;
26548 char *kwnames
[] = {
26549 (char *) "self", NULL
26552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26563 resultobj
= wxPyMake_wxObject(result
);
26571 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26574 wxTreeItemId
*arg2
= 0 ;
26575 bool arg3
= (bool) False
;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 PyObject
* obj2
= 0 ;
26579 char *kwnames
[] = {
26580 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26589 if (arg2
== NULL
) {
26590 PyErr_SetString(PyExc_TypeError
,"null reference");
26594 arg3
= (bool) SWIG_AsBool(obj2
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 Py_INCREF(Py_None
); resultobj
= Py_None
;
26611 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
;
26613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26614 wxTreeItemId
*arg2
= 0 ;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 char *kwnames
[] = {
26618 (char *) "self",(char *) "item", NULL
26621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26627 if (arg2
== NULL
) {
26628 PyErr_SetString(PyExc_TypeError
,"null reference");
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 Py_INCREF(Py_None
); resultobj
= Py_None
;
26645 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
;
26647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26648 wxPoint
*arg2
= 0 ;
26650 wxTreeItemId result
;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self",(char *) "point", NULL
26660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26665 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26675 wxTreeItemId
* resultptr
;
26676 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26680 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26681 resultobj
= t_output_helper(resultobj
,o
);
26689 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26692 wxTreeItemId
*arg2
= 0 ;
26693 bool arg3
= (bool) False
;
26695 PyObject
* obj0
= 0 ;
26696 PyObject
* obj1
= 0 ;
26697 PyObject
* obj2
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26708 if (arg2
== NULL
) {
26709 PyErr_SetString(PyExc_TypeError
,"null reference");
26713 arg3
= (bool) SWIG_AsBool(obj2
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26720 wxPyEndAllowThreads(__tstate
);
26721 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= result
;
26730 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26733 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26735 return Py_BuildValue((char *)"");
26737 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26738 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26743 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26748 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26750 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26757 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
;
26759 wxWindow
*arg1
= (wxWindow
*) 0 ;
26760 int arg2
= (int) (int)-1 ;
26761 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26762 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26767 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26768 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26769 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26770 int arg8
= (int) 0 ;
26771 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26772 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26773 wxGenericDirCtrl
*result
;
26774 bool temp3
= False
;
26777 bool temp7
= False
;
26778 bool temp9
= False
;
26779 PyObject
* obj0
= 0 ;
26780 PyObject
* obj1
= 0 ;
26781 PyObject
* obj2
= 0 ;
26782 PyObject
* obj3
= 0 ;
26783 PyObject
* obj4
= 0 ;
26784 PyObject
* obj5
= 0 ;
26785 PyObject
* obj6
= 0 ;
26786 PyObject
* obj7
= 0 ;
26787 PyObject
* obj8
= 0 ;
26788 char *kwnames
[] = {
26789 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26796 arg2
= (int const) SWIG_AsInt(obj1
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26801 arg3
= wxString_in_helper(obj2
);
26802 if (arg3
== NULL
) SWIG_fail
;
26809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26819 arg6
= (long) SWIG_AsLong(obj5
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26824 arg7
= wxString_in_helper(obj6
);
26825 if (arg7
== NULL
) SWIG_fail
;
26830 arg8
= (int) SWIG_AsInt(obj7
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26835 arg9
= wxString_in_helper(obj8
);
26836 if (arg9
== NULL
) SWIG_fail
;
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26878 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
;
26880 wxGenericDirCtrl
*result
;
26881 char *kwnames
[] = {
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26900 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
;
26902 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26903 wxWindow
*arg2
= (wxWindow
*) 0 ;
26904 int arg3
= (int) (int)-1 ;
26905 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26906 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26907 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26908 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26909 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26910 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26911 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26912 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26913 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26914 int arg9
= (int) 0 ;
26915 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26916 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26918 bool temp4
= False
;
26921 bool temp8
= False
;
26922 bool temp10
= False
;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 PyObject
* obj2
= 0 ;
26926 PyObject
* obj3
= 0 ;
26927 PyObject
* obj4
= 0 ;
26928 PyObject
* obj5
= 0 ;
26929 PyObject
* obj6
= 0 ;
26930 PyObject
* obj7
= 0 ;
26931 PyObject
* obj8
= 0 ;
26932 PyObject
* obj9
= 0 ;
26933 char *kwnames
[] = {
26934 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 arg3
= (int const) SWIG_AsInt(obj2
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26948 arg4
= wxString_in_helper(obj3
);
26949 if (arg4
== NULL
) SWIG_fail
;
26956 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26962 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26966 arg7
= (long) SWIG_AsLong(obj6
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26971 arg8
= wxString_in_helper(obj7
);
26972 if (arg8
== NULL
) SWIG_fail
;
26977 arg9
= (int) SWIG_AsInt(obj8
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26982 arg10
= wxString_in_helper(obj9
);
26983 if (arg10
== NULL
) SWIG_fail
;
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27025 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27028 wxString
*arg2
= 0 ;
27030 bool temp2
= False
;
27031 PyObject
* obj0
= 0 ;
27032 PyObject
* obj1
= 0 ;
27033 char *kwnames
[] = {
27034 (char *) "self",(char *) "path", NULL
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27041 arg2
= wxString_in_helper(obj1
);
27042 if (arg2
== NULL
) SWIG_fail
;
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27049 wxPyEndAllowThreads(__tstate
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27067 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27099 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27101 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27102 wxString
*arg2
= 0 ;
27103 bool temp2
= False
;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 char *kwnames
[] = {
27107 (char *) "self",(char *) "path", NULL
27110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27114 arg2
= wxString_in_helper(obj1
);
27115 if (arg2
== NULL
) SWIG_fail
;
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 Py_INCREF(Py_None
); resultobj
= Py_None
;
27140 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27172 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
;
27174 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27176 PyObject
* obj0
= 0 ;
27177 char *kwnames
[] = {
27178 (char *) "self", NULL
27181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27204 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27207 wxString
*arg2
= 0 ;
27208 bool temp2
= False
;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self",(char *) "path", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27219 arg2
= wxString_in_helper(obj1
);
27220 if (arg2
== NULL
) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 (arg1
)->SetPath((wxString
const &)*arg2
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 Py_INCREF(Py_None
); resultobj
= Py_None
;
27245 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self",(char *) "show", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27258 arg2
= (bool) SWIG_AsBool(obj1
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 (arg1
)->ShowHidden(arg2
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 Py_INCREF(Py_None
); resultobj
= Py_None
;
27274 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27278 PyObject
* obj0
= 0 ;
27279 char *kwnames
[] = {
27280 (char *) "self", NULL
27283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 result
= (bool)(arg1
)->GetShowHidden();
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27300 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27301 PyObject
*resultobj
;
27302 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27304 PyObject
* obj0
= 0 ;
27305 char *kwnames
[] = {
27306 (char *) "self", NULL
27309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27332 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27333 PyObject
*resultobj
;
27334 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27335 wxString
*arg2
= 0 ;
27336 bool temp2
= False
;
27337 PyObject
* obj0
= 0 ;
27338 PyObject
* obj1
= 0 ;
27339 char *kwnames
[] = {
27340 (char *) "self",(char *) "filter", NULL
27343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27347 arg2
= wxString_in_helper(obj1
);
27348 if (arg2
== NULL
) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 (arg1
)->SetFilter((wxString
const &)*arg2
);
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 Py_INCREF(Py_None
); resultobj
= Py_None
;
27373 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
;
27375 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27377 PyObject
* obj0
= 0 ;
27378 char *kwnames
[] = {
27379 (char *) "self", NULL
27382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= SWIG_FromInt((int)result
);
27399 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27403 PyObject
* obj0
= 0 ;
27404 PyObject
* obj1
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self",(char *) "n", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27412 arg2
= (int) SWIG_AsInt(obj1
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 (arg1
)->SetFilterIndex(arg2
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 Py_INCREF(Py_None
); resultobj
= Py_None
;
27428 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27431 wxTreeItemId result
;
27432 PyObject
* obj0
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (arg1
)->GetRootId();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27448 wxTreeItemId
* resultptr
;
27449 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27458 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27461 wxPyTreeCtrl
*result
;
27462 PyObject
* obj0
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= wxPyMake_wxObject(result
);
27486 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
;
27488 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27489 wxDirFilterListCtrl
*result
;
27490 PyObject
* obj0
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27512 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27515 wxTreeItemId arg2
;
27516 wxString
*arg3
= 0 ;
27518 wxTreeItemId result
;
27519 wxTreeItemId
*argp2
;
27520 bool temp3
= False
;
27522 PyObject
* obj0
= 0 ;
27523 PyObject
* obj1
= 0 ;
27524 PyObject
* obj2
= 0 ;
27525 char *kwnames
[] = {
27526 (char *) "self",(char *) "parentId",(char *) "path", NULL
27530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27533 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27534 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27537 arg3
= wxString_in_helper(obj2
);
27538 if (arg3
== NULL
) SWIG_fail
;
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27549 wxTreeItemId
* resultptr
;
27550 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27554 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27555 resultobj
= t_output_helper(resultobj
,o
);
27571 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 (arg1
)->DoResize();
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 Py_INCREF(Py_None
); resultobj
= Py_None
;
27596 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 char *kwnames
[] = {
27601 (char *) "self", NULL
27604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 (arg1
)->ReCreateTree();
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27614 Py_INCREF(Py_None
); resultobj
= Py_None
;
27621 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27624 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27626 return Py_BuildValue((char *)"");
27628 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
;
27630 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27631 int arg2
= (int) (int)-1 ;
27632 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27633 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27634 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27635 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27636 long arg5
= (long) 0 ;
27637 wxDirFilterListCtrl
*result
;
27640 PyObject
* obj0
= 0 ;
27641 PyObject
* obj1
= 0 ;
27642 PyObject
* obj2
= 0 ;
27643 PyObject
* obj3
= 0 ;
27644 PyObject
* obj4
= 0 ;
27645 char *kwnames
[] = {
27646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27653 arg2
= (int const) SWIG_AsInt(obj1
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27665 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27669 arg5
= (long) SWIG_AsLong(obj4
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27686 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
;
27688 wxDirFilterListCtrl
*result
;
27689 char *kwnames
[] = {
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27696 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27708 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27709 PyObject
*resultobj
;
27710 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27711 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27712 int arg3
= (int) (int)-1 ;
27713 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27714 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27715 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27716 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27717 long arg6
= (long) 0 ;
27721 PyObject
* obj0
= 0 ;
27722 PyObject
* obj1
= 0 ;
27723 PyObject
* obj2
= 0 ;
27724 PyObject
* obj3
= 0 ;
27725 PyObject
* obj4
= 0 ;
27726 PyObject
* obj5
= 0 ;
27727 char *kwnames
[] = {
27728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 arg3
= (int const) SWIG_AsInt(obj2
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27753 arg6
= (long) SWIG_AsLong(obj5
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27770 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27773 wxString
*arg2
= 0 ;
27775 bool temp2
= False
;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 PyObject
* obj2
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27787 arg2
= wxString_in_helper(obj1
);
27788 if (arg2
== NULL
) SWIG_fail
;
27791 arg3
= (int) SWIG_AsInt(obj2
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 Py_INCREF(Py_None
); resultobj
= Py_None
;
27815 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27818 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27820 return Py_BuildValue((char *)"");
27822 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
;
27824 wxWindow
*arg1
= (wxWindow
*) 0 ;
27826 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27827 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27828 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27829 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27830 long arg5
= (long) 0 ;
27831 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27832 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27833 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27834 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27835 wxPyControl
*result
;
27838 bool temp7
= False
;
27839 PyObject
* obj0
= 0 ;
27840 PyObject
* obj1
= 0 ;
27841 PyObject
* obj2
= 0 ;
27842 PyObject
* obj3
= 0 ;
27843 PyObject
* obj4
= 0 ;
27844 PyObject
* obj5
= 0 ;
27845 PyObject
* obj6
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27853 arg2
= (int const) SWIG_AsInt(obj1
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27858 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27864 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27868 arg5
= (long) SWIG_AsLong(obj4
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27872 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27875 if (arg6
== NULL
) {
27876 PyErr_SetString(PyExc_TypeError
,"null reference");
27882 arg7
= wxString_in_helper(obj6
);
27883 if (arg7
== NULL
) SWIG_fail
;
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27889 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27891 wxPyEndAllowThreads(__tstate
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27909 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27910 PyObject
*resultobj
;
27911 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27912 PyObject
*arg2
= (PyObject
*) 0 ;
27913 PyObject
*arg3
= (PyObject
*) 0 ;
27914 PyObject
* obj0
= 0 ;
27915 PyObject
* obj1
= 0 ;
27916 PyObject
* obj2
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self",(char *) "self",(char *) "_class", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27928 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27933 Py_INCREF(Py_None
); resultobj
= Py_None
;
27940 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
;
27942 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27947 PyObject
* obj0
= 0 ;
27948 PyObject
* obj1
= 0 ;
27949 PyObject
* obj2
= 0 ;
27950 PyObject
* obj3
= 0 ;
27951 PyObject
* obj4
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27959 arg2
= (int) SWIG_AsInt(obj1
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27961 arg3
= (int) SWIG_AsInt(obj2
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27963 arg4
= (int) SWIG_AsInt(obj3
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27965 arg5
= (int) SWIG_AsInt(obj4
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27971 wxPyEndAllowThreads(__tstate
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27974 Py_INCREF(Py_None
); resultobj
= Py_None
;
27981 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
;
27983 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27988 int arg6
= (int) wxSIZE_AUTO
;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj1
= 0 ;
27991 PyObject
* obj2
= 0 ;
27992 PyObject
* obj3
= 0 ;
27993 PyObject
* obj4
= 0 ;
27994 PyObject
* obj5
= 0 ;
27995 char *kwnames
[] = {
27996 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28002 arg2
= (int) SWIG_AsInt(obj1
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28004 arg3
= (int) SWIG_AsInt(obj2
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28006 arg4
= (int) SWIG_AsInt(obj3
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28008 arg5
= (int) SWIG_AsInt(obj4
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 arg6
= (int) SWIG_AsInt(obj5
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28016 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28018 wxPyEndAllowThreads(__tstate
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28021 Py_INCREF(Py_None
); resultobj
= Py_None
;
28028 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
;
28030 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 PyObject
* obj2
= 0 ;
28036 char *kwnames
[] = {
28037 (char *) "self",(char *) "width",(char *) "height", NULL
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 arg2
= (int) SWIG_AsInt(obj1
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28045 arg3
= (int) SWIG_AsInt(obj2
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28051 wxPyEndAllowThreads(__tstate
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 Py_INCREF(Py_None
); resultobj
= Py_None
;
28061 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28066 PyObject
* obj0
= 0 ;
28067 PyObject
* obj1
= 0 ;
28068 PyObject
* obj2
= 0 ;
28069 char *kwnames
[] = {
28070 (char *) "self",(char *) "x",(char *) "y", NULL
28073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28076 arg2
= (int) SWIG_AsInt(obj1
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28078 arg3
= (int) SWIG_AsInt(obj2
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 Py_INCREF(Py_None
); resultobj
= Py_None
;
28094 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
;
28096 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28097 int *arg2
= (int *) 0 ;
28098 int *arg3
= (int *) 0 ;
28101 PyObject
* obj0
= 0 ;
28102 char *kwnames
[] = {
28103 (char *) "self", NULL
28108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 Py_INCREF(Py_None
); resultobj
= Py_None
;
28120 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28121 resultobj
= t_output_helper(resultobj
,o
);
28124 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28125 resultobj
= t_output_helper(resultobj
,o
);
28133 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
;
28135 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28136 int *arg2
= (int *) 0 ;
28137 int *arg3
= (int *) 0 ;
28140 PyObject
* obj0
= 0 ;
28141 char *kwnames
[] = {
28142 (char *) "self", NULL
28147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28152 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 Py_INCREF(Py_None
); resultobj
= Py_None
;
28159 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28160 resultobj
= t_output_helper(resultobj
,o
);
28163 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28164 resultobj
= t_output_helper(resultobj
,o
);
28172 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
;
28174 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28175 int *arg2
= (int *) 0 ;
28176 int *arg3
= (int *) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self", NULL
28186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28196 Py_INCREF(Py_None
); resultobj
= Py_None
;
28198 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28199 resultobj
= t_output_helper(resultobj
,o
);
28202 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28203 resultobj
= t_output_helper(resultobj
,o
);
28211 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28212 PyObject
*resultobj
;
28213 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28215 PyObject
* obj0
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "self", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28231 wxSize
* resultptr
;
28232 resultptr
= new wxSize((wxSize
&) result
);
28233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28241 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
;
28243 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28245 PyObject
* obj0
= 0 ;
28246 char *kwnames
[] = {
28247 (char *) "self", NULL
28250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28261 wxSize
* resultptr
;
28262 resultptr
= new wxSize((wxSize
&) result
);
28263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28271 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 char *kwnames
[] = {
28276 (char *) "self", NULL
28279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 (arg1
)->base_InitDialog();
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 Py_INCREF(Py_None
); resultobj
= Py_None
;
28296 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28300 PyObject
* obj0
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (bool)(arg1
)->base_TransferDataToWindow();
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28322 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
;
28324 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28326 PyObject
* obj0
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28348 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
;
28350 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28352 PyObject
* obj0
= 0 ;
28353 char *kwnames
[] = {
28354 (char *) "self", NULL
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 result
= (bool)(arg1
)->base_Validate();
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28374 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28378 PyObject
* obj0
= 0 ;
28379 char *kwnames
[] = {
28380 (char *) "self", NULL
28383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28400 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28401 PyObject
*resultobj
;
28402 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28404 PyObject
* obj0
= 0 ;
28405 char *kwnames
[] = {
28406 (char *) "self", NULL
28409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28414 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28426 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
;
28428 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28430 PyObject
* obj0
= 0 ;
28431 char *kwnames
[] = {
28432 (char *) "self", NULL
28435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28446 wxSize
* resultptr
;
28447 resultptr
= new wxSize((wxSize
&) result
);
28448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28456 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28459 wxWindow
*arg2
= (wxWindow
*) 0 ;
28460 PyObject
* obj0
= 0 ;
28461 PyObject
* obj1
= 0 ;
28462 char *kwnames
[] = {
28463 (char *) "self",(char *) "child", NULL
28466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 (arg1
)->base_AddChild(arg2
);
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28478 Py_INCREF(Py_None
); resultobj
= Py_None
;
28485 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28486 PyObject
*resultobj
;
28487 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28488 wxWindow
*arg2
= (wxWindow
*) 0 ;
28489 PyObject
* obj0
= 0 ;
28490 PyObject
* obj1
= 0 ;
28491 char *kwnames
[] = {
28492 (char *) "self",(char *) "child", NULL
28495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 (arg1
)->base_RemoveChild(arg2
);
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 Py_INCREF(Py_None
); resultobj
= Py_None
;
28514 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28517 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28519 return Py_BuildValue((char *)"");
28521 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
;
28523 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28524 int arg2
= (int) 0 ;
28525 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28526 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28527 wxHelpEvent
*result
;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 PyObject
* obj2
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "type",(char *) "winid",(char *) "pt", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28538 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28542 arg2
= (int) SWIG_AsInt(obj1
);
28543 if (PyErr_Occurred()) SWIG_fail
;
28548 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28565 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28567 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28569 PyObject
* obj0
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 wxPoint
* resultptr
;
28586 resultptr
= new wxPoint((wxPoint
&) result
);
28587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28595 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
;
28597 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28598 wxPoint
*arg2
= 0 ;
28600 PyObject
* obj0
= 0 ;
28601 PyObject
* obj1
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "self",(char *) "pos", NULL
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28611 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 Py_INCREF(Py_None
); resultobj
= Py_None
;
28627 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28631 PyObject
* obj0
= 0 ;
28632 char *kwnames
[] = {
28633 (char *) "self", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28643 result
= (wxString
*) &_result_ref
;
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28651 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28653 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28662 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
;
28664 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28665 wxString
*arg2
= 0 ;
28666 bool temp2
= False
;
28667 PyObject
* obj0
= 0 ;
28668 PyObject
* obj1
= 0 ;
28669 char *kwnames
[] = {
28670 (char *) "self",(char *) "link", NULL
28673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28677 arg2
= wxString_in_helper(obj1
);
28678 if (arg2
== NULL
) SWIG_fail
;
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 (arg1
)->SetLink((wxString
const &)*arg2
);
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 Py_INCREF(Py_None
); resultobj
= Py_None
;
28703 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28719 result
= (wxString
*) &_result_ref
;
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28738 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28739 PyObject
*resultobj
;
28740 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28741 wxString
*arg2
= 0 ;
28742 bool temp2
= False
;
28743 PyObject
* obj0
= 0 ;
28744 PyObject
* obj1
= 0 ;
28745 char *kwnames
[] = {
28746 (char *) "self",(char *) "target", NULL
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28753 arg2
= wxString_in_helper(obj1
);
28754 if (arg2
== NULL
) SWIG_fail
;
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 (arg1
)->SetTarget((wxString
const &)*arg2
);
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 Py_INCREF(Py_None
); resultobj
= Py_None
;
28779 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28782 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28784 return Py_BuildValue((char *)"");
28786 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
;
28788 wxWindow
*arg1
= (wxWindow
*) NULL
;
28789 bool arg2
= (bool) True
;
28790 wxContextHelp
*result
;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 char *kwnames
[] = {
28794 (char *) "window",(char *) "doNow", NULL
28797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28803 arg2
= (bool) SWIG_AsBool(obj1
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28820 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
;
28822 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28823 PyObject
* obj0
= 0 ;
28824 char *kwnames
[] = {
28825 (char *) "self", NULL
28828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 Py_INCREF(Py_None
); resultobj
= Py_None
;
28845 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
;
28847 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28848 wxWindow
*arg2
= (wxWindow
*) NULL
;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 char *kwnames
[] = {
28853 (char *) "self",(char *) "window", NULL
28856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28867 wxPyEndAllowThreads(__tstate
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28877 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28878 PyObject
*resultobj
;
28879 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28881 PyObject
* obj0
= 0 ;
28882 char *kwnames
[] = {
28883 (char *) "self", NULL
28886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 result
= (bool)(arg1
)->EndContextHelp();
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28903 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28906 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28908 return Py_BuildValue((char *)"");
28910 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxWindow
*arg1
= (wxWindow
*) 0 ;
28913 int arg2
= (int) wxID_CONTEXT_HELP
;
28914 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28915 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28916 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28917 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28918 long arg5
= (long) wxBU_AUTODRAW
;
28919 wxContextHelpButton
*result
;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 PyObject
* obj2
= 0 ;
28925 PyObject
* obj3
= 0 ;
28926 PyObject
* obj4
= 0 ;
28927 char *kwnames
[] = {
28928 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28935 arg2
= (int) SWIG_AsInt(obj1
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28947 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28951 arg5
= (long) SWIG_AsLong(obj4
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
28968 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28971 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28973 return Py_BuildValue((char *)"");
28975 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28976 PyObject
*resultobj
;
28977 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28978 wxHelpProvider
*result
;
28979 PyObject
* obj0
= 0 ;
28980 char *kwnames
[] = {
28981 (char *) "helpProvider", NULL
28984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29001 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxHelpProvider
*result
;
29004 char *kwnames
[] = {
29008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29023 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
;
29025 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29026 wxWindow
*arg2
= (wxWindow
*) 0 ;
29028 PyObject
* obj0
= 0 ;
29029 PyObject
* obj1
= 0 ;
29030 char *kwnames
[] = {
29031 (char *) "self",(char *) "window", NULL
29034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29059 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29060 PyObject
*resultobj
;
29061 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29062 wxWindow
*arg2
= (wxWindow
*) 0 ;
29064 PyObject
* obj0
= 0 ;
29065 PyObject
* obj1
= 0 ;
29066 char *kwnames
[] = {
29067 (char *) "self",(char *) "window", NULL
29070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 result
= (bool)(arg1
)->ShowHelp(arg2
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29089 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
;
29091 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29092 wxWindow
*arg2
= (wxWindow
*) 0 ;
29093 wxString
*arg3
= 0 ;
29094 bool temp3
= False
;
29095 PyObject
* obj0
= 0 ;
29096 PyObject
* obj1
= 0 ;
29097 PyObject
* obj2
= 0 ;
29098 char *kwnames
[] = {
29099 (char *) "self",(char *) "window",(char *) "text", NULL
29102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29108 arg3
= wxString_in_helper(obj2
);
29109 if (arg3
== NULL
) SWIG_fail
;
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 Py_INCREF(Py_None
); resultobj
= Py_None
;
29134 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29138 wxString
*arg3
= 0 ;
29139 bool temp3
= False
;
29140 PyObject
* obj0
= 0 ;
29141 PyObject
* obj1
= 0 ;
29142 PyObject
* obj2
= 0 ;
29143 char *kwnames
[] = {
29144 (char *) "self",(char *) "id",(char *) "text", NULL
29147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29150 arg2
= (int) SWIG_AsInt(obj1
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 arg3
= wxString_in_helper(obj2
);
29154 if (arg3
== NULL
) SWIG_fail
;
29158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29159 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 Py_INCREF(Py_None
); resultobj
= Py_None
;
29179 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29180 PyObject
*resultobj
;
29181 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29182 wxWindow
*arg2
= (wxWindow
*) 0 ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self",(char *) "window", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 (arg1
)->RemoveHelp(arg2
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29201 Py_INCREF(Py_None
); resultobj
= Py_None
;
29208 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
;
29210 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29211 PyObject
* obj0
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "self", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 wxHelpProvider_Destroy(arg1
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 Py_INCREF(Py_None
); resultobj
= Py_None
;
29233 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29236 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29238 return Py_BuildValue((char *)"");
29240 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
;
29242 wxSimpleHelpProvider
*result
;
29243 char *kwnames
[] = {
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29262 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29265 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29267 return Py_BuildValue((char *)"");
29269 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
;
29271 wxBitmap
*arg1
= 0 ;
29272 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29273 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29274 wxGenericDragImage
*result
;
29275 PyObject
* obj0
= 0 ;
29276 PyObject
* obj1
= 0 ;
29277 char *kwnames
[] = {
29278 (char *) "image",(char *) "cursor", NULL
29281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29285 if (arg1
== NULL
) {
29286 PyErr_SetString(PyExc_TypeError
,"null reference");
29290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29293 if (arg2
== NULL
) {
29294 PyErr_SetString(PyExc_TypeError
,"null reference");
29299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29300 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29312 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
;
29315 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29316 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29317 wxGenericDragImage
*result
;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 char *kwnames
[] = {
29321 (char *) "image",(char *) "cursor", NULL
29324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29328 if (arg1
== NULL
) {
29329 PyErr_SetString(PyExc_TypeError
,"null reference");
29333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29336 if (arg2
== NULL
) {
29337 PyErr_SetString(PyExc_TypeError
,"null reference");
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29355 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxString
*arg1
= 0 ;
29358 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29359 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29360 wxGenericDragImage
*result
;
29361 bool temp1
= False
;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 char *kwnames
[] = {
29365 (char *) "str",(char *) "cursor", NULL
29368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29370 arg1
= wxString_in_helper(obj0
);
29371 if (arg1
== NULL
) SWIG_fail
;
29375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29378 if (arg2
== NULL
) {
29379 PyErr_SetString(PyExc_TypeError
,"null reference");
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29405 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29406 PyObject
*resultobj
;
29407 wxPyTreeCtrl
*arg1
= 0 ;
29408 wxTreeItemId
*arg2
= 0 ;
29409 wxGenericDragImage
*result
;
29410 PyObject
* obj0
= 0 ;
29411 PyObject
* obj1
= 0 ;
29412 char *kwnames
[] = {
29413 (char *) "treeCtrl",(char *) "id", NULL
29416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29420 if (arg1
== NULL
) {
29421 PyErr_SetString(PyExc_TypeError
,"null reference");
29424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29427 if (arg2
== NULL
) {
29428 PyErr_SetString(PyExc_TypeError
,"null reference");
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29445 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
;
29447 wxPyListCtrl
*arg1
= 0 ;
29449 wxGenericDragImage
*result
;
29450 PyObject
* obj0
= 0 ;
29451 PyObject
* obj1
= 0 ;
29452 char *kwnames
[] = {
29453 (char *) "listCtrl",(char *) "id", NULL
29456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29460 if (arg1
== NULL
) {
29461 PyErr_SetString(PyExc_TypeError
,"null reference");
29464 arg2
= (long) SWIG_AsLong(obj1
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29480 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
;
29482 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29483 PyObject
* obj0
= 0 ;
29484 char *kwnames
[] = {
29485 (char *) "self", NULL
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 Py_INCREF(Py_None
); resultobj
= Py_None
;
29505 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
;
29507 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29508 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 char *kwnames
[] = {
29512 (char *) "self",(char *) "bitmap", NULL
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 (arg1
)->SetBackingBitmap(arg2
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 Py_INCREF(Py_None
); resultobj
= Py_None
;
29534 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
;
29536 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29537 wxPoint
*arg2
= 0 ;
29538 wxWindow
*arg3
= (wxWindow
*) 0 ;
29539 bool arg4
= (bool) False
;
29540 wxRect
*arg5
= (wxRect
*) NULL
;
29543 PyObject
* obj0
= 0 ;
29544 PyObject
* obj1
= 0 ;
29545 PyObject
* obj2
= 0 ;
29546 PyObject
* obj3
= 0 ;
29547 PyObject
* obj4
= 0 ;
29548 char *kwnames
[] = {
29549 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29559 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29562 arg4
= (bool) SWIG_AsBool(obj3
);
29563 if (PyErr_Occurred()) SWIG_fail
;
29566 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29571 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29583 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
;
29585 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29586 wxPoint
*arg2
= 0 ;
29587 wxWindow
*arg3
= (wxWindow
*) 0 ;
29588 wxWindow
*arg4
= (wxWindow
*) 0 ;
29591 PyObject
* obj0
= 0 ;
29592 PyObject
* obj1
= 0 ;
29593 PyObject
* obj2
= 0 ;
29594 PyObject
* obj3
= 0 ;
29595 char *kwnames
[] = {
29596 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29604 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29606 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29608 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29612 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29614 wxPyEndAllowThreads(__tstate
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29624 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29625 PyObject
*resultobj
;
29626 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29628 PyObject
* obj0
= 0 ;
29629 char *kwnames
[] = {
29630 (char *) "self", NULL
29633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 result
= (bool)(arg1
)->EndDrag();
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29650 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
;
29652 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29653 wxPoint
*arg2
= 0 ;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 char *kwnames
[] = {
29659 (char *) "self",(char *) "pt", NULL
29662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29683 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29687 PyObject
* obj0
= 0 ;
29688 char *kwnames
[] = {
29689 (char *) "self", NULL
29692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29697 result
= (bool)(arg1
)->Show();
29699 wxPyEndAllowThreads(__tstate
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29709 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29710 PyObject
*resultobj
;
29711 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29713 PyObject
* obj0
= 0 ;
29714 char *kwnames
[] = {
29715 (char *) "self", NULL
29718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29723 result
= (bool)(arg1
)->Hide();
29725 wxPyEndAllowThreads(__tstate
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29735 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29736 PyObject
*resultobj
;
29737 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29738 wxPoint
*arg2
= 0 ;
29741 PyObject
* obj0
= 0 ;
29742 PyObject
* obj1
= 0 ;
29743 char *kwnames
[] = {
29744 (char *) "self",(char *) "pos", NULL
29747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29756 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29762 wxRect
* resultptr
;
29763 resultptr
= new wxRect((wxRect
&) result
);
29764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29772 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29773 PyObject
*resultobj
;
29774 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29776 wxPoint
*arg3
= 0 ;
29779 PyObject
* obj0
= 0 ;
29780 PyObject
* obj1
= 0 ;
29781 PyObject
* obj2
= 0 ;
29782 char *kwnames
[] = {
29783 (char *) "self",(char *) "dc",(char *) "pos", NULL
29786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29792 if (arg2
== NULL
) {
29793 PyErr_SetString(PyExc_TypeError
,"null reference");
29798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29802 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29814 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
;
29816 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29818 wxMemoryDC
*arg3
= 0 ;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 PyObject
* obj2
= 0 ;
29827 PyObject
* obj3
= 0 ;
29828 PyObject
* obj4
= 0 ;
29829 char *kwnames
[] = {
29830 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29839 if (arg2
== NULL
) {
29840 PyErr_SetString(PyExc_TypeError
,"null reference");
29843 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29846 if (arg3
== NULL
) {
29847 PyErr_SetString(PyExc_TypeError
,"null reference");
29852 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29856 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29872 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
;
29874 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29875 wxPoint
*arg2
= 0 ;
29876 wxPoint
*arg3
= 0 ;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 PyObject
* obj3
= 0 ;
29886 PyObject
* obj4
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29902 arg4
= (bool) SWIG_AsBool(obj3
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29904 arg5
= (bool) SWIG_AsBool(obj4
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29920 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29923 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29925 return Py_BuildValue((char *)"");
29927 static PyMethodDef SwigMethods
[] = {
29928 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29934 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29942 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29949 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29960 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29965 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29967 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29981 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29985 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29998 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30002 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30008 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30012 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30019 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30041 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30050 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30051 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30080 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30136 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30141 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30152 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30164 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30175 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30179 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30196 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30202 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30227 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30234 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30254 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30260 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30270 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30272 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30277 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30279 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30284 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30289 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30319 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30364 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30369 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30381 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30433 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30460 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30531 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30543 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30551 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30558 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30574 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30650 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30672 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30677 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30698 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30706 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30711 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30713 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30722 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30724 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30746 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30748 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30749 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30751 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30752 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30754 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30755 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30757 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30758 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30760 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30761 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30763 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30764 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30766 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30767 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30769 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30770 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30772 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30773 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30775 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30776 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30778 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30779 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30781 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30782 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30784 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30785 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30787 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30788 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30790 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30791 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30793 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30794 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30796 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30797 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30799 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30800 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30802 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30803 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30805 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30806 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30808 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30809 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30811 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30812 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30814 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30815 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30817 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30818 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30820 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30821 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30823 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30824 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30826 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30827 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30829 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30830 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30832 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30835 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30836 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30838 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30839 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30841 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30842 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30844 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30845 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30847 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30848 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30850 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30851 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30853 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30854 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30856 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30857 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30859 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30860 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30862 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30863 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30865 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30866 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30868 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30869 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30871 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30872 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30874 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30875 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30877 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30878 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30880 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30881 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30883 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30884 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30886 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30887 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30889 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30890 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30892 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30893 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30895 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30896 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30898 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30899 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30901 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30902 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30904 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30905 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30907 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30908 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30910 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30911 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30913 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30914 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30916 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30917 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30919 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30920 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30922 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30923 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30925 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30926 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30928 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30929 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30931 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30932 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30934 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30935 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30937 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30938 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30940 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30941 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30943 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30944 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30946 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30947 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30949 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30950 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30952 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30953 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30955 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30956 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30958 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30959 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30961 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30962 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30964 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30965 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30967 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30968 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30970 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30971 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30973 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30974 return (void *)((wxControl
*) ((wxGauge
*) x
));
30976 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30977 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30979 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30980 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30982 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30983 return (void *)((wxControl
*) ((wxButton
*) x
));
30985 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30986 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30988 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30989 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30991 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30992 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30994 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30995 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30997 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30998 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31000 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31001 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31003 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31004 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31006 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31007 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31009 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31010 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31012 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31013 return (void *)((wxControl
*) ((wxSlider
*) x
));
31015 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31016 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31018 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31019 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31021 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31022 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31024 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31025 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31027 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31028 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31030 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
31031 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
31033 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31034 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31036 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31037 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31039 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31040 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31042 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31043 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31045 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31046 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31048 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31049 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31051 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31052 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31054 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31057 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31058 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31060 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31061 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31063 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31064 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31066 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31069 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31070 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31072 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31075 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31078 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31079 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31081 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31082 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31084 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31087 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31090 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31093 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31096 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31099 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31100 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31102 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31105 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31108 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31111 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31114 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31117 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31120 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31123 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31126 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31129 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31132 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31135 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31138 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31141 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31144 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31147 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31150 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31153 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31156 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31159 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31162 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31165 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31168 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31171 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31174 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31175 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31177 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31178 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31180 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31181 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31183 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31184 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31186 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31187 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31189 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31190 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31192 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31193 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31195 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31196 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31198 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31199 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31201 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31202 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31204 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31207 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31208 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31210 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31213 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31216 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31217 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31219 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31220 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31222 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31223 return (void *)((wxObject
*) ((wxSizer
*) x
));
31225 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31226 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31228 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31231 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31234 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31235 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31237 static void *_p_wxEventTo_p_wxObject(void *x
) {
31238 return (void *)((wxObject
*) ((wxEvent
*) x
));
31240 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31241 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31243 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31244 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31246 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31247 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31249 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31252 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31255 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31258 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31259 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31261 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31262 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31264 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31265 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31267 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31268 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31270 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31271 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31273 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31274 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31276 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31279 static void *_p_wxControlTo_p_wxObject(void *x
) {
31280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31282 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31285 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31288 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31291 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31294 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31297 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31298 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31300 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31303 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31304 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31306 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31307 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31309 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31312 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31315 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31318 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31319 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31321 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31322 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31324 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31327 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31328 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31330 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31333 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31336 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31337 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31339 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31340 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31342 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31343 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31345 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31346 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31348 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31349 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31351 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31352 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31354 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31355 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31357 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31358 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31360 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31361 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31363 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31366 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31367 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31369 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31372 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31373 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31375 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31378 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31379 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31381 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31382 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31384 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31385 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31387 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31388 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31390 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31391 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31393 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31394 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31396 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31397 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31399 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31400 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31402 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31405 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31406 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31408 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31411 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31414 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31417 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31420 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31423 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31426 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31429 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31432 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31433 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31435 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31438 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31441 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31444 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31447 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31448 return (void *)((wxObject
*) ((wxListItem
*) x
));
31450 static void *_p_wxImageTo_p_wxObject(void *x
) {
31451 return (void *)((wxObject
*) ((wxImage
*) x
));
31453 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31454 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31456 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31457 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31459 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31462 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31463 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31465 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31468 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31471 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31474 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31477 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31478 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31480 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31481 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31483 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31484 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31486 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31487 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31489 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31492 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31493 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31495 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31498 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31499 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31501 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31502 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31504 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31505 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31507 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31508 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31510 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31511 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31513 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31516 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31519 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31520 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31522 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31525 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31526 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31528 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31529 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31531 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31534 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31537 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31538 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31540 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31543 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31546 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31547 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31549 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31550 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31552 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31553 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31555 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31556 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31558 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31559 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31561 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31562 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31564 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31565 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31567 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31568 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31570 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31571 return (void *)((wxWindow
*) ((wxControl
*) x
));
31573 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31574 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31576 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31577 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31579 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31580 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31582 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31583 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31585 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31586 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31588 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31589 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31591 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31592 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31594 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31595 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31597 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31598 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31600 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31601 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31603 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31604 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31606 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31607 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31609 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31610 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31612 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31613 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31615 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31616 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31618 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31619 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31621 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31622 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31624 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31625 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31627 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31628 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31630 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31631 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31633 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31634 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31636 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31637 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31639 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31640 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31642 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31643 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31645 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31646 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31648 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31649 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31651 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31652 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31654 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31655 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31657 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31658 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31660 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31661 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31663 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31664 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31666 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31667 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31669 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31670 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31672 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31673 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31675 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31676 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31678 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31679 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31681 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31682 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31684 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31685 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31687 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31688 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31690 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31691 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31693 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31694 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31696 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31697 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31699 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31700 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31702 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31703 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31705 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
31706 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
31708 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31709 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31711 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31712 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31714 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31715 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31717 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31718 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31720 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31721 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31723 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31724 static swig_type_info _swigt__p_wxBookCtrlEvent
[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31725 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31726 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31727 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31728 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31729 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31730 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31731 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31732 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31733 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31734 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31735 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31736 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31737 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31738 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31739 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31740 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31741 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31742 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31743 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31744 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31745 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31746 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31747 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31748 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31749 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31750 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31751 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31752 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31753 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31754 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31755 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31756 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31757 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31758 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31759 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31760 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31761 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31762 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31763 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31764 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31765 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31766 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31767 static swig_type_info _swigt__p_wxBookCtrl
[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31768 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31769 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31770 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31771 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31772 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31773 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31774 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31775 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31776 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31777 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31778 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31779 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31780 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31781 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31782 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31783 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31784 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31785 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31786 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31787 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31788 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31789 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31790 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31791 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31792 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31793 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31794 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31795 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31796 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31797 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31798 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31799 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31800 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31801 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31802 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31803 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31804 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31805 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31806 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31808 static swig_type_info
*swig_types_initial
[] = {
31809 _swigt__p_wxTextUrlEvent
,
31810 _swigt__p_wxBookCtrlEvent
,
31812 _swigt__p_wxCheckBox
,
31813 _swigt__p_wxPyTreeCtrl
,
31815 _swigt__p_wxGenericDirCtrl
,
31817 _swigt__p_wxPyTreeItemData
,
31818 _swigt__p_wxItemContainer
,
31819 _swigt__p_wxDirFilterListCtrl
,
31820 _swigt__p_wxPyListCtrl
,
31821 _swigt__p_wxStaticLine
,
31822 _swigt__p_wxControl
,
31823 _swigt__p_wxPyControl
,
31825 _swigt__p_wxToolBarBase
,
31827 _swigt__p_wxToggleButton
,
31828 _swigt__p_wxRadioButton
,
31829 _swigt__p_wxChoice
,
31830 _swigt__p_wxMemoryDC
,
31831 _swigt__p_wxListItemAttr
,
31836 _swigt__p_wxListView
,
31838 _swigt__p_wxTextCtrl
,
31839 _swigt__p_wxNotebook
,
31840 _swigt__p_wxNotifyEvent
,
31841 _swigt__p_wxArrayString
,
31842 _swigt__p_wxListbook
,
31843 _swigt__p_wxStaticBitmap
,
31844 _swigt__p_wxSlider
,
31845 _swigt__p_wxStaticBox
,
31846 _swigt__p_wxArrayInt
,
31847 _swigt__p_wxContextHelp
,
31849 _swigt__p_wxEvtHandler
,
31850 _swigt__p_wxListEvent
,
31851 _swigt__p_wxListBox
,
31852 _swigt__p_wxCheckListBox
,
31853 _swigt__p_wxBookCtrl
,
31854 _swigt__p_wxSpinButton
,
31855 _swigt__p_wxButton
,
31856 _swigt__p_wxBitmapButton
,
31858 _swigt__p_wxContextHelpButton
,
31859 _swigt__p_wxRadioBox
,
31860 _swigt__p_wxScrollBar
,
31862 _swigt__p_wxTreeItemId
,
31863 _swigt__p_wxComboBox
,
31864 _swigt__p_wxHelpEvent
,
31865 _swigt__p_wxListItem
,
31866 _swigt__p_wxNotebookSizer
,
31867 _swigt__p_wxSpinEvent
,
31868 _swigt__p_wxGenericDragImage
,
31869 _swigt__p_wxSpinCtrl
,
31870 _swigt__p_wxImageList
,
31871 _swigt__p_wxHelpProvider
,
31872 _swigt__p_wxTextAttr
,
31873 _swigt__p_wxSimpleHelpProvider
,
31875 _swigt__p_wxListbookEvent
,
31876 _swigt__p_wxNotebookEvent
,
31877 _swigt__p_wxObject
,
31878 _swigt__p_wxCursor
,
31879 _swigt__p_wxKeyEvent
,
31880 _swigt__p_wxWindow
,
31881 _swigt__p_wxString
,
31882 _swigt__p_wxBitmap
,
31883 _swigt__p_wxTreeEvent
,
31884 _swigt__p_wxMouseEvent
,
31885 _swigt__p_wxCommandEvent
,
31886 _swigt__p_wxStaticText
,
31887 _swigt__p_wxControlWithItems
,
31888 _swigt__p_wxToolBarToolBase
,
31889 _swigt__p_wxColour
,
31890 _swigt__p_wxToolBar
,
31891 _swigt__p_wxBookCtrlSizer
,
31892 _swigt__p_wxValidator
,
31897 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31899 static swig_const_info swig_const_table
[] = {
31909 SWIGEXPORT(void) SWIG_init(void) {
31910 static PyObject
*SWIG_globals
= 0;
31911 static int typeinit
= 0;
31914 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31915 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31916 d
= PyModule_GetDict(m
);
31919 for (i
= 0; swig_types_initial
[i
]; i
++) {
31920 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31924 SWIG_InstallConstants(d
,swig_const_table
);
31926 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31927 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31928 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31929 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31930 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31931 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31932 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31933 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31934 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31935 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31936 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31937 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31938 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31939 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31940 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31941 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31942 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31943 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31944 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31945 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31946 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31947 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31948 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31949 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31950 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31951 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31952 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31953 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31954 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
31955 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
31956 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
31957 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
31958 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
31959 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
31960 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
31961 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
31962 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
31963 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
31964 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
31965 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
31966 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
31967 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
31968 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
31969 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
31970 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
31971 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31972 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31973 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31974 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31975 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31976 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31977 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31978 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31979 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31980 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31981 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31982 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31983 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31984 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
31985 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31986 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31987 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31988 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
31989 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
31990 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
31991 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
31992 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
31993 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
31994 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31995 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31996 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31997 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31998 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31999 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32000 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32001 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32002 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32003 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32004 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32005 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32006 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32007 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32008 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32009 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32010 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32011 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32012 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32013 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32014 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32015 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32016 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32017 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32018 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32019 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32020 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32021 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32022 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32023 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32024 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32025 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32026 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32027 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32028 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32029 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32030 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32031 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32032 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32033 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32034 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32035 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32036 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32037 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32038 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32039 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32040 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32041 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32042 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32043 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32044 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32045 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32046 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32047 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32048 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32049 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32050 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32051 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32052 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32053 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32054 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32055 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32056 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32057 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32058 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32059 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32060 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32061 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32062 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32063 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32064 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32065 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32066 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32067 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32068 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32069 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32070 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32071 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32072 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32073 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32074 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32075 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32076 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32077 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32078 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32079 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32080 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32081 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32082 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32083 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32084 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32085 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32086 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32087 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32088 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32089 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32090 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32091 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32092 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32093 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32094 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32095 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32096 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32097 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32098 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32099 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32100 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32101 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32102 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32103 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32104 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32105 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32106 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32107 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32108 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32109 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32110 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32111 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32112 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32113 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32114 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32115 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32116 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32117 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32118 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32119 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32120 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32121 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32122 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32123 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32124 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32125 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32126 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32127 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32128 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32129 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32130 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32131 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32132 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32133 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32134 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32135 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32136 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32138 // Map renamed classes back to their common name for OOR
32139 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32141 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32142 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32143 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32144 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32145 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32146 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32147 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32148 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32149 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32150 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32151 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32152 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32153 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32154 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32155 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32156 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32157 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32158 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32159 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32160 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32161 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32162 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32163 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32164 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32165 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32166 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32167 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32168 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32169 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32170 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32171 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32172 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32173 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32174 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32175 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32176 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32177 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32178 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32179 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32180 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32181 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32182 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32183 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32184 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32185 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32186 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32187 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32188 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32189 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32190 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32191 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32192 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32193 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32194 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32195 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32196 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32198 // Map renamed classes back to their common name for OOR
32199 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32200 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32202 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32203 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32204 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32205 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32206 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32207 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32208 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32209 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32210 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32211 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32213 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");