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
){
741 return (wxWindow
*)self
->m_mainWin
;
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
);
967 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
969 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
970 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
972 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
978 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
979 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
981 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
982 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
983 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
984 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
986 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
987 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
988 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
991 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
996 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
998 #include <wx/generic/dragimgg.h>
1003 static int _wrap_ButtonNameStr_set(PyObject
*) {
1004 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1009 static PyObject
*_wrap_ButtonNameStr_get() {
1014 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1016 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1023 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
*resultobj
;
1025 wxWindow
*arg1
= (wxWindow
*) 0 ;
1027 wxString
*arg3
= 0 ;
1028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1032 long arg6
= (long) 0 ;
1033 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1034 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1035 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1036 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1038 bool temp3
= False
;
1041 bool temp8
= False
;
1042 PyObject
* obj0
= 0 ;
1043 PyObject
* obj1
= 0 ;
1044 PyObject
* obj2
= 0 ;
1045 PyObject
* obj3
= 0 ;
1046 PyObject
* obj4
= 0 ;
1047 PyObject
* obj5
= 0 ;
1048 PyObject
* obj6
= 0 ;
1049 PyObject
* obj7
= 0 ;
1051 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1057 arg2
= (int) SWIG_AsInt(obj1
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1060 arg3
= wxString_in_helper(obj2
);
1061 if (arg3
== NULL
) SWIG_fail
;
1067 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1073 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1077 arg6
= (long) SWIG_AsLong(obj5
);
1078 if (PyErr_Occurred()) SWIG_fail
;
1081 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1085 PyErr_SetString(PyExc_TypeError
,"null reference");
1091 arg8
= wxString_in_helper(obj7
);
1092 if (arg8
== NULL
) SWIG_fail
;
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) SWIG_fail
;
1104 resultobj
= wxPyMake_wxObject(result
);
1128 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
*resultobj
;
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1138 result
= (wxButton
*)new wxButton();
1140 wxPyEndAllowThreads(__tstate
);
1141 if (PyErr_Occurred()) SWIG_fail
;
1144 resultobj
= wxPyMake_wxObject(result
);
1152 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
*resultobj
;
1154 wxButton
*arg1
= (wxButton
*) 0 ;
1155 wxWindow
*arg2
= (wxWindow
*) 0 ;
1157 wxString
*arg4
= 0 ;
1158 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1159 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1160 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1161 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1162 long arg7
= (long) 0 ;
1163 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1164 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1165 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1166 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1168 bool temp4
= False
;
1171 bool temp9
= False
;
1172 PyObject
* obj0
= 0 ;
1173 PyObject
* obj1
= 0 ;
1174 PyObject
* obj2
= 0 ;
1175 PyObject
* obj3
= 0 ;
1176 PyObject
* obj4
= 0 ;
1177 PyObject
* obj5
= 0 ;
1178 PyObject
* obj6
= 0 ;
1179 PyObject
* obj7
= 0 ;
1180 PyObject
* obj8
= 0 ;
1182 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1190 arg3
= (int) SWIG_AsInt(obj2
);
1191 if (PyErr_Occurred()) SWIG_fail
;
1193 arg4
= wxString_in_helper(obj3
);
1194 if (arg4
== NULL
) SWIG_fail
;
1200 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1206 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1210 arg7
= (long) SWIG_AsLong(obj6
);
1211 if (PyErr_Occurred()) SWIG_fail
;
1214 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1218 PyErr_SetString(PyExc_TypeError
,"null reference");
1224 arg9
= wxString_in_helper(obj8
);
1225 if (arg9
== NULL
) SWIG_fail
;
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) SWIG_fail
;
1236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1259 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
*resultobj
;
1261 wxButton
*arg1
= (wxButton
*) 0 ;
1262 PyObject
* obj0
= 0 ;
1264 (char *) "self", NULL
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1272 (arg1
)->SetDefault();
1274 wxPyEndAllowThreads(__tstate
);
1275 if (PyErr_Occurred()) SWIG_fail
;
1277 Py_INCREF(Py_None
); resultobj
= Py_None
;
1284 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
*resultobj
;
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 result
= wxButton::GetDefaultSize();
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1301 resultptr
= new wxSize((wxSize
&) result
);
1302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1310 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1313 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1315 return Py_BuildValue((char *)"");
1317 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
*resultobj
;
1319 wxWindow
*arg1
= (wxWindow
*) 0 ;
1321 wxBitmap
*arg3
= 0 ;
1322 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1323 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1324 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1325 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1326 long arg6
= (long) wxBU_AUTODRAW
;
1327 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1328 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1329 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1330 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1331 wxBitmapButton
*result
;
1334 bool temp8
= False
;
1335 PyObject
* obj0
= 0 ;
1336 PyObject
* obj1
= 0 ;
1337 PyObject
* obj2
= 0 ;
1338 PyObject
* obj3
= 0 ;
1339 PyObject
* obj4
= 0 ;
1340 PyObject
* obj5
= 0 ;
1341 PyObject
* obj6
= 0 ;
1342 PyObject
* obj7
= 0 ;
1344 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1350 arg2
= (int) SWIG_AsInt(obj1
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1352 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1356 PyErr_SetString(PyExc_TypeError
,"null reference");
1362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1372 arg6
= (long) SWIG_AsLong(obj5
);
1373 if (PyErr_Occurred()) SWIG_fail
;
1376 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1380 PyErr_SetString(PyExc_TypeError
,"null reference");
1386 arg8
= wxString_in_helper(obj7
);
1387 if (arg8
== NULL
) SWIG_fail
;
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) SWIG_fail
;
1399 resultobj
= wxPyMake_wxObject(result
);
1415 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
*resultobj
;
1417 wxBitmapButton
*result
;
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 result
= (wxBitmapButton
*)new wxBitmapButton();
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= wxPyMake_wxObject(result
);
1439 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1442 wxWindow
*arg2
= (wxWindow
*) 0 ;
1444 wxBitmap
*arg4
= 0 ;
1445 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1446 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1447 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1448 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1449 long arg7
= (long) wxBU_AUTODRAW
;
1450 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1451 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1452 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1453 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1457 bool temp9
= False
;
1458 PyObject
* obj0
= 0 ;
1459 PyObject
* obj1
= 0 ;
1460 PyObject
* obj2
= 0 ;
1461 PyObject
* obj3
= 0 ;
1462 PyObject
* obj4
= 0 ;
1463 PyObject
* obj5
= 0 ;
1464 PyObject
* obj6
= 0 ;
1465 PyObject
* obj7
= 0 ;
1466 PyObject
* obj8
= 0 ;
1468 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1476 arg3
= (int) SWIG_AsInt(obj2
);
1477 if (PyErr_Occurred()) SWIG_fail
;
1478 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1482 PyErr_SetString(PyExc_TypeError
,"null reference");
1488 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1494 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1498 arg7
= (long) SWIG_AsLong(obj6
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1502 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1506 PyErr_SetString(PyExc_TypeError
,"null reference");
1512 arg9
= wxString_in_helper(obj8
);
1513 if (arg9
== NULL
) SWIG_fail
;
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1539 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
*resultobj
;
1541 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1543 PyObject
* obj0
= 0 ;
1545 (char *) "self", NULL
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 result
= (arg1
)->GetBitmapLabel();
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1559 wxBitmap
* resultptr
;
1560 resultptr
= new wxBitmap((wxBitmap
&) result
);
1561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1569 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
*resultobj
;
1571 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1573 PyObject
* obj0
= 0 ;
1575 (char *) "self", NULL
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 result
= (arg1
)->GetBitmapDisabled();
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1589 wxBitmap
* resultptr
;
1590 resultptr
= new wxBitmap((wxBitmap
&) result
);
1591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1599 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1603 PyObject
* obj0
= 0 ;
1605 (char *) "self", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 result
= (arg1
)->GetBitmapFocus();
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1619 wxBitmap
* resultptr
;
1620 resultptr
= new wxBitmap((wxBitmap
&) result
);
1621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1629 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
*resultobj
;
1631 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1633 PyObject
* obj0
= 0 ;
1635 (char *) "self", NULL
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 result
= (arg1
)->GetBitmapSelected();
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1649 wxBitmap
* resultptr
;
1650 resultptr
= new wxBitmap((wxBitmap
&) result
);
1651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1659 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
*resultobj
;
1661 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1662 wxBitmap
*arg2
= 0 ;
1663 PyObject
* obj0
= 0 ;
1664 PyObject
* obj1
= 0 ;
1666 (char *) "self",(char *) "bitmap", NULL
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1676 PyErr_SetString(PyExc_TypeError
,"null reference");
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1686 Py_INCREF(Py_None
); resultobj
= Py_None
;
1693 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
*resultobj
;
1695 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1696 wxBitmap
*arg2
= 0 ;
1697 PyObject
* obj0
= 0 ;
1698 PyObject
* obj1
= 0 ;
1700 (char *) "self",(char *) "bitmap", NULL
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1710 PyErr_SetString(PyExc_TypeError
,"null reference");
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1720 Py_INCREF(Py_None
); resultobj
= Py_None
;
1727 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1729 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1730 wxBitmap
*arg2
= 0 ;
1731 PyObject
* obj0
= 0 ;
1732 PyObject
* obj1
= 0 ;
1734 (char *) "self",(char *) "bitmap", NULL
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1744 PyErr_SetString(PyExc_TypeError
,"null reference");
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 Py_INCREF(Py_None
); resultobj
= Py_None
;
1761 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1764 wxBitmap
*arg2
= 0 ;
1765 PyObject
* obj0
= 0 ;
1766 PyObject
* obj1
= 0 ;
1768 (char *) "self",(char *) "bitmap", NULL
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1778 PyErr_SetString(PyExc_TypeError
,"null reference");
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1788 Py_INCREF(Py_None
); resultobj
= Py_None
;
1795 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
*resultobj
;
1797 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1800 PyObject
* obj0
= 0 ;
1801 PyObject
* obj1
= 0 ;
1802 PyObject
* obj2
= 0 ;
1804 (char *) "self",(char *) "x",(char *) "y", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1810 arg2
= (int) SWIG_AsInt(obj1
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1812 arg3
= (int) SWIG_AsInt(obj2
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 (arg1
)->SetMargins(arg2
,arg3
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1821 Py_INCREF(Py_None
); resultobj
= Py_None
;
1828 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
*resultobj
;
1830 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1832 PyObject
* obj0
= 0 ;
1834 (char *) "self", NULL
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1847 resultobj
= SWIG_FromInt((int)result
);
1854 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
*resultobj
;
1856 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1858 PyObject
* obj0
= 0 ;
1860 (char *) "self", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1873 resultobj
= SWIG_FromInt((int)result
);
1880 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
1882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1883 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1885 return Py_BuildValue((char *)"");
1887 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1888 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1893 static PyObject
*_wrap_CheckBoxNameStr_get() {
1898 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1900 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1907 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxWindow
*arg1
= (wxWindow
*) 0 ;
1911 wxString
*arg3
= 0 ;
1912 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1913 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1914 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1915 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1916 long arg6
= (long) 0 ;
1917 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1918 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1919 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1920 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1922 bool temp3
= False
;
1925 bool temp8
= False
;
1926 PyObject
* obj0
= 0 ;
1927 PyObject
* obj1
= 0 ;
1928 PyObject
* obj2
= 0 ;
1929 PyObject
* obj3
= 0 ;
1930 PyObject
* obj4
= 0 ;
1931 PyObject
* obj5
= 0 ;
1932 PyObject
* obj6
= 0 ;
1933 PyObject
* obj7
= 0 ;
1935 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1941 arg2
= (int) SWIG_AsInt(obj1
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 arg3
= wxString_in_helper(obj2
);
1945 if (arg3
== NULL
) SWIG_fail
;
1951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1961 arg6
= (long) SWIG_AsLong(obj5
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1965 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1969 PyErr_SetString(PyExc_TypeError
,"null reference");
1975 arg8
= wxString_in_helper(obj7
);
1976 if (arg8
== NULL
) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2010 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 result
= (wxCheckBox
*)new wxCheckBox();
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2032 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2035 wxWindow
*arg2
= (wxWindow
*) 0 ;
2037 wxString
*arg4
= 0 ;
2038 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2039 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2040 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2041 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2042 long arg7
= (long) 0 ;
2043 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2044 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2045 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2046 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2048 bool temp4
= False
;
2051 bool temp9
= False
;
2052 PyObject
* obj0
= 0 ;
2053 PyObject
* obj1
= 0 ;
2054 PyObject
* obj2
= 0 ;
2055 PyObject
* obj3
= 0 ;
2056 PyObject
* obj4
= 0 ;
2057 PyObject
* obj5
= 0 ;
2058 PyObject
* obj6
= 0 ;
2059 PyObject
* obj7
= 0 ;
2060 PyObject
* obj8
= 0 ;
2062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2070 arg3
= (int) SWIG_AsInt(obj2
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 arg4
= wxString_in_helper(obj3
);
2074 if (arg4
== NULL
) SWIG_fail
;
2080 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2086 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2090 arg7
= (long) SWIG_AsLong(obj6
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2094 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2098 PyErr_SetString(PyExc_TypeError
,"null reference");
2104 arg9
= wxString_in_helper(obj8
);
2105 if (arg9
== NULL
) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2139 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2143 PyObject
* obj0
= 0 ;
2145 (char *) "self", NULL
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (bool)(arg1
)->GetValue();
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2165 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2169 PyObject
* obj0
= 0 ;
2171 (char *) "self", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 result
= (bool)(arg1
)->IsChecked();
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2191 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
*resultobj
;
2193 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2196 PyObject
* obj1
= 0 ;
2198 (char *) "self",(char *) "state", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2204 arg2
= (bool const) SWIG_AsBool(obj1
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 (arg1
)->SetValue(arg2
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 Py_INCREF(Py_None
); resultobj
= Py_None
;
2220 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2224 PyObject
* obj0
= 0 ;
2226 (char *) "self", NULL
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= SWIG_FromInt((int)result
);
2246 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
*resultobj
;
2248 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2250 PyObject
* obj0
= 0 ;
2251 PyObject
* obj1
= 0 ;
2253 (char *) "self",(char *) "state", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2259 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 Py_INCREF(Py_None
); resultobj
= Py_None
;
2275 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2279 PyObject
* obj0
= 0 ;
2281 (char *) "self", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2301 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
*resultobj
;
2303 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2305 PyObject
* obj0
= 0 ;
2307 (char *) "self", NULL
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2327 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2330 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2332 return Py_BuildValue((char *)"");
2334 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2335 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2340 static PyObject
*_wrap_ChoiceNameStr_get() {
2345 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2347 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2354 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
*resultobj
;
2356 wxWindow
*arg1
= (wxWindow
*) 0 ;
2358 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2359 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2360 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2361 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2362 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2363 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2364 long arg6
= (long) 0 ;
2365 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2366 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2367 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2368 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2372 bool temp5
= False
;
2373 bool temp8
= False
;
2374 PyObject
* obj0
= 0 ;
2375 PyObject
* obj1
= 0 ;
2376 PyObject
* obj2
= 0 ;
2377 PyObject
* obj3
= 0 ;
2378 PyObject
* obj4
= 0 ;
2379 PyObject
* obj5
= 0 ;
2380 PyObject
* obj6
= 0 ;
2381 PyObject
* obj7
= 0 ;
2383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2389 arg2
= (int) SWIG_AsInt(obj1
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2394 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2400 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2405 if (! PySequence_Check(obj4
)) {
2406 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2409 arg5
= new wxArrayString
;
2411 int i
, len
=PySequence_Length(obj4
);
2412 for (i
=0; i
<len
; i
++) {
2413 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2415 PyObject
* str
= PyObject_Unicode(item
);
2417 PyObject
* str
= PyObject_Str(item
);
2419 arg5
->Add(Py2wxString(str
));
2426 arg6
= (long) SWIG_AsLong(obj5
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2430 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2434 PyErr_SetString(PyExc_TypeError
,"null reference");
2440 arg8
= wxString_in_helper(obj7
);
2441 if (arg8
== NULL
) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2454 if (temp5
) delete arg5
;
2463 if (temp5
) delete arg5
;
2473 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
*resultobj
;
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 result
= (wxChoice
*)new wxChoice();
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2495 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxChoice
*arg1
= (wxChoice
*) 0 ;
2498 wxWindow
*arg2
= (wxWindow
*) 0 ;
2500 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2501 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2502 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2503 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2504 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2505 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2506 long arg7
= (long) 0 ;
2507 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2508 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2509 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2510 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2514 bool temp6
= False
;
2515 bool temp9
= False
;
2516 PyObject
* obj0
= 0 ;
2517 PyObject
* obj1
= 0 ;
2518 PyObject
* obj2
= 0 ;
2519 PyObject
* obj3
= 0 ;
2520 PyObject
* obj4
= 0 ;
2521 PyObject
* obj5
= 0 ;
2522 PyObject
* obj6
= 0 ;
2523 PyObject
* obj7
= 0 ;
2524 PyObject
* obj8
= 0 ;
2526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2534 arg3
= (int) SWIG_AsInt(obj2
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2550 if (! PySequence_Check(obj5
)) {
2551 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2554 arg6
= new wxArrayString
;
2556 int i
, len
=PySequence_Length(obj5
);
2557 for (i
=0; i
<len
; i
++) {
2558 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2560 PyObject
* str
= PyObject_Unicode(item
);
2562 PyObject
* str
= PyObject_Str(item
);
2564 arg6
->Add(Py2wxString(str
));
2571 arg7
= (long) SWIG_AsLong(obj6
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2575 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2579 PyErr_SetString(PyExc_TypeError
,"null reference");
2585 arg9
= wxString_in_helper(obj8
);
2586 if (arg9
== NULL
) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2599 if (temp6
) delete arg6
;
2608 if (temp6
) delete arg6
;
2618 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxChoice
*arg1
= (wxChoice
*) 0 ;
2622 PyObject
* obj0
= 0 ;
2623 PyObject
* obj1
= 0 ;
2625 (char *) "self",(char *) "n", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2631 arg2
= (int const) SWIG_AsInt(obj1
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 (arg1
)->SetSelection(arg2
);
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 Py_INCREF(Py_None
); resultobj
= Py_None
;
2647 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxChoice
*arg1
= (wxChoice
*) 0 ;
2650 wxString
*arg2
= 0 ;
2651 bool temp2
= False
;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2655 (char *) "self",(char *) "string", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 arg2
= wxString_in_helper(obj1
);
2663 if (arg2
== NULL
) SWIG_fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 Py_INCREF(Py_None
); resultobj
= Py_None
;
2688 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
*resultobj
;
2690 wxChoice
*arg1
= (wxChoice
*) 0 ;
2692 wxString
*arg3
= 0 ;
2693 bool temp3
= False
;
2694 PyObject
* obj0
= 0 ;
2695 PyObject
* obj1
= 0 ;
2696 PyObject
* obj2
= 0 ;
2698 (char *) "self",(char *) "n",(char *) "string", NULL
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2704 arg2
= (int) SWIG_AsInt(obj1
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2707 arg3
= wxString_in_helper(obj2
);
2708 if (arg3
== NULL
) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2718 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
2735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2736 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2738 return Py_BuildValue((char *)"");
2740 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2741 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2746 static PyObject
*_wrap_ComboBoxNameStr_get() {
2751 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2753 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2760 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxWindow
*arg1
= (wxWindow
*) 0 ;
2764 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2765 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2766 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2767 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2768 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2769 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2770 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2771 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2772 long arg7
= (long) 0 ;
2773 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2774 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2775 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2776 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2778 bool temp3
= False
;
2781 bool temp6
= False
;
2782 bool temp9
= False
;
2783 PyObject
* obj0
= 0 ;
2784 PyObject
* obj1
= 0 ;
2785 PyObject
* obj2
= 0 ;
2786 PyObject
* obj3
= 0 ;
2787 PyObject
* obj4
= 0 ;
2788 PyObject
* obj5
= 0 ;
2789 PyObject
* obj6
= 0 ;
2790 PyObject
* obj7
= 0 ;
2791 PyObject
* obj8
= 0 ;
2793 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2799 arg2
= (int) SWIG_AsInt(obj1
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2803 arg3
= wxString_in_helper(obj2
);
2804 if (arg3
== NULL
) SWIG_fail
;
2811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2822 if (! PySequence_Check(obj5
)) {
2823 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2826 arg6
= new wxArrayString
;
2828 int i
, len
=PySequence_Length(obj5
);
2829 for (i
=0; i
<len
; i
++) {
2830 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2832 PyObject
* str
= PyObject_Unicode(item
);
2834 PyObject
* str
= PyObject_Str(item
);
2836 arg6
->Add(Py2wxString(str
));
2843 arg7
= (long) SWIG_AsLong(obj6
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2847 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2851 PyErr_SetString(PyExc_TypeError
,"null reference");
2857 arg9
= wxString_in_helper(obj8
);
2858 if (arg9
== NULL
) SWIG_fail
;
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 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
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2875 if (temp6
) delete arg6
;
2888 if (temp6
) delete arg6
;
2898 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 result
= (wxComboBox
*)new wxComboBox();
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2920 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2923 wxWindow
*arg2
= (wxWindow
*) 0 ;
2925 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2926 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2927 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2928 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2929 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2930 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2931 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2932 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2933 long arg8
= (long) 0 ;
2934 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2935 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2936 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2937 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2939 bool temp4
= False
;
2942 bool temp7
= False
;
2943 bool temp10
= False
;
2944 PyObject
* obj0
= 0 ;
2945 PyObject
* obj1
= 0 ;
2946 PyObject
* obj2
= 0 ;
2947 PyObject
* obj3
= 0 ;
2948 PyObject
* obj4
= 0 ;
2949 PyObject
* obj5
= 0 ;
2950 PyObject
* obj6
= 0 ;
2951 PyObject
* obj7
= 0 ;
2952 PyObject
* obj8
= 0 ;
2953 PyObject
* obj9
= 0 ;
2955 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2963 arg3
= (int) SWIG_AsInt(obj2
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2967 arg4
= wxString_in_helper(obj3
);
2968 if (arg4
== NULL
) SWIG_fail
;
2975 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2981 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2986 if (! PySequence_Check(obj6
)) {
2987 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2990 arg7
= new wxArrayString
;
2992 int i
, len
=PySequence_Length(obj6
);
2993 for (i
=0; i
<len
; i
++) {
2994 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2996 PyObject
* str
= PyObject_Unicode(item
);
2998 PyObject
* str
= PyObject_Str(item
);
3000 arg7
->Add(Py2wxString(str
));
3007 arg8
= (long) SWIG_AsLong(obj7
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3011 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3015 PyErr_SetString(PyExc_TypeError
,"null reference");
3021 arg10
= wxString_in_helper(obj9
);
3022 if (arg10
== NULL
) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 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
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3039 if (temp7
) delete arg7
;
3052 if (temp7
) delete arg7
;
3062 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3068 (char *) "self", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= ((wxComboBox
const *)arg1
)->GetValue();
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3094 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3097 wxString
*arg2
= 0 ;
3098 bool temp2
= False
;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3102 (char *) "self",(char *) "value", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 arg2
= wxString_in_helper(obj1
);
3110 if (arg2
== NULL
) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 (arg1
)->SetValue((wxString
const &)*arg2
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3120 Py_INCREF(Py_None
); resultobj
= Py_None
;
3135 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3138 PyObject
* obj0
= 0 ;
3140 (char *) "self", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 Py_INCREF(Py_None
); resultobj
= Py_None
;
3160 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3165 (char *) "self", NULL
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 Py_INCREF(Py_None
); resultobj
= Py_None
;
3185 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3188 PyObject
* obj0
= 0 ;
3190 (char *) "self", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3203 Py_INCREF(Py_None
); resultobj
= Py_None
;
3210 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
*resultobj
;
3212 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3214 PyObject
* obj0
= 0 ;
3215 PyObject
* obj1
= 0 ;
3217 (char *) "self",(char *) "pos", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3223 arg2
= (long) SWIG_AsLong(obj1
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 (arg1
)->SetInsertionPoint(arg2
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 Py_INCREF(Py_None
); resultobj
= Py_None
;
3239 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "self", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 resultobj
= SWIG_FromLong((long)result
);
3265 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3271 (char *) "self", NULL
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= SWIG_FromLong((long)result
);
3291 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3296 wxString
*arg4
= 0 ;
3297 bool temp4
= False
;
3298 PyObject
* obj0
= 0 ;
3299 PyObject
* obj1
= 0 ;
3300 PyObject
* obj2
= 0 ;
3301 PyObject
* obj3
= 0 ;
3303 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 arg2
= (long) SWIG_AsLong(obj1
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3311 arg3
= (long) SWIG_AsLong(obj2
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 arg4
= wxString_in_helper(obj3
);
3315 if (arg4
== NULL
) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 Py_INCREF(Py_None
); resultobj
= Py_None
;
3340 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3345 PyObject
* obj1
= 0 ;
3347 (char *) "self",(char *) "n", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 arg2
= (int) SWIG_AsInt(obj1
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 (arg1
)->SetSelection(arg2
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 Py_INCREF(Py_None
); resultobj
= Py_None
;
3369 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3375 PyObject
* obj1
= 0 ;
3376 PyObject
* obj2
= 0 ;
3378 (char *) "self",(char *) "from",(char *) "to", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3384 arg2
= (long) SWIG_AsLong(obj1
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3386 arg3
= (long) SWIG_AsLong(obj2
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 (arg1
)->SetSelection(arg2
,arg3
);
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "self",(char *) "editable", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3415 arg2
= (bool) SWIG_AsBool(obj1
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 (arg1
)->SetEditable(arg2
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3436 (char *) "self", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 (arg1
)->SetInsertionPointEnd();
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 Py_INCREF(Py_None
); resultobj
= Py_None
;
3456 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3463 PyObject
* obj2
= 0 ;
3465 (char *) "self",(char *) "from",(char *) "to", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 arg2
= (long) SWIG_AsLong(obj1
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3473 arg3
= (long) SWIG_AsLong(obj2
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 (arg1
)->Remove(arg2
,arg3
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3492 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3494 return Py_BuildValue((char *)"");
3496 static int _wrap_GaugeNameStr_set(PyObject
*) {
3497 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3502 static PyObject
*_wrap_GaugeNameStr_get() {
3507 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3509 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3516 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxWindow
*arg1
= (wxWindow
*) 0 ;
3521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3525 long arg6
= (long) wxGA_HORIZONTAL
;
3526 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3527 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3528 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3533 bool temp8
= False
;
3534 PyObject
* obj0
= 0 ;
3535 PyObject
* obj1
= 0 ;
3536 PyObject
* obj2
= 0 ;
3537 PyObject
* obj3
= 0 ;
3538 PyObject
* obj4
= 0 ;
3539 PyObject
* obj5
= 0 ;
3540 PyObject
* obj6
= 0 ;
3541 PyObject
* obj7
= 0 ;
3543 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3549 arg2
= (int) SWIG_AsInt(obj1
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3551 arg3
= (int) SWIG_AsInt(obj2
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3566 arg6
= (long) SWIG_AsLong(obj5
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3574 PyErr_SetString(PyExc_TypeError
,"null reference");
3580 arg8
= wxString_in_helper(obj7
);
3581 if (arg8
== NULL
) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3607 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (wxGauge
*)new wxGauge();
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3629 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxGauge
*arg1
= (wxGauge
*) 0 ;
3632 wxWindow
*arg2
= (wxWindow
*) 0 ;
3635 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3636 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3637 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3638 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3639 long arg7
= (long) wxGA_HORIZONTAL
;
3640 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3641 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3642 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3643 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3647 bool temp9
= False
;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3650 PyObject
* obj2
= 0 ;
3651 PyObject
* obj3
= 0 ;
3652 PyObject
* obj4
= 0 ;
3653 PyObject
* obj5
= 0 ;
3654 PyObject
* obj6
= 0 ;
3655 PyObject
* obj7
= 0 ;
3656 PyObject
* obj8
= 0 ;
3658 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3666 arg3
= (int) SWIG_AsInt(obj2
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3668 arg4
= (int) SWIG_AsInt(obj3
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3673 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3679 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3683 arg7
= (long) SWIG_AsLong(obj6
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3687 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3691 PyErr_SetString(PyExc_TypeError
,"null reference");
3697 arg9
= wxString_in_helper(obj8
);
3698 if (arg9
== NULL
) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3724 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxGauge
*arg1
= (wxGauge
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3729 PyObject
* obj1
= 0 ;
3731 (char *) "self",(char *) "range", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 arg2
= (int) SWIG_AsInt(obj1
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 (arg1
)->SetRange(arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3753 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxGauge
*arg1
= (wxGauge
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3759 (char *) "self", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= SWIG_FromInt((int)result
);
3779 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxGauge
*arg1
= (wxGauge
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3786 (char *) "self",(char *) "pos", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3792 arg2
= (int) SWIG_AsInt(obj1
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 (arg1
)->SetValue(arg2
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxGauge
*arg1
= (wxGauge
*) 0 ;
3812 PyObject
* obj0
= 0 ;
3814 (char *) "self", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_FromInt((int)result
);
3834 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxGauge
*arg1
= (wxGauge
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3840 (char *) "self", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3860 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
;
3862 wxGauge
*arg1
= (wxGauge
*) 0 ;
3864 PyObject
* obj0
= 0 ;
3865 PyObject
* obj1
= 0 ;
3867 (char *) "self",(char *) "w", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3873 arg2
= (int) SWIG_AsInt(obj1
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 (arg1
)->SetShadowWidth(arg2
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 Py_INCREF(Py_None
); resultobj
= Py_None
;
3889 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxGauge
*arg1
= (wxGauge
*) 0 ;
3893 PyObject
* obj0
= 0 ;
3895 (char *) "self", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_FromInt((int)result
);
3915 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3917 wxGauge
*arg1
= (wxGauge
*) 0 ;
3919 PyObject
* obj0
= 0 ;
3920 PyObject
* obj1
= 0 ;
3922 (char *) "self",(char *) "w", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3928 arg2
= (int) SWIG_AsInt(obj1
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 (arg1
)->SetBezelFace(arg2
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 Py_INCREF(Py_None
); resultobj
= Py_None
;
3944 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxGauge
*arg1
= (wxGauge
*) 0 ;
3948 PyObject
* obj0
= 0 ;
3950 (char *) "self", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 resultobj
= SWIG_FromInt((int)result
);
3970 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
3972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3973 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3975 return Py_BuildValue((char *)"");
3977 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3978 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3983 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3988 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3990 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3997 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3998 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4003 static PyObject
*_wrap_StaticBoxNameStr_get() {
4008 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4010 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4017 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4018 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4023 static PyObject
*_wrap_StaticTextNameStr_get() {
4028 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4030 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4037 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxWindow
*arg1
= (wxWindow
*) 0 ;
4041 wxString
*arg3
= 0 ;
4042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4046 long arg6
= (long) 0 ;
4047 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4049 wxStaticBox
*result
;
4050 bool temp3
= False
;
4053 bool temp7
= False
;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4056 PyObject
* obj2
= 0 ;
4057 PyObject
* obj3
= 0 ;
4058 PyObject
* obj4
= 0 ;
4059 PyObject
* obj5
= 0 ;
4060 PyObject
* obj6
= 0 ;
4062 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4068 arg2
= (int) SWIG_AsInt(obj1
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 arg3
= wxString_in_helper(obj2
);
4072 if (arg3
== NULL
) SWIG_fail
;
4078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4088 arg6
= (long) SWIG_AsLong(obj5
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4093 arg7
= wxString_in_helper(obj6
);
4094 if (arg7
== NULL
) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= wxPyMake_wxObject(result
);
4130 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxStaticBox
*result
;
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxStaticBox
*)new wxStaticBox();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= wxPyMake_wxObject(result
);
4154 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4157 wxWindow
*arg2
= (wxWindow
*) 0 ;
4159 wxString
*arg4
= 0 ;
4160 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4161 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4162 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4163 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4164 long arg7
= (long) 0 ;
4165 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4166 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4168 bool temp4
= False
;
4171 bool temp8
= False
;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4174 PyObject
* obj2
= 0 ;
4175 PyObject
* obj3
= 0 ;
4176 PyObject
* obj4
= 0 ;
4177 PyObject
* obj5
= 0 ;
4178 PyObject
* obj6
= 0 ;
4179 PyObject
* obj7
= 0 ;
4181 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4189 arg3
= (int) SWIG_AsInt(obj2
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 arg4
= wxString_in_helper(obj3
);
4193 if (arg4
== NULL
) SWIG_fail
;
4199 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4205 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4209 arg7
= (long) SWIG_AsLong(obj6
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4214 arg8
= wxString_in_helper(obj7
);
4215 if (arg8
== NULL
) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4249 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4252 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4254 return Py_BuildValue((char *)"");
4256 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxWindow
*arg1
= (wxWindow
*) 0 ;
4260 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4261 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4262 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4263 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4264 long arg5
= (long) wxLI_HORIZONTAL
;
4265 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4266 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4267 wxStaticLine
*result
;
4270 bool temp6
= False
;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 PyObject
* obj2
= 0 ;
4274 PyObject
* obj3
= 0 ;
4275 PyObject
* obj4
= 0 ;
4276 PyObject
* obj5
= 0 ;
4278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4284 arg2
= (int) SWIG_AsInt(obj1
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4289 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4295 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4299 arg5
= (long) SWIG_AsLong(obj4
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4304 arg6
= wxString_in_helper(obj5
);
4305 if (arg6
== NULL
) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4331 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
;
4333 wxStaticLine
*result
;
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (wxStaticLine
*)new wxStaticLine();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4353 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4356 wxWindow
*arg2
= (wxWindow
*) 0 ;
4358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4362 long arg6
= (long) wxLI_HORIZONTAL
;
4363 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4364 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4368 bool temp7
= False
;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4371 PyObject
* obj2
= 0 ;
4372 PyObject
* obj3
= 0 ;
4373 PyObject
* obj4
= 0 ;
4374 PyObject
* obj5
= 0 ;
4375 PyObject
* obj6
= 0 ;
4377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4385 arg3
= (int) SWIG_AsInt(obj2
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4400 arg6
= (long) SWIG_AsLong(obj5
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4405 arg7
= wxString_in_helper(obj6
);
4406 if (arg7
== NULL
) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4432 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4434 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4436 PyObject
* obj0
= 0 ;
4438 (char *) "self", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4458 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 result
= (int)wxStaticLine::GetDefaultSize();
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_FromInt((int)result
);
4480 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
4482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4483 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4485 return Py_BuildValue((char *)"");
4487 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxWindow
*arg1
= (wxWindow
*) 0 ;
4491 wxString
*arg3
= 0 ;
4492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4496 long arg6
= (long) 0 ;
4497 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4498 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4499 wxStaticText
*result
;
4500 bool temp3
= False
;
4503 bool temp7
= False
;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4506 PyObject
* obj2
= 0 ;
4507 PyObject
* obj3
= 0 ;
4508 PyObject
* obj4
= 0 ;
4509 PyObject
* obj5
= 0 ;
4510 PyObject
* obj6
= 0 ;
4512 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 arg2
= (int) SWIG_AsInt(obj1
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 arg3
= wxString_in_helper(obj2
);
4522 if (arg3
== NULL
) SWIG_fail
;
4528 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4534 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4538 arg6
= (long) SWIG_AsLong(obj5
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4543 arg7
= wxString_in_helper(obj6
);
4544 if (arg7
== NULL
) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4578 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxStaticText
*result
;
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (wxStaticText
*)new wxStaticText();
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4600 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4603 wxWindow
*arg2
= (wxWindow
*) 0 ;
4605 wxString
*arg4
= 0 ;
4606 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4607 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4608 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4609 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4610 long arg7
= (long) 0 ;
4611 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4612 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4614 bool temp4
= False
;
4617 bool temp8
= False
;
4618 PyObject
* obj0
= 0 ;
4619 PyObject
* obj1
= 0 ;
4620 PyObject
* obj2
= 0 ;
4621 PyObject
* obj3
= 0 ;
4622 PyObject
* obj4
= 0 ;
4623 PyObject
* obj5
= 0 ;
4624 PyObject
* obj6
= 0 ;
4625 PyObject
* obj7
= 0 ;
4627 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4635 arg3
= (int) SWIG_AsInt(obj2
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 arg4
= wxString_in_helper(obj3
);
4639 if (arg4
== NULL
) SWIG_fail
;
4645 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4651 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4655 arg7
= (long) SWIG_AsLong(obj6
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4660 arg8
= wxString_in_helper(obj7
);
4661 if (arg8
== NULL
) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4695 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
4697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4698 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4700 return Py_BuildValue((char *)"");
4702 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxWindow
*arg1
= (wxWindow
*) 0 ;
4706 wxBitmap
*arg3
= 0 ;
4707 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4708 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4709 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4710 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4711 long arg6
= (long) 0 ;
4712 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4714 wxStaticBitmap
*result
;
4717 bool temp7
= False
;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4720 PyObject
* obj2
= 0 ;
4721 PyObject
* obj3
= 0 ;
4722 PyObject
* obj4
= 0 ;
4723 PyObject
* obj5
= 0 ;
4724 PyObject
* obj6
= 0 ;
4726 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4732 arg2
= (int) SWIG_AsInt(obj1
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4734 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4738 PyErr_SetString(PyExc_TypeError
,"null reference");
4744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4754 arg6
= (long) SWIG_AsLong(obj5
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4759 arg7
= wxString_in_helper(obj6
);
4760 if (arg7
== NULL
) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4786 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxStaticBitmap
*result
;
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4808 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4811 wxWindow
*arg2
= (wxWindow
*) 0 ;
4813 wxBitmap
*arg4
= 0 ;
4814 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4815 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4816 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4817 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4818 long arg7
= (long) 0 ;
4819 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4820 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4824 bool temp8
= False
;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4827 PyObject
* obj2
= 0 ;
4828 PyObject
* obj3
= 0 ;
4829 PyObject
* obj4
= 0 ;
4830 PyObject
* obj5
= 0 ;
4831 PyObject
* obj6
= 0 ;
4832 PyObject
* obj7
= 0 ;
4834 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4842 arg3
= (int) SWIG_AsInt(obj2
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4844 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4848 PyErr_SetString(PyExc_TypeError
,"null reference");
4854 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4860 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4864 arg7
= (long) SWIG_AsLong(obj6
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4869 arg8
= wxString_in_helper(obj7
);
4870 if (arg8
== NULL
) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4896 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (arg1
)->GetBitmap();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4916 wxBitmap
* resultptr
;
4917 resultptr
= new wxBitmap((wxBitmap
&) result
);
4918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4926 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4929 wxBitmap
*arg2
= 0 ;
4930 PyObject
* obj0
= 0 ;
4931 PyObject
* obj1
= 0 ;
4933 (char *) "self",(char *) "bitmap", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4943 PyErr_SetString(PyExc_TypeError
,"null reference");
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "self",(char *) "icon", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4977 PyErr_SetString(PyExc_TypeError
,"null reference");
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
4996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4997 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4999 return Py_BuildValue((char *)"");
5001 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5002 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5007 static PyObject
*_wrap_ListBoxNameStr_get() {
5012 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5014 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5021 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxWindow
*arg1
= (wxWindow
*) 0 ;
5025 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5026 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5027 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5028 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5029 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5030 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5031 long arg6
= (long) 0 ;
5032 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5033 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5034 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5035 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5039 bool temp5
= False
;
5040 bool temp8
= False
;
5041 PyObject
* obj0
= 0 ;
5042 PyObject
* obj1
= 0 ;
5043 PyObject
* obj2
= 0 ;
5044 PyObject
* obj3
= 0 ;
5045 PyObject
* obj4
= 0 ;
5046 PyObject
* obj5
= 0 ;
5047 PyObject
* obj6
= 0 ;
5048 PyObject
* obj7
= 0 ;
5050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5056 arg2
= (int) SWIG_AsInt(obj1
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5067 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5072 if (! PySequence_Check(obj4
)) {
5073 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5076 arg5
= new wxArrayString
;
5078 int i
, len
=PySequence_Length(obj4
);
5079 for (i
=0; i
<len
; i
++) {
5080 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5082 PyObject
* str
= PyObject_Unicode(item
);
5084 PyObject
* str
= PyObject_Str(item
);
5086 arg5
->Add(Py2wxString(str
));
5093 arg6
= (long) SWIG_AsLong(obj5
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5097 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5101 PyErr_SetString(PyExc_TypeError
,"null reference");
5107 arg8
= wxString_in_helper(obj7
);
5108 if (arg8
== NULL
) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5121 if (temp5
) delete arg5
;
5130 if (temp5
) delete arg5
;
5140 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (wxListBox
*)new wxListBox();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5162 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
*resultobj
;
5164 wxListBox
*arg1
= (wxListBox
*) 0 ;
5165 wxWindow
*arg2
= (wxWindow
*) 0 ;
5167 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5168 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5169 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5170 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5171 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5172 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5173 long arg7
= (long) 0 ;
5174 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5175 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5176 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5177 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5181 bool temp6
= False
;
5182 bool temp9
= False
;
5183 PyObject
* obj0
= 0 ;
5184 PyObject
* obj1
= 0 ;
5185 PyObject
* obj2
= 0 ;
5186 PyObject
* obj3
= 0 ;
5187 PyObject
* obj4
= 0 ;
5188 PyObject
* obj5
= 0 ;
5189 PyObject
* obj6
= 0 ;
5190 PyObject
* obj7
= 0 ;
5191 PyObject
* obj8
= 0 ;
5193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5201 arg3
= (int) SWIG_AsInt(obj2
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5206 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5212 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5217 if (! PySequence_Check(obj5
)) {
5218 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5221 arg6
= new wxArrayString
;
5223 int i
, len
=PySequence_Length(obj5
);
5224 for (i
=0; i
<len
; i
++) {
5225 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5227 PyObject
* str
= PyObject_Unicode(item
);
5229 PyObject
* str
= PyObject_Str(item
);
5231 arg6
->Add(Py2wxString(str
));
5238 arg7
= (long) SWIG_AsLong(obj6
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5242 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5246 PyErr_SetString(PyExc_TypeError
,"null reference");
5252 arg9
= wxString_in_helper(obj8
);
5253 if (arg9
== NULL
) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5266 if (temp6
) delete arg6
;
5275 if (temp6
) delete arg6
;
5285 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxListBox
*arg1
= (wxListBox
*) 0 ;
5288 wxString
*arg2
= 0 ;
5290 PyObject
*arg4
= (PyObject
*) NULL
;
5291 bool temp2
= False
;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5294 PyObject
* obj2
= 0 ;
5295 PyObject
* obj3
= 0 ;
5297 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 arg2
= wxString_in_helper(obj1
);
5305 if (arg2
== NULL
) SWIG_fail
;
5308 arg3
= (int) SWIG_AsInt(obj2
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 Py_INCREF(Py_None
); resultobj
= Py_None
;
5335 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxListBox
*arg1
= (wxListBox
*) 0 ;
5338 wxArrayString
*arg2
= 0 ;
5340 bool temp2
= False
;
5341 PyObject
* obj0
= 0 ;
5342 PyObject
* obj1
= 0 ;
5343 PyObject
* obj2
= 0 ;
5345 (char *) "self",(char *) "items",(char *) "pos", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 if (! PySequence_Check(obj1
)) {
5353 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5356 arg2
= new wxArrayString
;
5358 int i
, len
=PySequence_Length(obj1
);
5359 for (i
=0; i
<len
; i
++) {
5360 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5362 PyObject
* str
= PyObject_Unicode(item
);
5364 PyObject
* str
= PyObject_Str(item
);
5366 arg2
->Add(Py2wxString(str
));
5371 arg3
= (int) SWIG_AsInt(obj2
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 Py_INCREF(Py_None
); resultobj
= Py_None
;
5382 if (temp2
) delete arg2
;
5387 if (temp2
) delete arg2
;
5393 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxListBox
*arg1
= (wxListBox
*) 0 ;
5396 wxArrayString
*arg2
= 0 ;
5397 bool temp2
= False
;
5398 PyObject
* obj0
= 0 ;
5399 PyObject
* obj1
= 0 ;
5401 (char *) "self",(char *) "items", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5408 if (! PySequence_Check(obj1
)) {
5409 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5412 arg2
= new wxArrayString
;
5414 int i
, len
=PySequence_Length(obj1
);
5415 for (i
=0; i
<len
; i
++) {
5416 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5418 PyObject
* str
= PyObject_Unicode(item
);
5420 PyObject
* str
= PyObject_Str(item
);
5422 arg2
->Add(Py2wxString(str
));
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 (arg1
)->Set((wxArrayString
const &)*arg2
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 Py_INCREF(Py_None
); resultobj
= Py_None
;
5436 if (temp2
) delete arg2
;
5441 if (temp2
) delete arg2
;
5447 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxListBox
*arg1
= (wxListBox
*) 0 ;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5455 (char *) "self",(char *) "n", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5461 arg2
= (int) SWIG_AsInt(obj1
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5477 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxListBox
*arg1
= (wxListBox
*) 0 ;
5481 bool arg3
= (bool) True
;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5486 (char *) "self",(char *) "n",(char *) "select", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 arg2
= (int) SWIG_AsInt(obj1
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 arg3
= (bool) SWIG_AsBool(obj2
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 (arg1
)->SetSelection(arg2
,arg3
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 Py_INCREF(Py_None
); resultobj
= Py_None
;
5512 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
;
5514 wxListBox
*arg1
= (wxListBox
*) 0 ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5519 (char *) "self",(char *) "n", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 arg2
= (int) SWIG_AsInt(obj1
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 (arg1
)->Select(arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 Py_INCREF(Py_None
); resultobj
= Py_None
;
5541 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxListBox
*arg1
= (wxListBox
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5546 PyObject
* obj1
= 0 ;
5548 (char *) "self",(char *) "n", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5554 arg2
= (int) SWIG_AsInt(obj1
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->Deselect(arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxListBox
*arg1
= (wxListBox
*) 0 ;
5573 int arg2
= (int) -1 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "itemToLeaveSelected", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5584 arg2
= (int) SWIG_AsInt(obj1
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->DeselectAll(arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5601 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxListBox
*arg1
= (wxListBox
*) 0 ;
5604 wxString
*arg2
= 0 ;
5605 bool arg3
= (bool) True
;
5607 bool temp2
= False
;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5610 PyObject
* obj2
= 0 ;
5612 (char *) "self",(char *) "s",(char *) "select", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5619 arg2
= wxString_in_helper(obj1
);
5620 if (arg2
== NULL
) SWIG_fail
;
5624 arg3
= (bool) SWIG_AsBool(obj2
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5649 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxListBox
*arg1
= (wxListBox
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5655 (char *) "self", NULL
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5675 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxListBox
*arg1
= (wxListBox
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5682 (char *) "self",(char *) "n", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5688 arg2
= (int) SWIG_AsInt(obj1
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 (arg1
)->SetFirstItem(arg2
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 Py_INCREF(Py_None
); resultobj
= Py_None
;
5704 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxListBox
*arg1
= (wxListBox
*) 0 ;
5707 wxString
*arg2
= 0 ;
5708 bool temp2
= False
;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5712 (char *) "self",(char *) "s", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5719 arg2
= wxString_in_helper(obj1
);
5720 if (arg2
== NULL
) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxListBox
*arg1
= (wxListBox
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5752 (char *) "self",(char *) "n", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 arg2
= (int) SWIG_AsInt(obj1
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 (arg1
)->EnsureVisible(arg2
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 Py_INCREF(Py_None
); resultobj
= Py_None
;
5774 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxListBox
*arg1
= (wxListBox
*) 0 ;
5777 wxString
*arg2
= 0 ;
5778 bool temp2
= False
;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5782 (char *) "self",(char *) "s", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 arg2
= wxString_in_helper(obj1
);
5790 if (arg2
== NULL
) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 Py_INCREF(Py_None
); resultobj
= Py_None
;
5815 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxListBox
*arg1
= (wxListBox
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5821 (char *) "self", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5841 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxListBox
*arg1
= (wxListBox
*) 0 ;
5845 wxColour
*arg3
= 0 ;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 PyObject
* obj2
= 0 ;
5851 (char *) "self",(char *) "item",(char *) "c", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 arg2
= (int) SWIG_AsInt(obj1
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5861 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 Py_INCREF(Py_None
); resultobj
= Py_None
;
5877 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5879 wxListBox
*arg1
= (wxListBox
*) 0 ;
5881 wxColour
*arg3
= 0 ;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj1
= 0 ;
5885 PyObject
* obj2
= 0 ;
5887 (char *) "self",(char *) "item",(char *) "c", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5893 arg2
= (int) SWIG_AsInt(obj1
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5897 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 Py_INCREF(Py_None
); resultobj
= Py_None
;
5913 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxListBox
*arg1
= (wxListBox
*) 0 ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 PyObject
* obj2
= 0 ;
5922 (char *) "self",(char *) "item",(char *) "f", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5928 arg2
= (int) SWIG_AsInt(obj1
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5930 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5934 PyErr_SetString(PyExc_TypeError
,"null reference");
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
5953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5954 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5956 return Py_BuildValue((char *)"");
5958 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxWindow
*arg1
= (wxWindow
*) 0 ;
5962 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5963 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5964 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5965 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5966 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5967 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5968 long arg6
= (long) 0 ;
5969 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5970 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5971 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5972 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5973 wxCheckListBox
*result
;
5976 bool temp5
= False
;
5977 bool temp8
= False
;
5978 PyObject
* obj0
= 0 ;
5979 PyObject
* obj1
= 0 ;
5980 PyObject
* obj2
= 0 ;
5981 PyObject
* obj3
= 0 ;
5982 PyObject
* obj4
= 0 ;
5983 PyObject
* obj5
= 0 ;
5984 PyObject
* obj6
= 0 ;
5985 PyObject
* obj7
= 0 ;
5987 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 arg2
= (int) SWIG_AsInt(obj1
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5998 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6004 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6009 if (! PySequence_Check(obj4
)) {
6010 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6013 arg5
= new wxArrayString
;
6015 int i
, len
=PySequence_Length(obj4
);
6016 for (i
=0; i
<len
; i
++) {
6017 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6019 PyObject
* str
= PyObject_Unicode(item
);
6021 PyObject
* str
= PyObject_Str(item
);
6023 arg5
->Add(Py2wxString(str
));
6030 arg6
= (long) SWIG_AsLong(obj5
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6034 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6038 PyErr_SetString(PyExc_TypeError
,"null reference");
6044 arg8
= wxString_in_helper(obj7
);
6045 if (arg8
== NULL
) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6058 if (temp5
) delete arg5
;
6067 if (temp5
) delete arg5
;
6077 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
;
6079 wxCheckListBox
*result
;
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (wxCheckListBox
*)new wxCheckListBox();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6099 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6102 wxWindow
*arg2
= (wxWindow
*) 0 ;
6104 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6105 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6106 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6107 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6108 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6109 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6110 long arg7
= (long) 0 ;
6111 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6112 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6113 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6114 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6118 bool temp6
= False
;
6119 bool temp9
= False
;
6120 PyObject
* obj0
= 0 ;
6121 PyObject
* obj1
= 0 ;
6122 PyObject
* obj2
= 0 ;
6123 PyObject
* obj3
= 0 ;
6124 PyObject
* obj4
= 0 ;
6125 PyObject
* obj5
= 0 ;
6126 PyObject
* obj6
= 0 ;
6127 PyObject
* obj7
= 0 ;
6128 PyObject
* obj8
= 0 ;
6130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6138 arg3
= (int) SWIG_AsInt(obj2
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6143 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6149 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6154 if (! PySequence_Check(obj5
)) {
6155 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6158 arg6
= new wxArrayString
;
6160 int i
, len
=PySequence_Length(obj5
);
6161 for (i
=0; i
<len
; i
++) {
6162 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6164 PyObject
* str
= PyObject_Unicode(item
);
6166 PyObject
* str
= PyObject_Str(item
);
6168 arg6
->Add(Py2wxString(str
));
6175 arg7
= (long) SWIG_AsLong(obj6
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6183 PyErr_SetString(PyExc_TypeError
,"null reference");
6189 arg9
= wxString_in_helper(obj8
);
6190 if (arg9
== NULL
) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6203 if (temp6
) delete arg6
;
6212 if (temp6
) delete arg6
;
6222 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6230 (char *) "self",(char *) "index", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 arg2
= (int) SWIG_AsInt(obj1
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (bool)(arg1
)->IsChecked(arg2
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6252 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6256 int arg3
= (int) True
;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6259 PyObject
* obj2
= 0 ;
6261 (char *) "self",(char *) "index",(char *) "check", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6267 arg2
= (int) SWIG_AsInt(obj1
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 arg3
= (int) SWIG_AsInt(obj2
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 (arg1
)->Check(arg2
,arg3
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 Py_INCREF(Py_None
); resultobj
= Py_None
;
6287 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6296 (char *) "self",(char *) "pt", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_FromInt((int)result
);
6320 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6328 PyObject
* obj2
= 0 ;
6330 (char *) "self",(char *) "x",(char *) "y", NULL
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6336 arg2
= (int) SWIG_AsInt(obj1
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6338 arg3
= (int) SWIG_AsInt(obj2
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_FromInt((int)result
);
6354 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
6356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6357 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6359 return Py_BuildValue((char *)"");
6361 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6362 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6367 static PyObject
*_wrap_TextCtrlNameStr_get() {
6372 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6374 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6381 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*, PyObject
*args
) {
6382 PyObject
*resultobj
;
6385 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (wxTextAttr
*)new wxTextAttr();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6400 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*, PyObject
*args
) {
6401 PyObject
*resultobj
;
6402 wxColour
*arg1
= 0 ;
6403 wxColour
const &arg2_defvalue
= wxNullColour
;
6404 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6405 wxFont
const &arg3_defvalue
= wxNullFont
;
6406 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6407 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6413 PyObject
* obj2
= 0 ;
6414 PyObject
* obj3
= 0 ;
6416 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6419 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6428 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6432 PyErr_SetString(PyExc_TypeError
,"null reference");
6437 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6454 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6459 argc
= PyObject_Length(args
);
6460 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6461 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6464 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6466 if ((argc
>= 1) && (argc
<= 4)) {
6469 _v
= wxColour_typecheck(argv
[0]);
6473 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6476 _v
= wxColour_typecheck(argv
[1]);
6480 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6484 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6493 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6495 _v
= SWIG_CheckInt(argv
[3]);
6497 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6504 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6509 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "self", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 Py_INCREF(Py_None
); resultobj
= Py_None
;
6534 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6537 PyObject
* obj0
= 0 ;
6539 (char *) "self", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 Py_INCREF(Py_None
); resultobj
= Py_None
;
6559 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6562 wxColour
*arg2
= 0 ;
6564 PyObject
* obj0
= 0 ;
6565 PyObject
* obj1
= 0 ;
6567 (char *) "self",(char *) "colText", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6594 wxColour
*arg2
= 0 ;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6599 (char *) "self",(char *) "colBack", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 Py_INCREF(Py_None
); resultobj
= Py_None
;
6623 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6627 long arg3
= (long) wxTEXT_ATTR_FONT
;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6630 PyObject
* obj2
= 0 ;
6632 (char *) "self",(char *) "font",(char *) "flags", NULL
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6642 PyErr_SetString(PyExc_TypeError
,"null reference");
6646 arg3
= (long) SWIG_AsLong(obj2
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 Py_INCREF(Py_None
); resultobj
= Py_None
;
6663 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6670 (char *) "self",(char *) "alignment", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6676 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6695 wxArrayInt
*arg2
= 0 ;
6696 bool temp2
= False
;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6700 (char *) "self",(char *) "tabs", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6707 if (! PySequence_Check(obj1
)) {
6708 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6711 arg2
= new wxArrayInt
;
6713 int i
, len
=PySequence_Length(obj1
);
6714 for (i
=0; i
<len
; i
++) {
6715 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6716 PyObject
* number
= PyNumber_Int(item
);
6717 arg2
->Add(PyInt_AS_LONG(number
));
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 Py_INCREF(Py_None
); resultobj
= Py_None
;
6731 if (temp2
) delete arg2
;
6736 if (temp2
) delete arg2
;
6742 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6749 (char *) "self",(char *) "indent", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6755 arg2
= (int) SWIG_AsInt(obj1
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 (arg1
)->SetLeftIndent(arg2
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 Py_INCREF(Py_None
); resultobj
= Py_None
;
6771 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, 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_SetRightIndent",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
)->SetRightIndent(arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 Py_INCREF(Py_None
); resultobj
= Py_None
;
6800 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6807 (char *) "self",(char *) "flags", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",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
= (long) SWIG_AsLong(obj1
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->SetFlags(arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6835 (char *) "self", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6855 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6861 (char *) "self", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6881 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6887 (char *) "self", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6907 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6933 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6939 (char *) "self", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6959 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6963 PyObject
* obj0
= 0 ;
6965 (char *) "self", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6985 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6989 PyObject
* obj0
= 0 ;
6991 (char *) "self", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7011 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7019 (char *) "self",(char *) "flag", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7025 arg2
= (long) SWIG_AsLong(obj1
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7041 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7057 result
= (wxColour
*) &_result_ref
;
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7070 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, 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_GetBackgroundColour",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
)->GetBackgroundColour();
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_GetFont(PyObject
*, 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_GetFont",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 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7115 result
= (wxFont
*) &_result_ref
;
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
7128 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, 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_GetAlignment",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();
7142 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= SWIG_FromInt((int)result
);
7154 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7158 PyObject
* obj0
= 0 ;
7160 (char *) "self", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7170 result
= (wxArrayInt
*) &_result_ref
;
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= PyList_New(0);
7179 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7180 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7181 PyList_Append(resultobj
, val
);
7191 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7195 PyObject
* obj0
= 0 ;
7197 (char *) "self", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_FromLong((long)result
);
7217 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7221 PyObject
* obj0
= 0 ;
7223 (char *) "self", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= SWIG_FromLong((long)result
);
7243 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7249 (char *) "self", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 resultobj
= SWIG_FromLong((long)result
);
7269 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "self", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7295 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxTextAttr
*arg1
= 0 ;
7298 wxTextAttr
*arg2
= 0 ;
7299 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7301 PyObject
* obj0
= 0 ;
7302 PyObject
* obj1
= 0 ;
7303 PyObject
* obj2
= 0 ;
7305 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7313 PyErr_SetString(PyExc_TypeError
,"null reference");
7316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7320 PyErr_SetString(PyExc_TypeError
,"null reference");
7323 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 wxTextAttr
* resultptr
;
7334 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7343 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
7345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7346 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7348 return Py_BuildValue((char *)"");
7350 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
;
7352 wxWindow
*arg1
= (wxWindow
*) 0 ;
7354 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7355 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7360 long arg6
= (long) 0 ;
7361 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7362 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7363 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7364 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7366 bool temp3
= False
;
7369 bool temp8
= False
;
7370 PyObject
* obj0
= 0 ;
7371 PyObject
* obj1
= 0 ;
7372 PyObject
* obj2
= 0 ;
7373 PyObject
* obj3
= 0 ;
7374 PyObject
* obj4
= 0 ;
7375 PyObject
* obj5
= 0 ;
7376 PyObject
* obj6
= 0 ;
7377 PyObject
* obj7
= 0 ;
7379 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7385 arg2
= (int) SWIG_AsInt(obj1
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7389 arg3
= wxString_in_helper(obj2
);
7390 if (arg3
== NULL
) SWIG_fail
;
7397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7407 arg6
= (long) SWIG_AsLong(obj5
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7411 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7415 PyErr_SetString(PyExc_TypeError
,"null reference");
7421 arg8
= wxString_in_helper(obj7
);
7422 if (arg8
== NULL
) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= wxPyMake_wxObject(result
);
7458 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 result
= (wxTextCtrl
*)new wxTextCtrl();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= wxPyMake_wxObject(result
);
7482 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7485 wxWindow
*arg2
= (wxWindow
*) 0 ;
7487 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7488 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7489 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7490 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7491 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7492 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7493 long arg7
= (long) 0 ;
7494 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7495 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7496 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7497 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7499 bool temp4
= False
;
7502 bool temp9
= False
;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7505 PyObject
* obj2
= 0 ;
7506 PyObject
* obj3
= 0 ;
7507 PyObject
* obj4
= 0 ;
7508 PyObject
* obj5
= 0 ;
7509 PyObject
* obj6
= 0 ;
7510 PyObject
* obj7
= 0 ;
7511 PyObject
* obj8
= 0 ;
7513 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7521 arg3
= (int) SWIG_AsInt(obj2
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7525 arg4
= wxString_in_helper(obj3
);
7526 if (arg4
== NULL
) SWIG_fail
;
7533 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7539 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7543 arg7
= (long) SWIG_AsLong(obj6
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7551 PyErr_SetString(PyExc_TypeError
,"null reference");
7557 arg9
= wxString_in_helper(obj8
);
7558 if (arg9
== NULL
) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7592 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7598 (char *) "self", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7624 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7627 wxString
*arg2
= 0 ;
7628 bool temp2
= False
;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7632 (char *) "self",(char *) "value", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7639 arg2
= wxString_in_helper(obj1
);
7640 if (arg2
== NULL
) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 (arg1
)->SetValue((wxString
const &)*arg2
);
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 Py_INCREF(Py_None
); resultobj
= Py_None
;
7665 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7672 PyObject
* obj1
= 0 ;
7673 PyObject
* obj2
= 0 ;
7675 (char *) "self",(char *) "from",(char *) "to", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7681 arg2
= (long) SWIG_AsLong(obj1
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7683 arg3
= (long) SWIG_AsLong(obj2
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7705 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7711 PyObject
* obj1
= 0 ;
7713 (char *) "self",(char *) "lineNo", NULL
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7719 arg2
= (long) SWIG_AsLong(obj1
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_FromInt((int)result
);
7735 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7741 PyObject
* obj1
= 0 ;
7743 (char *) "self",(char *) "lineNo", NULL
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7749 arg2
= (long) SWIG_AsLong(obj1
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7771 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7777 (char *) "self", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_FromInt((int)result
);
7797 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7823 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7829 (char *) "self", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7849 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7855 (char *) "self", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7875 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7901 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7904 long *arg2
= (long *) 0 ;
7905 long *arg3
= (long *) 0 ;
7908 PyObject
* obj0
= 0 ;
7910 (char *) "self", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7928 resultobj
= t_output_helper(resultobj
,o
);
7931 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7932 resultobj
= t_output_helper(resultobj
,o
);
7940 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7946 (char *) "self", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7972 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7975 PyObject
* obj0
= 0 ;
7977 (char *) "self", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 Py_INCREF(Py_None
); resultobj
= Py_None
;
7997 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8002 wxString
*arg4
= 0 ;
8003 bool temp4
= False
;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8007 PyObject
* obj3
= 0 ;
8009 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 arg2
= (long) SWIG_AsLong(obj1
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8017 arg3
= (long) SWIG_AsLong(obj2
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 arg4
= wxString_in_helper(obj3
);
8021 if (arg4
== NULL
) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 Py_INCREF(Py_None
); resultobj
= Py_None
;
8046 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8053 PyObject
* obj2
= 0 ;
8055 (char *) "self",(char *) "from",(char *) "to", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8061 arg2
= (long) SWIG_AsLong(obj1
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8063 arg3
= (long) SWIG_AsLong(obj2
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 (arg1
)->Remove(arg2
,arg3
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 Py_INCREF(Py_None
); resultobj
= Py_None
;
8079 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8082 wxString
*arg2
= 0 ;
8084 bool temp2
= False
;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8088 (char *) "self",(char *) "file", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 arg2
= wxString_in_helper(obj1
);
8096 if (arg2
== NULL
) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8121 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8124 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8125 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8127 bool temp2
= False
;
8128 PyObject
* obj0
= 0 ;
8129 PyObject
* obj1
= 0 ;
8131 (char *) "self",(char *) "file", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8139 arg2
= wxString_in_helper(obj1
);
8140 if (arg2
== NULL
) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8166 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8169 PyObject
* obj0
= 0 ;
8171 (char *) "self", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 (arg1
)->MarkDirty();
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 Py_INCREF(Py_None
); resultobj
= Py_None
;
8191 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8196 (char *) "self", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 (arg1
)->DiscardEdits();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 Py_INCREF(Py_None
); resultobj
= Py_None
;
8216 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8219 unsigned long arg2
;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8223 (char *) "self",(char *) "len", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8229 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 (arg1
)->SetMaxLength(arg2
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 Py_INCREF(Py_None
); resultobj
= Py_None
;
8245 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8248 wxString
*arg2
= 0 ;
8249 bool temp2
= False
;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8253 (char *) "self",(char *) "text", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8260 arg2
= wxString_in_helper(obj1
);
8261 if (arg2
== NULL
) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 (arg1
)->WriteText((wxString
const &)*arg2
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 Py_INCREF(Py_None
); resultobj
= Py_None
;
8286 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8289 wxString
*arg2
= 0 ;
8290 bool temp2
= False
;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8294 (char *) "self",(char *) "text", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8301 arg2
= wxString_in_helper(obj1
);
8302 if (arg2
== NULL
) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 (arg1
)->AppendText((wxString
const &)*arg2
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8330 wxKeyEvent
*arg2
= 0 ;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8335 (char *) "self",(char *) "event", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8345 PyErr_SetString(PyExc_TypeError
,"null reference");
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8362 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8367 wxTextAttr
*arg4
= 0 ;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8371 PyObject
* obj2
= 0 ;
8372 PyObject
* obj3
= 0 ;
8374 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8380 arg2
= (long) SWIG_AsLong(obj1
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8382 arg3
= (long) SWIG_AsLong(obj2
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8384 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8388 PyErr_SetString(PyExc_TypeError
,"null reference");
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8405 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8409 wxTextAttr
*arg3
= 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 PyObject
* obj2
= 0 ;
8415 (char *) "self",(char *) "position",(char *) "style", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8421 arg2
= (long) SWIG_AsLong(obj1
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8423 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8427 PyErr_SetString(PyExc_TypeError
,"null reference");
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8444 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
;
8446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8447 wxTextAttr
*arg2
= 0 ;
8449 PyObject
* obj0
= 0 ;
8450 PyObject
* obj1
= 0 ;
8452 (char *) "self",(char *) "style", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8462 PyErr_SetString(PyExc_TypeError
,"null reference");
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8479 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8483 PyObject
* obj0
= 0 ;
8485 (char *) "self", NULL
8488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8495 result
= (wxTextAttr
*) &_result_ref
;
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8508 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8514 PyObject
* obj0
= 0 ;
8515 PyObject
* obj1
= 0 ;
8516 PyObject
* obj2
= 0 ;
8518 (char *) "self",(char *) "x",(char *) "y", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8524 arg2
= (long) SWIG_AsLong(obj1
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8526 arg3
= (long) SWIG_AsLong(obj2
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= SWIG_FromLong((long)result
);
8542 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8546 long *arg3
= (long *) 0 ;
8547 long *arg4
= (long *) 0 ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8553 (char *) "self",(char *) "pos", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 arg2
= (long) SWIG_AsLong(obj1
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 Py_INCREF(Py_None
); resultobj
= Py_None
;
8572 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8573 resultobj
= t_output_helper(resultobj
,o
);
8576 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8577 resultobj
= t_output_helper(resultobj
,o
);
8585 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
;
8587 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8592 (char *) "self",(char *) "pos", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8598 arg2
= (long) SWIG_AsLong(obj1
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 (arg1
)->ShowPosition(arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 Py_INCREF(Py_None
); resultobj
= Py_None
;
8614 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8618 long *arg3
= (long *) 0 ;
8619 long *arg4
= (long *) 0 ;
8624 PyObject
* obj0
= 0 ;
8625 PyObject
* obj1
= 0 ;
8627 (char *) "self",(char *) "pt", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8637 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_FromInt((int)result
);
8648 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8649 resultobj
= t_output_helper(resultobj
,o
);
8652 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8653 resultobj
= t_output_helper(resultobj
,o
);
8661 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8689 PyObject
* obj0
= 0 ;
8691 (char *) "self", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 Py_INCREF(Py_None
); resultobj
= Py_None
;
8711 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8714 PyObject
* obj0
= 0 ;
8716 (char *) "self", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8742 (char *) "self", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8762 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8766 PyObject
* obj0
= 0 ;
8768 (char *) "self", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8788 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8792 PyObject
* obj0
= 0 ;
8794 (char *) "self", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8814 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8817 PyObject
* obj0
= 0 ;
8819 (char *) "self", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8839 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8842 PyObject
* obj0
= 0 ;
8844 (char *) "self", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 Py_INCREF(Py_None
); resultobj
= Py_None
;
8864 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8890 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8916 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8923 (char *) "self",(char *) "pos", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 arg2
= (long) SWIG_AsLong(obj1
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->SetInsertionPoint(arg2
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 (arg1
)->SetInsertionPointEnd();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8976 (char *) "self", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= SWIG_FromLong((long)result
);
8996 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9000 PyObject
* obj0
= 0 ;
9002 (char *) "self", NULL
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_FromLong((long)result
);
9022 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9029 PyObject
* obj2
= 0 ;
9031 (char *) "self",(char *) "from",(char *) "to", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9037 arg2
= (long) SWIG_AsLong(obj1
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9039 arg3
= (long) SWIG_AsLong(obj2
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 (arg1
)->SetSelection(arg2
,arg3
);
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 Py_INCREF(Py_None
); resultobj
= Py_None
;
9055 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9060 (char *) "self", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->SelectAll();
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9087 (char *) "self",(char *) "editable", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 arg2
= (bool) SWIG_AsBool(obj1
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 (arg1
)->SetEditable(arg2
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 Py_INCREF(Py_None
); resultobj
= Py_None
;
9109 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9112 wxString
*arg2
= 0 ;
9113 bool temp2
= False
;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9117 (char *) "self",(char *) "text", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9124 arg2
= wxString_in_helper(obj1
);
9125 if (arg2
== NULL
) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 Py_INCREF(Py_None
); resultobj
= Py_None
;
9150 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9158 PyObject
* obj2
= 0 ;
9160 (char *) "self",(char *) "from",(char *) "to", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9166 arg2
= (long) SWIG_AsLong(obj1
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9168 arg3
= (long) SWIG_AsLong(obj2
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9190 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9193 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9195 return Py_BuildValue((char *)"");
9197 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9200 wxMouseEvent
*arg2
= 0 ;
9203 wxTextUrlEvent
*result
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9207 PyObject
* obj3
= 0 ;
9209 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9213 arg1
= (int) SWIG_AsInt(obj0
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9219 PyErr_SetString(PyExc_TypeError
,"null reference");
9222 arg3
= (long) SWIG_AsLong(obj2
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9224 arg4
= (long) SWIG_AsLong(obj3
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9240 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9243 wxMouseEvent
*result
;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9256 result
= (wxMouseEvent
*) &_result_ref
;
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9269 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_FromLong((long)result
);
9295 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= SWIG_FromLong((long)result
);
9321 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
9323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9324 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9326 return Py_BuildValue((char *)"");
9328 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9329 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9334 static PyObject
*_wrap_ScrollBarNameStr_get() {
9339 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9341 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9348 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxWindow
*arg1
= (wxWindow
*) 0 ;
9351 int arg2
= (int) -1 ;
9352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9356 long arg5
= (long) wxSB_HORIZONTAL
;
9357 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9358 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9359 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9361 wxScrollBar
*result
;
9364 bool temp7
= False
;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 PyObject
* obj2
= 0 ;
9368 PyObject
* obj3
= 0 ;
9369 PyObject
* obj4
= 0 ;
9370 PyObject
* obj5
= 0 ;
9371 PyObject
* obj6
= 0 ;
9373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9380 arg2
= (int) SWIG_AsInt(obj1
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9392 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9396 arg5
= (long) SWIG_AsLong(obj4
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9400 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9404 PyErr_SetString(PyExc_TypeError
,"null reference");
9410 arg7
= wxString_in_helper(obj6
);
9411 if (arg7
== NULL
) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9437 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
;
9439 wxScrollBar
*result
;
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (wxScrollBar
*)new wxScrollBar();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9459 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9462 wxWindow
*arg2
= (wxWindow
*) 0 ;
9463 int arg3
= (int) -1 ;
9464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9468 long arg6
= (long) wxSB_HORIZONTAL
;
9469 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9470 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9471 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9472 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9476 bool temp8
= False
;
9477 PyObject
* obj0
= 0 ;
9478 PyObject
* obj1
= 0 ;
9479 PyObject
* obj2
= 0 ;
9480 PyObject
* obj3
= 0 ;
9481 PyObject
* obj4
= 0 ;
9482 PyObject
* obj5
= 0 ;
9483 PyObject
* obj6
= 0 ;
9484 PyObject
* obj7
= 0 ;
9486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9495 arg3
= (int) SWIG_AsInt(obj2
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9511 arg6
= (long) SWIG_AsLong(obj5
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9515 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9519 PyErr_SetString(PyExc_TypeError
,"null reference");
9525 arg8
= wxString_in_helper(obj7
);
9526 if (arg8
== NULL
) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9552 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9556 PyObject
* obj0
= 0 ;
9558 (char *) "self", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_FromInt((int)result
);
9578 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9582 PyObject
* obj0
= 0 ;
9584 (char *) "self", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= SWIG_FromInt((int)result
);
9604 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9610 (char *) "self", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_FromInt((int)result
);
9630 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9634 PyObject
* obj0
= 0 ;
9636 (char *) "self", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= SWIG_FromInt((int)result
);
9656 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9662 (char *) "self", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9682 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
;
9684 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9687 PyObject
* obj1
= 0 ;
9689 (char *) "self",(char *) "viewStart", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9695 arg2
= (int) SWIG_AsInt(obj1
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 (arg1
)->SetThumbPosition(arg2
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 Py_INCREF(Py_None
); resultobj
= Py_None
;
9711 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9718 bool arg6
= (bool) True
;
9719 PyObject
* obj0
= 0 ;
9720 PyObject
* obj1
= 0 ;
9721 PyObject
* obj2
= 0 ;
9722 PyObject
* obj3
= 0 ;
9723 PyObject
* obj4
= 0 ;
9724 PyObject
* obj5
= 0 ;
9726 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9732 arg2
= (int) SWIG_AsInt(obj1
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9734 arg3
= (int) SWIG_AsInt(obj2
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9736 arg4
= (int) SWIG_AsInt(obj3
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9738 arg5
= (int) SWIG_AsInt(obj4
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 arg6
= (bool) SWIG_AsBool(obj5
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 Py_INCREF(Py_None
); resultobj
= Py_None
;
9758 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
9760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9761 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9763 return Py_BuildValue((char *)"");
9765 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9766 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9771 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9776 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9778 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9785 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9786 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9791 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9796 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9798 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9805 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxWindow
*arg1
= (wxWindow
*) 0 ;
9808 int arg2
= (int) -1 ;
9809 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9810 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9811 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9812 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9813 long arg5
= (long) wxSP_HORIZONTAL
;
9814 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9815 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9816 wxSpinButton
*result
;
9819 bool temp6
= False
;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9822 PyObject
* obj2
= 0 ;
9823 PyObject
* obj3
= 0 ;
9824 PyObject
* obj4
= 0 ;
9825 PyObject
* obj5
= 0 ;
9827 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9834 arg2
= (int) SWIG_AsInt(obj1
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9840 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9846 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9850 arg5
= (long) SWIG_AsLong(obj4
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9855 arg6
= wxString_in_helper(obj5
);
9856 if (arg6
== NULL
) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9882 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxSpinButton
*result
;
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= (wxSpinButton
*)new wxSpinButton();
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9904 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9907 wxWindow
*arg2
= (wxWindow
*) 0 ;
9908 int arg3
= (int) -1 ;
9909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9913 long arg6
= (long) wxSP_HORIZONTAL
;
9914 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9915 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9919 bool temp7
= False
;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9922 PyObject
* obj2
= 0 ;
9923 PyObject
* obj3
= 0 ;
9924 PyObject
* obj4
= 0 ;
9925 PyObject
* obj5
= 0 ;
9926 PyObject
* obj6
= 0 ;
9928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
9933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9937 arg3
= (int) SWIG_AsInt(obj2
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9943 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9949 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9953 arg6
= (long) SWIG_AsLong(obj5
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9958 arg7
= wxString_in_helper(obj6
);
9959 if (arg7
== NULL
) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9985 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_FromInt((int)result
);
10011 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10015 PyObject
* obj0
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= SWIG_FromInt((int)result
);
10037 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= SWIG_FromInt((int)result
);
10063 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "val", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10076 arg2
= (int) SWIG_AsInt(obj1
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 (arg1
)->SetValue(arg2
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 Py_INCREF(Py_None
); resultobj
= Py_None
;
10092 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self",(char *) "minVal", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10105 arg2
= (int) SWIG_AsInt(obj1
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 (arg1
)->SetMin(arg2
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 Py_INCREF(Py_None
); resultobj
= Py_None
;
10121 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self",(char *) "maxVal", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10134 arg2
= (int) SWIG_AsInt(obj1
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 (arg1
)->SetMax(arg2
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 Py_INCREF(Py_None
); resultobj
= Py_None
;
10150 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 PyObject
* obj1
= 0 ;
10157 PyObject
* obj2
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10165 arg2
= (int) SWIG_AsInt(obj1
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10167 arg3
= (int) SWIG_AsInt(obj2
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 (arg1
)->SetRange(arg2
,arg3
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 Py_INCREF(Py_None
); resultobj
= Py_None
;
10183 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10187 PyObject
* obj0
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10209 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
10211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10212 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10214 return Py_BuildValue((char *)"");
10216 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxWindow
*arg1
= (wxWindow
*) 0 ;
10219 int arg2
= (int) -1 ;
10220 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10221 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10226 long arg6
= (long) wxSP_ARROW_KEYS
;
10227 int arg7
= (int) 0 ;
10228 int arg8
= (int) 100 ;
10229 int arg9
= (int) 0 ;
10230 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10231 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10232 wxSpinCtrl
*result
;
10233 bool temp3
= False
;
10236 bool temp10
= False
;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 PyObject
* obj2
= 0 ;
10240 PyObject
* obj3
= 0 ;
10241 PyObject
* obj4
= 0 ;
10242 PyObject
* obj5
= 0 ;
10243 PyObject
* obj6
= 0 ;
10244 PyObject
* obj7
= 0 ;
10245 PyObject
* obj8
= 0 ;
10246 PyObject
* obj9
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10255 arg2
= (int) SWIG_AsInt(obj1
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10260 arg3
= wxString_in_helper(obj2
);
10261 if (arg3
== NULL
) SWIG_fail
;
10268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10278 arg6
= (long) SWIG_AsLong(obj5
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 arg7
= (int) SWIG_AsInt(obj6
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10286 arg8
= (int) SWIG_AsInt(obj7
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 arg9
= (int) SWIG_AsInt(obj8
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10295 arg10
= wxString_in_helper(obj9
);
10296 if (arg10
== NULL
) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10330 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxSpinCtrl
*result
;
10333 char *kwnames
[] = {
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10352 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10355 wxWindow
*arg2
= (wxWindow
*) 0 ;
10356 int arg3
= (int) -1 ;
10357 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10358 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10359 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10360 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10361 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10362 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10363 long arg7
= (long) wxSP_ARROW_KEYS
;
10364 int arg8
= (int) 0 ;
10365 int arg9
= (int) 100 ;
10366 int arg10
= (int) 0 ;
10367 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10368 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10370 bool temp4
= False
;
10373 bool temp11
= False
;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 PyObject
* obj2
= 0 ;
10377 PyObject
* obj3
= 0 ;
10378 PyObject
* obj4
= 0 ;
10379 PyObject
* obj5
= 0 ;
10380 PyObject
* obj6
= 0 ;
10381 PyObject
* obj7
= 0 ;
10382 PyObject
* obj8
= 0 ;
10383 PyObject
* obj9
= 0 ;
10384 PyObject
* obj10
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10395 arg3
= (int) SWIG_AsInt(obj2
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10400 arg4
= wxString_in_helper(obj3
);
10401 if (arg4
== NULL
) SWIG_fail
;
10408 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10414 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10418 arg7
= (long) SWIG_AsLong(obj6
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 arg8
= (int) SWIG_AsInt(obj7
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10426 arg9
= (int) SWIG_AsInt(obj8
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10430 arg10
= (int) SWIG_AsInt(obj9
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10435 arg11
= wxString_in_helper(obj10
);
10436 if (arg11
== NULL
) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10470 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10474 PyObject
* obj0
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 resultobj
= SWIG_FromInt((int)result
);
10496 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
*resultobj
;
10498 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10500 PyObject
* obj0
= 0 ;
10501 PyObject
* obj1
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "self",(char *) "value", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10509 arg2
= (int) SWIG_AsInt(obj1
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->SetValue(arg2
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10528 wxString
*arg2
= 0 ;
10529 bool temp2
= False
;
10530 PyObject
* obj0
= 0 ;
10531 PyObject
* obj1
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self",(char *) "text", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10540 arg2
= wxString_in_helper(obj1
);
10541 if (arg2
== NULL
) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 (arg1
)->SetValue((wxString
const &)*arg2
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10566 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 PyObject
* obj2
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10581 arg2
= (int) SWIG_AsInt(obj1
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10583 arg3
= (int) SWIG_AsInt(obj2
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 (arg1
)->SetRange(arg2
,arg3
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= SWIG_FromInt((int)result
);
10625 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10629 PyObject
* obj0
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_FromInt((int)result
);
10651 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 PyObject
* obj2
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self",(char *) "from",(char *) "to", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 arg2
= (long) SWIG_AsLong(obj1
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10668 arg3
= (long) SWIG_AsLong(obj2
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 (arg1
)->SetSelection(arg2
,arg3
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 Py_INCREF(Py_None
); resultobj
= Py_None
;
10684 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
10686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10687 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10689 return Py_BuildValue((char *)"");
10691 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10694 int arg2
= (int) 0 ;
10695 wxSpinEvent
*result
;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "commandType",(char *) "winid", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10704 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10708 arg2
= (int) SWIG_AsInt(obj1
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10725 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= SWIG_FromInt((int)result
);
10751 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10755 PyObject
* obj0
= 0 ;
10756 PyObject
* obj1
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self",(char *) "pos", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10764 arg2
= (int) SWIG_AsInt(obj1
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->SetPosition(arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 Py_INCREF(Py_None
); resultobj
= Py_None
;
10780 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
10782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10783 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10785 return Py_BuildValue((char *)"");
10787 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10788 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10793 static PyObject
*_wrap_RadioBoxNameStr_get() {
10798 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10800 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10807 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10808 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10813 static PyObject
*_wrap_RadioButtonNameStr_get() {
10818 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10820 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10827 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxWindow
*arg1
= (wxWindow
*) 0 ;
10831 wxString
*arg3
= 0 ;
10832 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10833 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10834 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10835 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10836 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10837 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10838 int arg7
= (int) 0 ;
10839 long arg8
= (long) wxRA_HORIZONTAL
;
10840 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10841 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10842 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10843 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10844 wxRadioBox
*result
;
10845 bool temp3
= False
;
10848 bool temp6
= False
;
10849 bool temp10
= False
;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 PyObject
* obj2
= 0 ;
10853 PyObject
* obj3
= 0 ;
10854 PyObject
* obj4
= 0 ;
10855 PyObject
* obj5
= 0 ;
10856 PyObject
* obj6
= 0 ;
10857 PyObject
* obj7
= 0 ;
10858 PyObject
* obj8
= 0 ;
10859 PyObject
* obj9
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10867 arg2
= (int) SWIG_AsInt(obj1
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 arg3
= wxString_in_helper(obj2
);
10871 if (arg3
== NULL
) SWIG_fail
;
10877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10888 if (! PySequence_Check(obj5
)) {
10889 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10892 arg6
= new wxArrayString
;
10894 int i
, len
=PySequence_Length(obj5
);
10895 for (i
=0; i
<len
; i
++) {
10896 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10898 PyObject
* str
= PyObject_Unicode(item
);
10900 PyObject
* str
= PyObject_Str(item
);
10902 arg6
->Add(Py2wxString(str
));
10909 arg7
= (int) SWIG_AsInt(obj6
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 arg8
= (long) SWIG_AsLong(obj7
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10917 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
10918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10920 if (arg9
== NULL
) {
10921 PyErr_SetString(PyExc_TypeError
,"null reference");
10927 arg10
= wxString_in_helper(obj9
);
10928 if (arg10
== NULL
) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 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
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
10945 if (temp6
) delete arg6
;
10958 if (temp6
) delete arg6
;
10968 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxRadioBox
*result
;
10971 char *kwnames
[] = {
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (wxRadioBox
*)new wxRadioBox();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
10990 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10993 wxWindow
*arg2
= (wxWindow
*) 0 ;
10995 wxString
*arg4
= 0 ;
10996 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10997 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10998 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10999 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11000 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11001 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11002 int arg8
= (int) 0 ;
11003 long arg9
= (long) wxRA_HORIZONTAL
;
11004 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11005 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11006 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11007 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11009 bool temp4
= False
;
11012 bool temp7
= False
;
11013 bool temp11
= False
;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 PyObject
* obj2
= 0 ;
11017 PyObject
* obj3
= 0 ;
11018 PyObject
* obj4
= 0 ;
11019 PyObject
* obj5
= 0 ;
11020 PyObject
* obj6
= 0 ;
11021 PyObject
* obj7
= 0 ;
11022 PyObject
* obj8
= 0 ;
11023 PyObject
* obj9
= 0 ;
11024 PyObject
* obj10
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11034 arg3
= (int) SWIG_AsInt(obj2
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11037 arg4
= wxString_in_helper(obj3
);
11038 if (arg4
== NULL
) SWIG_fail
;
11044 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11050 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11055 if (! PySequence_Check(obj6
)) {
11056 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11059 arg7
= new wxArrayString
;
11061 int i
, len
=PySequence_Length(obj6
);
11062 for (i
=0; i
<len
; i
++) {
11063 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11065 PyObject
* str
= PyObject_Unicode(item
);
11067 PyObject
* str
= PyObject_Str(item
);
11069 arg7
->Add(Py2wxString(str
));
11076 arg8
= (int) SWIG_AsInt(obj7
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 arg9
= (long) SWIG_AsLong(obj8
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11084 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11087 if (arg10
== NULL
) {
11088 PyErr_SetString(PyExc_TypeError
,"null reference");
11094 arg11
= wxString_in_helper(obj10
);
11095 if (arg11
== NULL
) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 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
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11112 if (temp7
) delete arg7
;
11125 if (temp7
) delete arg7
;
11135 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self",(char *) "n", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11148 arg2
= (int) SWIG_AsInt(obj1
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 (arg1
)->SetSelection(arg2
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 Py_INCREF(Py_None
); resultobj
= Py_None
;
11164 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= SWIG_FromInt((int)result
);
11190 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11222 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11225 wxString
*arg2
= 0 ;
11227 bool temp2
= False
;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "self",(char *) "s", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11238 arg2
= wxString_in_helper(obj1
);
11239 if (arg2
== NULL
) SWIG_fail
;
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11264 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
;
11266 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= SWIG_FromInt((int)result
);
11290 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11293 wxString
*arg2
= 0 ;
11295 bool temp2
= False
;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "s", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11306 arg2
= wxString_in_helper(obj1
);
11307 if (arg2
== NULL
) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= SWIG_FromInt((int)result
);
11332 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self",(char *) "n", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11346 arg2
= (int) SWIG_AsInt(obj1
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11368 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11372 wxString
*arg3
= 0 ;
11373 bool temp3
= False
;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 PyObject
* obj2
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "n",(char *) "label", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11384 arg2
= (int) SWIG_AsInt(obj1
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 arg3
= wxString_in_helper(obj2
);
11388 if (arg3
== NULL
) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 Py_INCREF(Py_None
); resultobj
= Py_None
;
11413 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11417 bool arg3
= (bool) True
;
11418 PyObject
* obj0
= 0 ;
11419 PyObject
* obj1
= 0 ;
11420 PyObject
* obj2
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self",(char *) "n",(char *) "enable", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11428 arg2
= (int) SWIG_AsInt(obj1
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 arg3
= (bool) SWIG_AsBool(obj2
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 (arg1
)->Enable(arg2
,arg3
);
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 Py_INCREF(Py_None
); resultobj
= Py_None
;
11448 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11452 bool arg3
= (bool) True
;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 PyObject
* obj2
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "n",(char *) "show", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11463 arg2
= (int) SWIG_AsInt(obj1
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 arg3
= (bool) SWIG_AsBool(obj2
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 (arg1
)->Show(arg2
,arg3
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 Py_INCREF(Py_None
); resultobj
= Py_None
;
11483 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 resultobj
= SWIG_FromInt((int)result
);
11509 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11513 PyObject
* obj0
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "self", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_FromInt((int)result
);
11535 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11542 PyObject
* obj0
= 0 ;
11543 PyObject
* obj1
= 0 ;
11544 PyObject
* obj2
= 0 ;
11545 PyObject
* obj3
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
11555 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11557 arg4
= (long) SWIG_AsLong(obj3
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_FromInt((int)result
);
11573 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
11575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11576 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11578 return Py_BuildValue((char *)"");
11580 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxWindow
*arg1
= (wxWindow
*) 0 ;
11584 wxString
*arg3
= 0 ;
11585 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11586 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11587 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11588 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11589 long arg6
= (long) 0 ;
11590 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11591 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11592 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11593 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11594 wxRadioButton
*result
;
11595 bool temp3
= False
;
11598 bool temp8
= False
;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 PyObject
* obj2
= 0 ;
11602 PyObject
* obj3
= 0 ;
11603 PyObject
* obj4
= 0 ;
11604 PyObject
* obj5
= 0 ;
11605 PyObject
* obj6
= 0 ;
11606 PyObject
* obj7
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11614 arg2
= (int) SWIG_AsInt(obj1
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 arg3
= wxString_in_helper(obj2
);
11618 if (arg3
== NULL
) SWIG_fail
;
11624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11634 arg6
= (long) SWIG_AsLong(obj5
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11638 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11641 if (arg7
== NULL
) {
11642 PyErr_SetString(PyExc_TypeError
,"null reference");
11648 arg8
= wxString_in_helper(obj7
);
11649 if (arg8
== NULL
) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11683 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxRadioButton
*result
;
11686 char *kwnames
[] = {
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (wxRadioButton
*)new wxRadioButton();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11705 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11708 wxWindow
*arg2
= (wxWindow
*) 0 ;
11710 wxString
*arg4
= 0 ;
11711 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11712 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11713 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11714 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11715 long arg7
= (long) 0 ;
11716 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11717 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11718 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11719 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11721 bool temp4
= False
;
11724 bool temp9
= False
;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 PyObject
* obj2
= 0 ;
11728 PyObject
* obj3
= 0 ;
11729 PyObject
* obj4
= 0 ;
11730 PyObject
* obj5
= 0 ;
11731 PyObject
* obj6
= 0 ;
11732 PyObject
* obj7
= 0 ;
11733 PyObject
* obj8
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11743 arg3
= (int) SWIG_AsInt(obj2
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 arg4
= wxString_in_helper(obj3
);
11747 if (arg4
== NULL
) SWIG_fail
;
11753 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11759 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11763 arg7
= (long) SWIG_AsLong(obj6
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11770 if (arg8
== NULL
) {
11771 PyErr_SetString(PyExc_TypeError
,"null reference");
11777 arg9
= wxString_in_helper(obj8
);
11778 if (arg9
== NULL
) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11812 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11816 PyObject
* obj0
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "self", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (bool)(arg1
)->GetValue();
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11838 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11842 PyObject
* obj0
= 0 ;
11843 PyObject
* obj1
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self",(char *) "value", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11851 arg2
= (bool) SWIG_AsBool(obj1
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 (arg1
)->SetValue(arg2
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 Py_INCREF(Py_None
); resultobj
= Py_None
;
11867 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
11869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11870 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11872 return Py_BuildValue((char *)"");
11874 static int _wrap_SliderNameStr_set(PyObject
*) {
11875 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11880 static PyObject
*_wrap_SliderNameStr_get() {
11885 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11887 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11894 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxWindow
*arg1
= (wxWindow
*) 0 ;
11901 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11902 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11903 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11904 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11905 long arg8
= (long) wxSL_HORIZONTAL
;
11906 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11907 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11908 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11909 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11913 bool temp10
= False
;
11914 PyObject
* obj0
= 0 ;
11915 PyObject
* obj1
= 0 ;
11916 PyObject
* obj2
= 0 ;
11917 PyObject
* obj3
= 0 ;
11918 PyObject
* obj4
= 0 ;
11919 PyObject
* obj5
= 0 ;
11920 PyObject
* obj6
= 0 ;
11921 PyObject
* obj7
= 0 ;
11922 PyObject
* obj8
= 0 ;
11923 PyObject
* obj9
= 0 ;
11924 char *kwnames
[] = {
11925 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11931 arg2
= (int) SWIG_AsInt(obj1
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11933 arg3
= (int) SWIG_AsInt(obj2
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11935 arg4
= (int) SWIG_AsInt(obj3
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11937 arg5
= (int) SWIG_AsInt(obj4
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11942 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11948 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11952 arg8
= (long) SWIG_AsLong(obj7
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11959 if (arg9
== NULL
) {
11960 PyErr_SetString(PyExc_TypeError
,"null reference");
11966 arg10
= wxString_in_helper(obj9
);
11967 if (arg10
== NULL
) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
11993 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11996 char *kwnames
[] = {
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (wxSlider
*)new wxSlider();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12015 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxSlider
*arg1
= (wxSlider
*) 0 ;
12018 wxWindow
*arg2
= (wxWindow
*) 0 ;
12023 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12024 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12025 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12026 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12027 long arg9
= (long) wxSL_HORIZONTAL
;
12028 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12029 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12030 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12031 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12035 bool temp11
= False
;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 PyObject
* obj2
= 0 ;
12039 PyObject
* obj3
= 0 ;
12040 PyObject
* obj4
= 0 ;
12041 PyObject
* obj5
= 0 ;
12042 PyObject
* obj6
= 0 ;
12043 PyObject
* obj7
= 0 ;
12044 PyObject
* obj8
= 0 ;
12045 PyObject
* obj9
= 0 ;
12046 PyObject
* obj10
= 0 ;
12047 char *kwnames
[] = {
12048 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12056 arg3
= (int) SWIG_AsInt(obj2
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12058 arg4
= (int) SWIG_AsInt(obj3
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12060 arg5
= (int) SWIG_AsInt(obj4
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12062 arg6
= (int) SWIG_AsInt(obj5
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12067 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12073 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12077 arg9
= (long) SWIG_AsLong(obj8
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12081 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12084 if (arg10
== NULL
) {
12085 PyErr_SetString(PyExc_TypeError
,"null reference");
12091 arg11
= wxString_in_helper(obj10
);
12092 if (arg11
== NULL
) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12118 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxSlider
*arg1
= (wxSlider
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= SWIG_FromInt((int)result
);
12144 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxSlider
*arg1
= (wxSlider
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "value", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12157 arg2
= (int) SWIG_AsInt(obj1
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->SetValue(arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 Py_INCREF(Py_None
); resultobj
= Py_None
;
12173 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxSlider
*arg1
= (wxSlider
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 PyObject
* obj2
= 0 ;
12181 char *kwnames
[] = {
12182 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= (int) SWIG_AsInt(obj1
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12190 arg3
= (int) SWIG_AsInt(obj2
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->SetRange(arg2
,arg3
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12206 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxSlider
*arg1
= (wxSlider
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_FromInt((int)result
);
12232 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxSlider
*arg1
= (wxSlider
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_FromInt((int)result
);
12258 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxSlider
*arg1
= (wxSlider
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self",(char *) "minValue", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 arg2
= (int) SWIG_AsInt(obj1
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 (arg1
)->SetMin(arg2
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 Py_INCREF(Py_None
); resultobj
= Py_None
;
12287 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxSlider
*arg1
= (wxSlider
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "maxValue", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12300 arg2
= (int) SWIG_AsInt(obj1
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 (arg1
)->SetMax(arg2
);
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 Py_INCREF(Py_None
); resultobj
= Py_None
;
12316 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxSlider
*arg1
= (wxSlider
*) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "lineSize", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12329 arg2
= (int) SWIG_AsInt(obj1
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->SetLineSize(arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxSlider
*arg1
= (wxSlider
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self",(char *) "pageSize", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12358 arg2
= (int) SWIG_AsInt(obj1
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 (arg1
)->SetPageSize(arg2
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 Py_INCREF(Py_None
); resultobj
= Py_None
;
12374 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxSlider
*arg1
= (wxSlider
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_FromInt((int)result
);
12400 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxSlider
*arg1
= (wxSlider
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= SWIG_FromInt((int)result
);
12426 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxSlider
*arg1
= (wxSlider
*) 0 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "lenPixels", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12439 arg2
= (int) SWIG_AsInt(obj1
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 (arg1
)->SetThumbLength(arg2
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 Py_INCREF(Py_None
); resultobj
= Py_None
;
12455 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxSlider
*arg1
= (wxSlider
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_FromInt((int)result
);
12481 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxSlider
*arg1
= (wxSlider
*) 0 ;
12485 int arg3
= (int) 1 ;
12486 PyObject
* obj0
= 0 ;
12487 PyObject
* obj1
= 0 ;
12488 PyObject
* obj2
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self",(char *) "n",(char *) "pos", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12496 arg2
= (int) SWIG_AsInt(obj1
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 arg3
= (int) SWIG_AsInt(obj2
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 (arg1
)->SetTickFreq(arg2
,arg3
);
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 Py_INCREF(Py_None
); resultobj
= Py_None
;
12516 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxSlider
*arg1
= (wxSlider
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_FromInt((int)result
);
12542 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxSlider
*arg1
= (wxSlider
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->ClearTicks();
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 Py_INCREF(Py_None
); resultobj
= Py_None
;
12567 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxSlider
*arg1
= (wxSlider
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "tickPos", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12580 arg2
= (int) SWIG_AsInt(obj1
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->SetTick(arg2
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12596 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxSlider
*arg1
= (wxSlider
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 (arg1
)->ClearSel();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 Py_INCREF(Py_None
); resultobj
= Py_None
;
12621 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxSlider
*arg1
= (wxSlider
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_FromInt((int)result
);
12647 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxSlider
*arg1
= (wxSlider
*) 0 ;
12651 PyObject
* obj0
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_FromInt((int)result
);
12673 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxSlider
*arg1
= (wxSlider
*) 0 ;
12678 PyObject
* obj0
= 0 ;
12679 PyObject
* obj1
= 0 ;
12680 PyObject
* obj2
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self",(char *) "min",(char *) "max", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12688 arg2
= (int) SWIG_AsInt(obj1
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12690 arg3
= (int) SWIG_AsInt(obj2
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 (arg1
)->SetSelection(arg2
,arg3
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12706 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
12708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12709 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12711 return Py_BuildValue((char *)"");
12713 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12714 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12719 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12724 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12726 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12733 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxWindow
*arg1
= (wxWindow
*) 0 ;
12737 wxString
*arg3
= 0 ;
12738 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12739 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12740 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12741 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12742 long arg6
= (long) 0 ;
12743 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12744 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12745 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12746 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12747 wxToggleButton
*result
;
12748 bool temp3
= False
;
12751 bool temp8
= False
;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 PyObject
* obj2
= 0 ;
12755 PyObject
* obj3
= 0 ;
12756 PyObject
* obj4
= 0 ;
12757 PyObject
* obj5
= 0 ;
12758 PyObject
* obj6
= 0 ;
12759 PyObject
* obj7
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 arg2
= (int) SWIG_AsInt(obj1
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 arg3
= wxString_in_helper(obj2
);
12771 if (arg3
== NULL
) SWIG_fail
;
12777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12787 arg6
= (long) SWIG_AsLong(obj5
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12791 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12794 if (arg7
== NULL
) {
12795 PyErr_SetString(PyExc_TypeError
,"null reference");
12801 arg8
= wxString_in_helper(obj7
);
12802 if (arg8
== NULL
) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12836 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
;
12838 wxToggleButton
*result
;
12839 char *kwnames
[] = {
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (wxToggleButton
*)new wxToggleButton();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12858 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
12860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12861 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12863 return Py_BuildValue((char *)"");
12865 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12866 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12871 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12876 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12878 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12885 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12889 PyObject
* obj0
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
12895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
12896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
12911 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 PyObject
* obj1
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self",(char *) "n", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= wxPyMake_wxObject(result
);
12943 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
12954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_FromInt((int)result
);
12969 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12973 wxString
*arg3
= 0 ;
12975 bool temp3
= False
;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 PyObject
* obj2
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self",(char *) "n",(char *) "strText", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
12985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12986 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 arg3
= wxString_in_helper(obj2
);
12990 if (arg3
== NULL
) SWIG_fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13015 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 PyObject
* obj1
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self",(char *) "n", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13029 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13051 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13054 wxImageList
*arg2
= (wxImageList
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self",(char *) "imageList", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 (arg1
)->SetImageList(arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 Py_INCREF(Py_None
); resultobj
= Py_None
;
13080 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
;
13082 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13083 wxImageList
*arg2
= (wxImageList
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self",(char *) "imageList", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13094 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 (arg1
)->AssignImageList(arg2
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 Py_INCREF(Py_None
); resultobj
= Py_None
;
13109 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13112 wxImageList
*result
;
13113 PyObject
* obj0
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= wxPyMake_wxObject(result
);
13137 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "n", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_FromInt((int)result
);
13167 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 PyObject
* obj2
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self",(char *) "n",(char *) "imageId", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13183 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13185 arg3
= (int) SWIG_AsInt(obj2
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13201 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "size", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13217 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 Py_INCREF(Py_None
); resultobj
= Py_None
;
13233 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "self",(char *) "sizePage", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13250 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13260 wxSize
* resultptr
;
13261 resultptr
= new wxSize((wxSize
&) result
);
13262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13270 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "n", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13284 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (bool)(arg1
)->DeletePage(arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13300 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self",(char *) "n", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (bool)(arg1
)->RemovePage(arg2
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13330 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13334 PyObject
* obj0
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (bool)(arg1
)->DeleteAllPages();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13356 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13359 wxWindow
*arg2
= (wxWindow
*) 0 ;
13360 wxString
*arg3
= 0 ;
13361 bool arg4
= (bool) False
;
13362 int arg5
= (int) -1 ;
13364 bool temp3
= False
;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 PyObject
* obj2
= 0 ;
13368 PyObject
* obj3
= 0 ;
13369 PyObject
* obj4
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13380 arg3
= wxString_in_helper(obj2
);
13381 if (arg3
== NULL
) SWIG_fail
;
13385 arg4
= (bool) SWIG_AsBool(obj3
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 arg5
= (int) SWIG_AsInt(obj4
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13414 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13418 wxWindow
*arg3
= (wxWindow
*) 0 ;
13419 wxString
*arg4
= 0 ;
13420 bool arg5
= (bool) False
;
13421 int arg6
= (int) -1 ;
13423 bool temp4
= False
;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 PyObject
* obj3
= 0 ;
13428 PyObject
* obj4
= 0 ;
13429 PyObject
* obj5
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13437 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13439 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13442 arg4
= wxString_in_helper(obj3
);
13443 if (arg4
== NULL
) SWIG_fail
;
13447 arg5
= (bool) SWIG_AsBool(obj4
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 arg6
= (int) SWIG_AsInt(obj5
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13476 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 PyObject
* obj1
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self",(char *) "n", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (int)(arg1
)->SetSelection(arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= SWIG_FromInt((int)result
);
13506 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13509 bool arg2
= (bool) True
;
13510 PyObject
* obj0
= 0 ;
13511 PyObject
* obj1
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self",(char *) "forward", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 arg2
= (bool) SWIG_AsBool(obj1
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 (arg1
)->AdvanceSelection(arg2
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 Py_INCREF(Py_None
); resultobj
= Py_None
;
13537 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
13539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13540 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13542 return Py_BuildValue((char *)"");
13544 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13547 int arg2
= (int) 0 ;
13548 int arg3
= (int) -1 ;
13549 int arg4
= (int) -1 ;
13550 wxBookCtrlEvent
*result
;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 PyObject
* obj2
= 0 ;
13554 PyObject
* obj3
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13561 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 arg2
= (int) SWIG_AsInt(obj1
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 arg3
= (int) SWIG_AsInt(obj2
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 arg4
= (int) SWIG_AsInt(obj3
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13590 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= SWIG_FromInt((int)result
);
13616 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13620 PyObject
* obj0
= 0 ;
13621 PyObject
* obj1
= 0 ;
13622 char *kwnames
[] = {
13623 (char *) "self",(char *) "nSel", NULL
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13629 arg2
= (int) SWIG_AsInt(obj1
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 (arg1
)->SetSelection(arg2
);
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 Py_INCREF(Py_None
); resultobj
= Py_None
;
13645 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13649 PyObject
* obj0
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= SWIG_FromInt((int)result
);
13671 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self",(char *) "nOldSel", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 arg2
= (int) SWIG_AsInt(obj1
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 (arg1
)->SetOldSelection(arg2
);
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 Py_INCREF(Py_None
); resultobj
= Py_None
;
13700 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
13702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13703 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13705 return Py_BuildValue((char *)"");
13707 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxWindow
*arg1
= (wxWindow
*) 0 ;
13711 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13712 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13713 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13714 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13715 long arg5
= (long) 0 ;
13716 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13717 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13718 wxNotebook
*result
;
13721 bool temp6
= False
;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 PyObject
* obj2
= 0 ;
13725 PyObject
* obj3
= 0 ;
13726 PyObject
* obj4
= 0 ;
13727 PyObject
* obj5
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13735 arg2
= (int) SWIG_AsInt(obj1
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13740 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13746 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13750 arg5
= (long) SWIG_AsLong(obj4
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13755 arg6
= wxString_in_helper(obj5
);
13756 if (arg6
== NULL
) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= wxPyMake_wxObject(result
);
13784 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxNotebook
*result
;
13787 char *kwnames
[] = {
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (wxNotebook
*)new wxNotebook();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= wxPyMake_wxObject(result
);
13808 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
;
13810 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13811 wxWindow
*arg2
= (wxWindow
*) 0 ;
13813 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13814 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13815 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13816 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13817 long arg6
= (long) 0 ;
13818 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13819 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13823 bool temp7
= False
;
13824 PyObject
* obj0
= 0 ;
13825 PyObject
* obj1
= 0 ;
13826 PyObject
* obj2
= 0 ;
13827 PyObject
* obj3
= 0 ;
13828 PyObject
* obj4
= 0 ;
13829 PyObject
* obj5
= 0 ;
13830 PyObject
* obj6
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13840 arg3
= (int) SWIG_AsInt(obj2
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13851 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13855 arg6
= (long) SWIG_AsLong(obj5
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13860 arg7
= wxString_in_helper(obj6
);
13861 if (arg7
== NULL
) SWIG_fail
;
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13887 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_FromInt((int)result
);
13913 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
;
13915 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 char *kwnames
[] = {
13921 (char *) "self",(char *) "padding", NULL
13924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
13925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13929 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 (arg1
)->SetPadding((wxSize
const &)*arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 Py_INCREF(Py_None
); resultobj
= Py_None
;
13945 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 PyObject
* obj1
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self",(char *) "sz", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13961 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 Py_INCREF(Py_None
); resultobj
= Py_None
;
13977 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13980 wxPoint
*arg2
= 0 ;
13981 long *arg3
= (long *) 0 ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self",(char *) "pt", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
13993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= SWIG_FromInt((int)result
);
14008 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14009 resultobj
= t_output_helper(resultobj
,o
);
14017 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self",(char *) "sizePage", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14034 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14044 wxSize
* resultptr
;
14045 resultptr
= new wxSize((wxSize
&) result
);
14046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14054 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
14056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14057 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14059 return Py_BuildValue((char *)"");
14061 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14064 int arg2
= (int) 0 ;
14065 int arg3
= (int) -1 ;
14066 int arg4
= (int) -1 ;
14067 wxNotebookEvent
*result
;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 PyObject
* obj2
= 0 ;
14071 PyObject
* obj3
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14078 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14082 arg2
= (int) SWIG_AsInt(obj1
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14086 arg3
= (int) SWIG_AsInt(obj2
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 arg4
= (int) SWIG_AsInt(obj3
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14107 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
14109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14110 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14112 return Py_BuildValue((char *)"");
14114 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxWindow
*arg1
= (wxWindow
*) 0 ;
14118 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14119 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14120 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14121 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14122 long arg5
= (long) 0 ;
14123 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14124 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14125 wxListbook
*result
;
14128 bool temp6
= False
;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 PyObject
* obj2
= 0 ;
14132 PyObject
* obj3
= 0 ;
14133 PyObject
* obj4
= 0 ;
14134 PyObject
* obj5
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14142 arg2
= (int) SWIG_AsInt(obj1
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14153 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14157 arg5
= (long) SWIG_AsLong(obj4
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14162 arg6
= wxString_in_helper(obj5
);
14163 if (arg6
== NULL
) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14189 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxListbook
*result
;
14192 char *kwnames
[] = {
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (wxListbook
*)new wxListbook();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14211 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxListbook
*arg1
= (wxListbook
*) 0 ;
14214 wxWindow
*arg2
= (wxWindow
*) 0 ;
14216 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14217 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14218 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14219 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14220 long arg6
= (long) 0 ;
14221 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14222 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14226 bool temp7
= False
;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 PyObject
* obj2
= 0 ;
14230 PyObject
* obj3
= 0 ;
14231 PyObject
* obj4
= 0 ;
14232 PyObject
* obj5
= 0 ;
14233 PyObject
* obj6
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14243 arg3
= (int) SWIG_AsInt(obj2
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14258 arg6
= (long) SWIG_AsLong(obj5
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14263 arg7
= wxString_in_helper(obj6
);
14264 if (arg7
== NULL
) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14290 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxListbook
*arg1
= (wxListbook
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14316 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
14318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14319 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14321 return Py_BuildValue((char *)"");
14323 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14326 int arg2
= (int) 0 ;
14327 int arg3
= (int) -1 ;
14328 int arg4
= (int) -1 ;
14329 wxListbookEvent
*result
;
14330 PyObject
* obj0
= 0 ;
14331 PyObject
* obj1
= 0 ;
14332 PyObject
* obj2
= 0 ;
14333 PyObject
* obj3
= 0 ;
14334 char *kwnames
[] = {
14335 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14340 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14344 arg2
= (int) SWIG_AsInt(obj1
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14348 arg3
= (int) SWIG_AsInt(obj2
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 arg4
= (int) SWIG_AsInt(obj3
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14369 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
14371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14372 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14374 return Py_BuildValue((char *)"");
14376 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14379 wxBookCtrlSizer
*result
;
14380 PyObject
* obj0
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "nb", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14402 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 char *kwnames
[] = {
14407 (char *) "self", NULL
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 (arg1
)->RecalcSizes();
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 Py_INCREF(Py_None
); resultobj
= Py_None
;
14427 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
;
14429 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14431 PyObject
* obj0
= 0 ;
14432 char *kwnames
[] = {
14433 (char *) "self", NULL
14436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (arg1
)->CalcMin();
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14447 wxSize
* resultptr
;
14448 resultptr
= new wxSize((wxSize
&) result
);
14449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14457 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14460 wxBookCtrl
*result
;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14483 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
14485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14486 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14488 return Py_BuildValue((char *)"");
14490 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14493 wxNotebookSizer
*result
;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "nb", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14516 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 (arg1
)->RecalcSizes();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 Py_INCREF(Py_None
); resultobj
= Py_None
;
14541 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (arg1
)->CalcMin();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 wxSize
* resultptr
;
14562 resultptr
= new wxSize((wxSize
&) result
);
14563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14571 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14574 wxNotebook
*result
;
14575 PyObject
* obj0
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "self", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= wxPyMake_wxObject(result
);
14599 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
14601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14602 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14604 return Py_BuildValue((char *)"");
14606 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (int)(arg1
)->GetId();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= SWIG_FromInt((int)result
);
14632 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14636 PyObject
* obj0
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (wxControl
*)(arg1
)->GetControl();
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= wxPyMake_wxObject(result
);
14660 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14663 wxToolBarBase
*result
;
14664 PyObject
* obj0
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= wxPyMake_wxObject(result
);
14688 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= (int)(arg1
)->IsButton();
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_FromInt((int)result
);
14714 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= (int)(arg1
)->IsControl();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= SWIG_FromInt((int)result
);
14740 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (int)(arg1
)->IsSeparator();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= SWIG_FromInt((int)result
);
14766 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (int)(arg1
)->GetStyle();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_FromInt((int)result
);
14792 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (int)(arg1
)->GetKind();
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= SWIG_FromInt((int)result
);
14818 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
;
14820 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (bool)(arg1
)->IsEnabled();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14844 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (bool)(arg1
)->IsToggled();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14870 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (bool)(arg1
)->CanBeToggled();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14896 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
14906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
14912 result
= (wxBitmap
*) &_result_ref
;
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
14925 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
14941 result
= (wxBitmap
*) &_result_ref
;
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
14954 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
14964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= (arg1
)->GetBitmap();
14970 wxPyEndAllowThreads(__tstate
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 wxBitmap
* resultptr
;
14975 resultptr
= new wxBitmap((wxBitmap
&) result
);
14976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14984 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (arg1
)->GetLabel();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15016 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (arg1
)->GetShortHelp();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15048 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15052 PyObject
* obj0
= 0 ;
15053 char *kwnames
[] = {
15054 (char *) "self", NULL
15057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (arg1
)->GetLongHelp();
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15080 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "enable", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15094 arg2
= (bool) SWIG_AsBool(obj1
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (bool)(arg1
)->Enable(arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15110 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 Py_INCREF(Py_None
); resultobj
= Py_None
;
15135 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self",(char *) "toggle", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15149 arg2
= (bool) SWIG_AsBool(obj1
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (bool)(arg1
)->SetToggle(arg2
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15165 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15168 wxString
*arg2
= 0 ;
15170 bool temp2
= False
;
15171 PyObject
* obj0
= 0 ;
15172 PyObject
* obj1
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self",(char *) "help", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15181 arg2
= wxString_in_helper(obj1
);
15182 if (arg2
== NULL
) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15207 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15210 wxString
*arg2
= 0 ;
15212 bool temp2
= False
;
15213 PyObject
* obj0
= 0 ;
15214 PyObject
* obj1
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self",(char *) "help", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15223 arg2
= wxString_in_helper(obj1
);
15224 if (arg2
== NULL
) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15249 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15252 wxBitmap
*arg2
= 0 ;
15253 PyObject
* obj0
= 0 ;
15254 PyObject
* obj1
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self",(char *) "bmp", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15265 if (arg2
== NULL
) {
15266 PyErr_SetString(PyExc_TypeError
,"null reference");
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 Py_INCREF(Py_None
); resultobj
= Py_None
;
15283 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15286 wxBitmap
*arg2
= 0 ;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self",(char *) "bmp", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15299 if (arg2
== NULL
) {
15300 PyErr_SetString(PyExc_TypeError
,"null reference");
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 Py_INCREF(Py_None
); resultobj
= Py_None
;
15317 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15320 wxString
*arg2
= 0 ;
15321 bool temp2
= False
;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self",(char *) "label", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15332 arg2
= wxString_in_helper(obj1
);
15333 if (arg2
== NULL
) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 (arg1
)->SetLabel((wxString
const &)*arg2
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 Py_INCREF(Py_None
); resultobj
= Py_None
;
15358 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 Py_INCREF(Py_None
); resultobj
= Py_None
;
15383 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15386 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "tbar", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 (arg1
)->Attach(arg2
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 Py_INCREF(Py_None
); resultobj
= Py_None
;
15412 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= result
;
15438 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15441 PyObject
*arg2
= (PyObject
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "clientData", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 Py_INCREF(Py_None
); resultobj
= Py_None
;
15466 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
15468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15469 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15471 return Py_BuildValue((char *)"");
15473 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15477 wxString
*arg3
= 0 ;
15478 wxBitmap
*arg4
= 0 ;
15479 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15480 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15481 int arg6
= (int) wxITEM_NORMAL
;
15482 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15484 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15485 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15486 PyObject
*arg9
= (PyObject
*) NULL
;
15487 wxToolBarToolBase
*result
;
15488 bool temp3
= False
;
15489 bool temp7
= False
;
15490 bool temp8
= False
;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 PyObject
* obj2
= 0 ;
15494 PyObject
* obj3
= 0 ;
15495 PyObject
* obj4
= 0 ;
15496 PyObject
* obj5
= 0 ;
15497 PyObject
* obj6
= 0 ;
15498 PyObject
* obj7
= 0 ;
15499 PyObject
* obj8
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15507 arg2
= (int) SWIG_AsInt(obj1
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 arg3
= wxString_in_helper(obj2
);
15511 if (arg3
== NULL
) SWIG_fail
;
15514 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15517 if (arg4
== NULL
) {
15518 PyErr_SetString(PyExc_TypeError
,"null reference");
15522 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15525 if (arg5
== NULL
) {
15526 PyErr_SetString(PyExc_TypeError
,"null reference");
15531 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15536 arg7
= wxString_in_helper(obj6
);
15537 if (arg7
== NULL
) SWIG_fail
;
15543 arg8
= wxString_in_helper(obj7
);
15544 if (arg8
== NULL
) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= wxPyMake_wxObject(result
);
15591 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15596 wxString
*arg4
= 0 ;
15597 wxBitmap
*arg5
= 0 ;
15598 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15599 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15600 int arg7
= (int) wxITEM_NORMAL
;
15601 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15602 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15603 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15604 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15605 PyObject
*arg10
= (PyObject
*) NULL
;
15606 wxToolBarToolBase
*result
;
15607 bool temp4
= False
;
15608 bool temp8
= False
;
15609 bool temp9
= False
;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 PyObject
* obj2
= 0 ;
15613 PyObject
* obj3
= 0 ;
15614 PyObject
* obj4
= 0 ;
15615 PyObject
* obj5
= 0 ;
15616 PyObject
* obj6
= 0 ;
15617 PyObject
* obj7
= 0 ;
15618 PyObject
* obj8
= 0 ;
15619 PyObject
* obj9
= 0 ;
15620 char *kwnames
[] = {
15621 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15627 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15629 arg3
= (int) SWIG_AsInt(obj2
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 arg4
= wxString_in_helper(obj3
);
15633 if (arg4
== NULL
) SWIG_fail
;
15636 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15639 if (arg5
== NULL
) {
15640 PyErr_SetString(PyExc_TypeError
,"null reference");
15644 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15647 if (arg6
== NULL
) {
15648 PyErr_SetString(PyExc_TypeError
,"null reference");
15653 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15658 arg8
= wxString_in_helper(obj7
);
15659 if (arg8
== NULL
) SWIG_fail
;
15665 arg9
= wxString_in_helper(obj8
);
15666 if (arg9
== NULL
) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 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
);
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= wxPyMake_wxObject(result
);
15713 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15716 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15717 wxToolBarToolBase
*result
;
15718 PyObject
* obj0
= 0 ;
15719 PyObject
* obj1
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self",(char *) "tool", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
15728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= wxPyMake_wxObject(result
);
15745 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15749 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15750 wxToolBarToolBase
*result
;
15751 PyObject
* obj0
= 0 ;
15752 PyObject
* obj1
= 0 ;
15753 PyObject
* obj2
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self",(char *) "pos",(char *) "tool", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15761 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15763 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= wxPyMake_wxObject(result
);
15781 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15784 wxControl
*arg2
= (wxControl
*) 0 ;
15785 wxToolBarToolBase
*result
;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 char *kwnames
[] = {
15789 (char *) "self",(char *) "control", NULL
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= wxPyMake_wxObject(result
);
15813 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15817 wxControl
*arg3
= (wxControl
*) 0 ;
15818 wxToolBarToolBase
*result
;
15819 PyObject
* obj0
= 0 ;
15820 PyObject
* obj1
= 0 ;
15821 PyObject
* obj2
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self",(char *) "pos",(char *) "control", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15829 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15831 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= wxPyMake_wxObject(result
);
15849 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self",(char *) "id", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15863 arg2
= (int) SWIG_AsInt(obj1
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15873 resultobj
= wxPyMake_wxObject(result
);
15881 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15884 wxToolBarToolBase
*result
;
15885 PyObject
* obj0
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
15891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= wxPyMake_wxObject(result
);
15909 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15913 wxToolBarToolBase
*result
;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self",(char *) "pos", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15923 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= wxPyMake_wxObject(result
);
15941 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15945 wxToolBarToolBase
*result
;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self",(char *) "id", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 arg2
= (int) SWIG_AsInt(obj1
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= wxPyMake_wxObject(result
);
15973 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self",(char *) "pos", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
15985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15987 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16003 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self",(char *) "id", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 arg2
= (int) SWIG_AsInt(obj1
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (bool)(arg1
)->DeleteTool(arg2
);
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16033 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 (arg1
)->ClearTools();
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 Py_INCREF(Py_None
); resultobj
= Py_None
;
16058 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (bool)(arg1
)->Realize();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16084 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 PyObject
* obj2
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self",(char *) "id",(char *) "enable", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16099 arg2
= (int) SWIG_AsInt(obj1
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16101 arg3
= (bool) SWIG_AsBool(obj2
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 (arg1
)->EnableTool(arg2
,arg3
);
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 Py_INCREF(Py_None
); resultobj
= Py_None
;
16117 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 PyObject
* obj2
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self",(char *) "id",(char *) "toggle", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 arg2
= (int) SWIG_AsInt(obj1
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16134 arg3
= (bool) SWIG_AsBool(obj2
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 (arg1
)->ToggleTool(arg2
,arg3
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 Py_INCREF(Py_None
); resultobj
= Py_None
;
16150 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16155 PyObject
* obj0
= 0 ;
16156 PyObject
* obj1
= 0 ;
16157 PyObject
* obj2
= 0 ;
16158 char *kwnames
[] = {
16159 (char *) "self",(char *) "id",(char *) "toggle", NULL
16162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16165 arg2
= (int) SWIG_AsInt(obj1
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16167 arg3
= (bool) SWIG_AsBool(obj2
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 (arg1
)->SetToggle(arg2
,arg3
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16176 Py_INCREF(Py_None
); resultobj
= Py_None
;
16183 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16188 PyObject
* obj0
= 0 ;
16189 PyObject
* obj1
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self",(char *) "id", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16197 arg2
= (int) SWIG_AsInt(obj1
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= result
;
16213 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16217 PyObject
*arg3
= (PyObject
*) 0 ;
16218 PyObject
* obj0
= 0 ;
16219 PyObject
* obj1
= 0 ;
16220 PyObject
* obj2
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self",(char *) "id",(char *) "clientData", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16228 arg2
= (int) SWIG_AsInt(obj1
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 Py_INCREF(Py_None
); resultobj
= Py_None
;
16245 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self",(char *) "id", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16259 arg2
= (int) SWIG_AsInt(obj1
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= SWIG_FromInt((int)result
);
16275 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 PyObject
* obj1
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self",(char *) "id", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 arg2
= (int) SWIG_AsInt(obj1
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (bool)(arg1
)->GetToolState(arg2
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16305 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 PyObject
* obj1
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self",(char *) "id", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16319 arg2
= (int) SWIG_AsInt(obj1
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16339 wxString
*arg3
= 0 ;
16340 bool temp3
= False
;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj1
= 0 ;
16343 PyObject
* obj2
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self",(char *) "id",(char *) "helpString", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16351 arg2
= (int) SWIG_AsInt(obj1
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 arg3
= wxString_in_helper(obj2
);
16355 if (arg3
== NULL
) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16365 Py_INCREF(Py_None
); resultobj
= Py_None
;
16380 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self",(char *) "id", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 arg2
= (int) SWIG_AsInt(obj1
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (arg1
)->GetToolShortHelp(arg2
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16416 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16420 wxString
*arg3
= 0 ;
16421 bool temp3
= False
;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 PyObject
* obj2
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self",(char *) "id",(char *) "helpString", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16432 arg2
= (int) SWIG_AsInt(obj1
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 arg3
= wxString_in_helper(obj2
);
16436 if (arg3
== NULL
) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 Py_INCREF(Py_None
); resultobj
= Py_None
;
16461 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16463 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "id", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16475 arg2
= (int) SWIG_AsInt(obj1
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (arg1
)->GetToolLongHelp(arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16497 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 PyObject
* obj1
= 0 ;
16504 PyObject
* obj2
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self",(char *) "x",(char *) "y", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 arg2
= (int) SWIG_AsInt(obj1
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16514 arg3
= (int) SWIG_AsInt(obj2
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 (arg1
)->SetMargins(arg2
,arg3
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 Py_INCREF(Py_None
); resultobj
= Py_None
;
16530 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16535 PyObject
* obj0
= 0 ;
16536 PyObject
* obj1
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self",(char *) "size", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16555 Py_INCREF(Py_None
); resultobj
= Py_None
;
16562 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16566 PyObject
* obj0
= 0 ;
16567 PyObject
* obj1
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self",(char *) "packing", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16575 arg2
= (int) SWIG_AsInt(obj1
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 (arg1
)->SetToolPacking(arg2
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 Py_INCREF(Py_None
); resultobj
= Py_None
;
16591 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16595 PyObject
* obj0
= 0 ;
16596 PyObject
* obj1
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self",(char *) "separation", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16604 arg2
= (int) SWIG_AsInt(obj1
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 (arg1
)->SetToolSeparation(arg2
);
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 Py_INCREF(Py_None
); resultobj
= Py_None
;
16620 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16624 PyObject
* obj0
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (arg1
)->GetToolMargins();
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 wxSize
* resultptr
;
16641 resultptr
= new wxSize((wxSize
&) result
);
16642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16650 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= (arg1
)->GetMargins();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16670 wxSize
* resultptr
;
16671 resultptr
= new wxSize((wxSize
&) result
);
16672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16680 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (int)(arg1
)->GetToolPacking();
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= SWIG_FromInt((int)result
);
16706 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (int)(arg1
)->GetToolSeparation();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_FromInt((int)result
);
16732 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 PyObject
* obj1
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "self",(char *) "nRows", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16745 arg2
= (int) SWIG_AsInt(obj1
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 (arg1
)->SetRows(arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 Py_INCREF(Py_None
); resultobj
= Py_None
;
16761 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16766 PyObject
* obj0
= 0 ;
16767 PyObject
* obj1
= 0 ;
16768 PyObject
* obj2
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self",(char *) "rows",(char *) "cols", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16776 arg2
= (int) SWIG_AsInt(obj1
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16778 arg3
= (int) SWIG_AsInt(obj2
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 Py_INCREF(Py_None
); resultobj
= Py_None
;
16794 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (int)(arg1
)->GetMaxRows();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= SWIG_FromInt((int)result
);
16820 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16824 PyObject
* obj0
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "self", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (int)(arg1
)->GetMaxCols();
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 resultobj
= SWIG_FromInt((int)result
);
16846 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self",(char *) "size", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 Py_INCREF(Py_None
); resultobj
= Py_None
;
16878 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
16888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= (arg1
)->GetToolBitmapSize();
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 wxSize
* resultptr
;
16899 resultptr
= new wxSize((wxSize
&) result
);
16900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16908 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (arg1
)->GetToolSize();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 wxSize
* resultptr
;
16929 resultptr
= new wxSize((wxSize
&) result
);
16930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16938 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16943 wxToolBarToolBase
*result
;
16944 PyObject
* obj0
= 0 ;
16945 PyObject
* obj1
= 0 ;
16946 PyObject
* obj2
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self",(char *) "x",(char *) "y", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16954 arg2
= (int) SWIG_AsInt(obj1
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16956 arg3
= (int) SWIG_AsInt(obj2
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= wxPyMake_wxObject(result
);
16974 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16978 wxToolBarToolBase
*result
;
16979 PyObject
* obj0
= 0 ;
16980 PyObject
* obj1
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self",(char *) "toolid", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16988 arg2
= (int) SWIG_AsInt(obj1
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= wxPyMake_wxObject(result
);
17006 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= (bool)(arg1
)->IsVertical();
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17032 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
17034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17035 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17037 return Py_BuildValue((char *)"");
17039 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxWindow
*arg1
= (wxWindow
*) 0 ;
17043 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17044 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17045 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17046 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17047 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17048 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17049 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17053 bool temp6
= False
;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 PyObject
* obj2
= 0 ;
17057 PyObject
* obj3
= 0 ;
17058 PyObject
* obj4
= 0 ;
17059 PyObject
* obj5
= 0 ;
17060 char *kwnames
[] = {
17061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17067 arg2
= (int) SWIG_AsInt(obj1
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17078 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17082 arg5
= (long) SWIG_AsLong(obj4
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17087 arg6
= wxString_in_helper(obj5
);
17088 if (arg6
== NULL
) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= wxPyMake_wxObject(result
);
17116 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17119 char *kwnames
[] = {
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (wxToolBar
*)new wxToolBar();
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= wxPyMake_wxObject(result
);
17140 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17143 wxWindow
*arg2
= (wxWindow
*) 0 ;
17145 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17146 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17147 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17148 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17149 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17150 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17151 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17155 bool temp7
= False
;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 PyObject
* obj2
= 0 ;
17159 PyObject
* obj3
= 0 ;
17160 PyObject
* obj4
= 0 ;
17161 PyObject
* obj5
= 0 ;
17162 PyObject
* obj6
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17172 arg3
= (int) SWIG_AsInt(obj2
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17177 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17183 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17187 arg6
= (long) SWIG_AsLong(obj5
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17192 arg7
= wxString_in_helper(obj6
);
17193 if (arg7
== NULL
) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17219 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17224 wxToolBarToolBase
*result
;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 PyObject
* obj2
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self",(char *) "x",(char *) "y", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17235 arg2
= (int) SWIG_AsInt(obj1
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17237 arg3
= (int) SWIG_AsInt(obj2
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= wxPyMake_wxObject(result
);
17255 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
17257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17258 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17260 return Py_BuildValue((char *)"");
17262 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17263 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17268 static PyObject
*_wrap_ListCtrlNameStr_get() {
17273 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17275 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17282 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxColour
const &arg1_defvalue
= wxNullColour
;
17285 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17286 wxColour
const &arg2_defvalue
= wxNullColour
;
17287 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17288 wxFont
const &arg3_defvalue
= wxNullFont
;
17289 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17290 wxListItemAttr
*result
;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17304 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17310 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17314 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17317 if (arg3
== NULL
) {
17318 PyErr_SetString(PyExc_TypeError
,"null reference");
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17336 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17339 wxColour
*arg2
= 0 ;
17341 PyObject
* obj0
= 0 ;
17342 PyObject
* obj1
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "self",(char *) "colText", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17352 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 Py_INCREF(Py_None
); resultobj
= Py_None
;
17368 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17370 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17371 wxColour
*arg2
= 0 ;
17373 PyObject
* obj0
= 0 ;
17374 PyObject
* obj1
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "self",(char *) "colBack", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 Py_INCREF(Py_None
); resultobj
= Py_None
;
17400 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17404 PyObject
* obj0
= 0 ;
17405 PyObject
* obj1
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self",(char *) "font", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17416 if (arg2
== NULL
) {
17417 PyErr_SetString(PyExc_TypeError
,"null reference");
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 (arg1
)->SetFont((wxFont
const &)*arg2
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 Py_INCREF(Py_None
); resultobj
= Py_None
;
17434 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17438 PyObject
* obj0
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (bool)(arg1
)->HasTextColour();
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17460 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
;
17462 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17464 PyObject
* obj0
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 result
= (bool)(arg1
)->HasBackgroundColour();
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17486 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17490 PyObject
* obj0
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (bool)(arg1
)->HasFont();
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17512 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (arg1
)->GetTextColour();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 wxColour
* resultptr
;
17533 resultptr
= new wxColour((wxColour
&) result
);
17534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17542 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (arg1
)->GetBackgroundColour();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 wxColour
* resultptr
;
17563 resultptr
= new wxColour((wxColour
&) result
);
17564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17572 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17574 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 result
= (arg1
)->GetFont();
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17592 wxFont
* resultptr
;
17593 resultptr
= new wxFont((wxFont
&) result
);
17594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17602 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
;
17604 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17605 PyObject
* obj0
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 wxListItemAttr_Destroy(arg1
);
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 Py_INCREF(Py_None
); resultobj
= Py_None
;
17627 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
17629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17630 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17632 return Py_BuildValue((char *)"");
17634 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxListItem
*result
;
17637 char *kwnames
[] = {
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (wxListItem
*)new wxListItem();
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= wxPyMake_wxObject(result
);
17658 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxListItem
*arg1
= (wxListItem
*) 0 ;
17661 PyObject
* obj0
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 Py_INCREF(Py_None
); resultobj
= Py_None
;
17683 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
;
17685 wxListItem
*arg1
= (wxListItem
*) 0 ;
17686 PyObject
* obj0
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 wxPyEndAllowThreads(__tstate
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 Py_INCREF(Py_None
); resultobj
= Py_None
;
17708 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
;
17710 wxListItem
*arg1
= (wxListItem
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 (arg1
)->ClearAttributes();
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 Py_INCREF(Py_None
); resultobj
= Py_None
;
17733 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxListItem
*arg1
= (wxListItem
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "mask", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 arg2
= (long) SWIG_AsLong(obj1
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->SetMask(arg2
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 Py_INCREF(Py_None
); resultobj
= Py_None
;
17762 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxListItem
*arg1
= (wxListItem
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "id", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 arg2
= (long) SWIG_AsLong(obj1
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetId(arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17791 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxListItem
*arg1
= (wxListItem
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "col", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 arg2
= (int) SWIG_AsInt(obj1
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 (arg1
)->SetColumn(arg2
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 Py_INCREF(Py_None
); resultobj
= Py_None
;
17820 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxListItem
*arg1
= (wxListItem
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "state", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 arg2
= (long) SWIG_AsLong(obj1
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 (arg1
)->SetState(arg2
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 Py_INCREF(Py_None
); resultobj
= Py_None
;
17849 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxListItem
*arg1
= (wxListItem
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "stateMask", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 arg2
= (long) SWIG_AsLong(obj1
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->SetStateMask(arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxListItem
*arg1
= (wxListItem
*) 0 ;
17881 wxString
*arg2
= 0 ;
17882 bool temp2
= False
;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "self",(char *) "text", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 arg2
= wxString_in_helper(obj1
);
17894 if (arg2
== NULL
) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 (arg1
)->SetText((wxString
const &)*arg2
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 Py_INCREF(Py_None
); resultobj
= Py_None
;
17919 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxListItem
*arg1
= (wxListItem
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "image", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 arg2
= (int) SWIG_AsInt(obj1
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->SetImage(arg2
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 Py_INCREF(Py_None
); resultobj
= Py_None
;
17948 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxListItem
*arg1
= (wxListItem
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "data", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 arg2
= (long) SWIG_AsLong(obj1
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->SetData(arg2
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 Py_INCREF(Py_None
); resultobj
= Py_None
;
17977 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxListItem
*arg1
= (wxListItem
*) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self",(char *) "width", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17990 arg2
= (int) SWIG_AsInt(obj1
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 (arg1
)->SetWidth(arg2
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 Py_INCREF(Py_None
); resultobj
= Py_None
;
18006 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxListItem
*arg1
= (wxListItem
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "align", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxListItem
*arg1
= (wxListItem
*) 0 ;
18038 wxColour
*arg2
= 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self",(char *) "colText", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18051 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 Py_INCREF(Py_None
); resultobj
= Py_None
;
18067 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxListItem
*arg1
= (wxListItem
*) 0 ;
18070 wxColour
*arg2
= 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "colBack", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 Py_INCREF(Py_None
); resultobj
= Py_None
;
18099 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
;
18101 wxListItem
*arg1
= (wxListItem
*) 0 ;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "font", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18115 if (arg2
== NULL
) {
18116 PyErr_SetString(PyExc_TypeError
,"null reference");
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 (arg1
)->SetFont((wxFont
const &)*arg2
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 Py_INCREF(Py_None
); resultobj
= Py_None
;
18133 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxListItem
*arg1
= (wxListItem
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (long)(arg1
)->GetMask();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_FromLong((long)result
);
18159 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxListItem
*arg1
= (wxListItem
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (long)(arg1
)->GetId();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_FromLong((long)result
);
18185 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxListItem
*arg1
= (wxListItem
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (int)(arg1
)->GetColumn();
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= SWIG_FromInt((int)result
);
18211 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxListItem
*arg1
= (wxListItem
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "self", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 result
= (long)(arg1
)->GetState();
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= SWIG_FromLong((long)result
);
18237 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxListItem
*arg1
= (wxListItem
*) 0 ;
18241 PyObject
* obj0
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 wxString
const &_result_ref
= (arg1
)->GetText();
18253 result
= (wxString
*) &_result_ref
;
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18263 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18272 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxListItem
*arg1
= (wxListItem
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 result
= (int)(arg1
)->GetImage();
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_FromInt((int)result
);
18298 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxListItem
*arg1
= (wxListItem
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (long)(arg1
)->GetData();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_FromLong((long)result
);
18324 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxListItem
*arg1
= (wxListItem
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (int)(arg1
)->GetWidth();
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_FromInt((int)result
);
18350 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxListItem
*arg1
= (wxListItem
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (int)(arg1
)->GetAlign();
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= SWIG_FromInt((int)result
);
18376 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxListItem
*arg1
= (wxListItem
*) 0 ;
18379 wxListItemAttr
*result
;
18380 PyObject
* obj0
= 0 ;
18381 char *kwnames
[] = {
18382 (char *) "self", NULL
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18402 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxListItem
*arg1
= (wxListItem
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (bool)(arg1
)->HasAttributes();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18428 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxListItem
*arg1
= (wxListItem
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18448 wxColour
* resultptr
;
18449 resultptr
= new wxColour((wxColour
&) result
);
18450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18458 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxListItem
*arg1
= (wxListItem
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18478 wxColour
* resultptr
;
18479 resultptr
= new wxColour((wxColour
&) result
);
18480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18488 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxListItem
*arg1
= (wxListItem
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= ((wxListItem
const *)arg1
)->GetFont();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18508 wxFont
* resultptr
;
18509 resultptr
= new wxFont((wxFont
&) result
);
18510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18518 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxListItem
*arg1
= (wxListItem
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self",(char *) "m_mask", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 arg2
= (long) SWIG_AsLong(obj1
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18533 if (arg1
) (arg1
)->m_mask
= arg2
;
18535 Py_INCREF(Py_None
); resultobj
= Py_None
;
18542 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxListItem
*arg1
= (wxListItem
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18554 result
= (long) ((arg1
)->m_mask
);
18556 resultobj
= SWIG_FromLong((long)result
);
18563 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxListItem
*arg1
= (wxListItem
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self",(char *) "m_itemId", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 arg2
= (long) SWIG_AsLong(obj1
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18578 if (arg1
) (arg1
)->m_itemId
= arg2
;
18580 Py_INCREF(Py_None
); resultobj
= Py_None
;
18587 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
;
18589 wxListItem
*arg1
= (wxListItem
*) 0 ;
18591 PyObject
* obj0
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18599 result
= (long) ((arg1
)->m_itemId
);
18601 resultobj
= SWIG_FromLong((long)result
);
18608 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxListItem
*arg1
= (wxListItem
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "m_col", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 arg2
= (int) SWIG_AsInt(obj1
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18623 if (arg1
) (arg1
)->m_col
= arg2
;
18625 Py_INCREF(Py_None
); resultobj
= Py_None
;
18632 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxListItem
*arg1
= (wxListItem
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 result
= (int) ((arg1
)->m_col
);
18646 resultobj
= SWIG_FromInt((int)result
);
18653 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxListItem
*arg1
= (wxListItem
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 PyObject
* obj1
= 0 ;
18659 char *kwnames
[] = {
18660 (char *) "self",(char *) "m_state", NULL
18663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18666 arg2
= (long) SWIG_AsLong(obj1
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18668 if (arg1
) (arg1
)->m_state
= arg2
;
18670 Py_INCREF(Py_None
); resultobj
= Py_None
;
18677 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
;
18679 wxListItem
*arg1
= (wxListItem
*) 0 ;
18681 PyObject
* obj0
= 0 ;
18682 char *kwnames
[] = {
18683 (char *) "self", NULL
18686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18689 result
= (long) ((arg1
)->m_state
);
18691 resultobj
= SWIG_FromLong((long)result
);
18698 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxListItem
*arg1
= (wxListItem
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self",(char *) "m_stateMask", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18711 arg2
= (long) SWIG_AsLong(obj1
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18713 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18715 Py_INCREF(Py_None
); resultobj
= Py_None
;
18722 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxListItem
*arg1
= (wxListItem
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18734 result
= (long) ((arg1
)->m_stateMask
);
18736 resultobj
= SWIG_FromLong((long)result
);
18743 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxListItem
*arg1
= (wxListItem
*) 0 ;
18746 wxString
*arg2
= (wxString
*) 0 ;
18747 bool temp2
= False
;
18748 PyObject
* obj0
= 0 ;
18749 PyObject
* obj1
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self",(char *) "m_text", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 arg2
= wxString_in_helper(obj1
);
18759 if (arg2
== NULL
) SWIG_fail
;
18762 if (arg1
) (arg1
)->m_text
= *arg2
;
18764 Py_INCREF(Py_None
); resultobj
= Py_None
;
18779 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxListItem
*arg1
= (wxListItem
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18791 result
= (wxString
*)& ((arg1
)->m_text
);
18795 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18797 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18806 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxListItem
*arg1
= (wxListItem
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 PyObject
* obj1
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self",(char *) "m_image", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18819 arg2
= (int) SWIG_AsInt(obj1
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18821 if (arg1
) (arg1
)->m_image
= arg2
;
18823 Py_INCREF(Py_None
); resultobj
= Py_None
;
18830 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxListItem
*arg1
= (wxListItem
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18842 result
= (int) ((arg1
)->m_image
);
18844 resultobj
= SWIG_FromInt((int)result
);
18851 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxListItem
*arg1
= (wxListItem
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 PyObject
* obj1
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "self",(char *) "m_data", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18864 arg2
= (long) SWIG_AsLong(obj1
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18866 if (arg1
) (arg1
)->m_data
= arg2
;
18868 Py_INCREF(Py_None
); resultobj
= Py_None
;
18875 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxListItem
*arg1
= (wxListItem
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18887 result
= (long) ((arg1
)->m_data
);
18889 resultobj
= SWIG_FromLong((long)result
);
18896 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxListItem
*arg1
= (wxListItem
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self",(char *) "m_format", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 arg2
= (int) SWIG_AsInt(obj1
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18911 if (arg1
) (arg1
)->m_format
= arg2
;
18913 Py_INCREF(Py_None
); resultobj
= Py_None
;
18920 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxListItem
*arg1
= (wxListItem
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
18930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 result
= (int) ((arg1
)->m_format
);
18934 resultobj
= SWIG_FromInt((int)result
);
18941 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxListItem
*arg1
= (wxListItem
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "m_width", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18954 arg2
= (int) SWIG_AsInt(obj1
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18956 if (arg1
) (arg1
)->m_width
= arg2
;
18958 Py_INCREF(Py_None
); resultobj
= Py_None
;
18965 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
;
18967 wxListItem
*arg1
= (wxListItem
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
18975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18977 result
= (int) ((arg1
)->m_width
);
18979 resultobj
= SWIG_FromInt((int)result
);
18986 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
18988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18989 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
18991 return Py_BuildValue((char *)"");
18993 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18996 int arg2
= (int) 0 ;
18997 wxListEvent
*result
;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "commandType",(char *) "id", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19010 arg2
= (int) SWIG_AsInt(obj1
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19027 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self",(char *) "m_code", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 arg2
= (int) SWIG_AsInt(obj1
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19042 if (arg1
) (arg1
)->m_code
= arg2
;
19044 Py_INCREF(Py_None
); resultobj
= Py_None
;
19051 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19063 result
= (int) ((arg1
)->m_code
);
19065 resultobj
= SWIG_FromInt((int)result
);
19072 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "m_oldItemIndex", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 arg2
= (long) SWIG_AsLong(obj1
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19087 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19089 Py_INCREF(Py_None
); resultobj
= Py_None
;
19096 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 result
= (long) ((arg1
)->m_oldItemIndex
);
19110 resultobj
= SWIG_FromLong((long)result
);
19117 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self",(char *) "m_itemIndex", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19130 arg2
= (long) SWIG_AsLong(obj1
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19132 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19134 Py_INCREF(Py_None
); resultobj
= Py_None
;
19141 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19145 PyObject
* obj0
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 result
= (long) ((arg1
)->m_itemIndex
);
19155 resultobj
= SWIG_FromLong((long)result
);
19162 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 PyObject
* obj1
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self",(char *) "m_col", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19175 arg2
= (int) SWIG_AsInt(obj1
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19177 if (arg1
) (arg1
)->m_col
= arg2
;
19179 Py_INCREF(Py_None
); resultobj
= Py_None
;
19186 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 result
= (int) ((arg1
)->m_col
);
19200 resultobj
= SWIG_FromInt((int)result
);
19207 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19210 wxPoint
*arg2
= (wxPoint
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self",(char *) "m_pointDrag", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19222 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19224 Py_INCREF(Py_None
); resultobj
= Py_None
;
19231 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19252 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19255 wxListItem
*result
;
19256 PyObject
* obj0
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19264 result
= (wxListItem
*)& ((arg1
)->m_item
);
19267 resultobj
= wxPyMake_wxObject(result
);
19275 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "self", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (int)(arg1
)->GetKeyCode();
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_FromInt((int)result
);
19301 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 char *kwnames
[] = {
19307 (char *) "self", NULL
19310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 result
= (long)(arg1
)->GetIndex();
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_FromLong((long)result
);
19327 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19331 PyObject
* obj0
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (int)(arg1
)->GetColumn();
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_FromInt((int)result
);
19353 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= (arg1
)->GetPoint();
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19373 wxPoint
* resultptr
;
19374 resultptr
= new wxPoint((wxPoint
&) result
);
19375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19383 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 wxString
const &_result_ref
= (arg1
)->GetLabel();
19399 result
= (wxString
*) &_result_ref
;
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19409 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19418 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 wxString
const &_result_ref
= (arg1
)->GetText();
19434 result
= (wxString
*) &_result_ref
;
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19442 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19444 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19453 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
;
19455 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19457 PyObject
* obj0
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= (int)(arg1
)->GetImage();
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_FromInt((int)result
);
19479 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
;
19481 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19483 PyObject
* obj0
= 0 ;
19484 char *kwnames
[] = {
19485 (char *) "self", NULL
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (long)(arg1
)->GetData();
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= SWIG_FromLong((long)result
);
19505 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (long)(arg1
)->GetMask();
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= SWIG_FromLong((long)result
);
19531 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19534 wxListItem
*result
;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19547 result
= (wxListItem
*) &_result_ref
;
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19560 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (long)(arg1
)->GetCacheFrom();
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_FromLong((long)result
);
19586 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (long)(arg1
)->GetCacheTo();
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_FromLong((long)result
);
19612 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19638 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self",(char *) "editCancelled", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19651 arg2
= (bool) SWIG_AsBool(obj1
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 (arg1
)->SetEditCanceled(arg2
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 Py_INCREF(Py_None
); resultobj
= Py_None
;
19667 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
19669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19670 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19672 return Py_BuildValue((char *)"");
19674 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxWindow
*arg1
= (wxWindow
*) 0 ;
19677 int arg2
= (int) -1 ;
19678 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19679 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19680 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19681 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19682 long arg5
= (long) wxLC_ICON
;
19683 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19684 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19685 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19686 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19687 wxPyListCtrl
*result
;
19690 bool temp7
= False
;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 PyObject
* obj2
= 0 ;
19694 PyObject
* obj3
= 0 ;
19695 PyObject
* obj4
= 0 ;
19696 PyObject
* obj5
= 0 ;
19697 PyObject
* obj6
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19706 arg2
= (int) SWIG_AsInt(obj1
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19712 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19718 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19722 arg5
= (long) SWIG_AsLong(obj4
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19726 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
19727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19729 if (arg6
== NULL
) {
19730 PyErr_SetString(PyExc_TypeError
,"null reference");
19736 arg7
= wxString_in_helper(obj6
);
19737 if (arg7
== NULL
) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19763 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxPyListCtrl
*result
;
19766 char *kwnames
[] = {
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19785 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19788 wxWindow
*arg2
= (wxWindow
*) 0 ;
19789 int arg3
= (int) -1 ;
19790 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19791 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19792 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19793 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19794 long arg6
= (long) wxLC_ICON
;
19795 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19796 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19797 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19798 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19802 bool temp8
= False
;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 PyObject
* obj2
= 0 ;
19806 PyObject
* obj3
= 0 ;
19807 PyObject
* obj4
= 0 ;
19808 PyObject
* obj5
= 0 ;
19809 PyObject
* obj6
= 0 ;
19810 PyObject
* obj7
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19821 arg3
= (int) SWIG_AsInt(obj2
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19833 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19837 arg6
= (long) SWIG_AsLong(obj5
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19844 if (arg7
== NULL
) {
19845 PyErr_SetString(PyExc_TypeError
,"null reference");
19851 arg8
= wxString_in_helper(obj7
);
19852 if (arg8
== NULL
) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19878 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19881 PyObject
*arg2
= (PyObject
*) 0 ;
19882 PyObject
*arg3
= (PyObject
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 PyObject
* obj1
= 0 ;
19885 PyObject
* obj2
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self",(char *) "self",(char *) "_class", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 Py_INCREF(Py_None
); resultobj
= Py_None
;
19909 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19912 wxColour
*arg2
= 0 ;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self",(char *) "col", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
19923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19926 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19942 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19945 wxColour
*arg2
= 0 ;
19948 PyObject
* obj0
= 0 ;
19949 PyObject
* obj1
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self",(char *) "col", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19975 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19979 wxListItem
*result
;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "col", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
19988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19989 arg2
= (int) SWIG_AsInt(obj1
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= wxPyMake_wxObject(result
);
20007 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20011 wxListItem
*arg3
= 0 ;
20013 PyObject
* obj0
= 0 ;
20014 PyObject
* obj1
= 0 ;
20015 PyObject
* obj2
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self",(char *) "col",(char *) "item", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20023 arg2
= (int) SWIG_AsInt(obj1
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20025 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20028 if (arg3
== NULL
) {
20029 PyErr_SetString(PyExc_TypeError
,"null reference");
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20046 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 PyObject
* obj1
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self",(char *) "col", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20060 arg2
= (int) SWIG_AsInt(obj1
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= SWIG_FromInt((int)result
);
20076 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
;
20078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 PyObject
* obj2
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "self",(char *) "col",(char *) "width", NULL
20089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20092 arg2
= (int) SWIG_AsInt(obj1
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20094 arg3
= (int) SWIG_AsInt(obj2
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20110 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
;
20112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20114 PyObject
* obj0
= 0 ;
20115 char *kwnames
[] = {
20116 (char *) "self", NULL
20119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= SWIG_FromInt((int)result
);
20136 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
;
20138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20156 wxRect
* resultptr
;
20157 resultptr
= new wxRect((wxRect
&) result
);
20158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20166 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20170 int arg3
= (int) 0 ;
20171 wxListItem
*result
;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 PyObject
* obj2
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self",(char *) "itemId",(char *) "col", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20182 arg2
= (long) SWIG_AsLong(obj1
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 arg3
= (int) SWIG_AsInt(obj2
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= wxPyMake_wxObject(result
);
20204 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20207 wxListItem
*arg2
= 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "info", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20221 if (arg2
== NULL
) {
20222 PyErr_SetString(PyExc_TypeError
,"null reference");
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (bool)(arg1
)->SetItem(*arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20239 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20244 wxString
*arg4
= 0 ;
20245 int arg5
= (int) -1 ;
20247 bool temp4
= False
;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 PyObject
* obj2
= 0 ;
20251 PyObject
* obj3
= 0 ;
20252 PyObject
* obj4
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20260 arg2
= (long) SWIG_AsLong(obj1
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20262 arg3
= (int) SWIG_AsInt(obj2
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 arg4
= wxString_in_helper(obj3
);
20266 if (arg4
== NULL
) SWIG_fail
;
20270 arg5
= (int) SWIG_AsInt(obj4
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_FromLong((long)result
);
20295 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
;
20297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20301 PyObject
* obj0
= 0 ;
20302 PyObject
* obj1
= 0 ;
20303 PyObject
* obj2
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20311 arg2
= (long) SWIG_AsLong(obj1
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20313 arg3
= (long) SWIG_AsLong(obj2
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_FromInt((int)result
);
20329 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 PyObject
* obj1
= 0 ;
20338 PyObject
* obj2
= 0 ;
20339 PyObject
* obj3
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20347 arg2
= (long) SWIG_AsLong(obj1
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20349 arg3
= (long) SWIG_AsLong(obj2
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20351 arg4
= (long) SWIG_AsLong(obj3
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20367 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 PyObject
* obj2
= 0 ;
20377 PyObject
* obj3
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 arg2
= (long) SWIG_AsLong(obj1
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20387 arg3
= (int) SWIG_AsInt(obj2
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20389 arg4
= (int) SWIG_AsInt(obj3
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20405 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20412 char *kwnames
[] = {
20413 (char *) "self",(char *) "item", NULL
20416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 arg2
= (long) SWIG_AsLong(obj1
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20441 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20445 wxString
*arg3
= 0 ;
20446 bool temp3
= False
;
20447 PyObject
* obj0
= 0 ;
20448 PyObject
* obj1
= 0 ;
20449 PyObject
* obj2
= 0 ;
20450 char *kwnames
[] = {
20451 (char *) "self",(char *) "item",(char *) "str", NULL
20454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20457 arg2
= (long) SWIG_AsLong(obj1
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 arg3
= wxString_in_helper(obj2
);
20461 if (arg3
== NULL
) SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 Py_INCREF(Py_None
); resultobj
= Py_None
;
20486 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
;
20488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self",(char *) "item", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20500 arg2
= (long) SWIG_AsLong(obj1
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_FromLong((long)result
);
20516 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20522 PyObject
* obj0
= 0 ;
20523 PyObject
* obj1
= 0 ;
20524 PyObject
* obj2
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self",(char *) "item",(char *) "data", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20532 arg2
= (long) SWIG_AsLong(obj1
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20534 arg3
= (long) SWIG_AsLong(obj2
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20550 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "item", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20564 arg2
= (long) SWIG_AsLong(obj1
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20574 wxPoint
* resultptr
;
20575 resultptr
= new wxPoint((wxPoint
&) result
);
20576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20584 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20588 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 PyObject
* obj2
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self",(char *) "item",(char *) "code", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20600 arg2
= (long) SWIG_AsLong(obj1
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 arg3
= (int) SWIG_AsInt(obj2
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20614 wxRect
* resultptr
;
20615 resultptr
= new wxRect((wxRect
&) result
);
20616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20624 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20628 wxPoint
*arg3
= 0 ;
20631 PyObject
* obj0
= 0 ;
20632 PyObject
* obj1
= 0 ;
20633 PyObject
* obj2
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self",(char *) "item",(char *) "pos", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20641 arg2
= (long) SWIG_AsLong(obj1
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20661 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= SWIG_FromInt((int)result
);
20687 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_FromInt((int)result
);
20713 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20733 wxSize
* resultptr
;
20734 resultptr
= new wxSize((wxSize
&) result
);
20735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20743 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20747 bool arg3
= (bool) False
;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 PyObject
* obj2
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20758 arg2
= (int) SWIG_AsInt(obj1
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 arg3
= (bool) SWIG_AsBool(obj2
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 (arg1
)->SetItemSpacing(arg2
,arg3
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 Py_INCREF(Py_None
); resultobj
= Py_None
;
20778 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20782 PyObject
* obj0
= 0 ;
20783 char *kwnames
[] = {
20784 (char *) "self", NULL
20787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= SWIG_FromInt((int)result
);
20804 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20808 PyObject
* obj0
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20824 wxColour
* resultptr
;
20825 resultptr
= new wxColour((wxColour
&) result
);
20826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20834 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20837 wxColour
*arg2
= 0 ;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self",(char *) "col", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 Py_INCREF(Py_None
); resultobj
= Py_None
;
20866 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_FromLong((long)result
);
20892 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20896 bool arg3
= (bool) True
;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 PyObject
* obj2
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "self",(char *) "style",(char *) "add", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 arg2
= (long) SWIG_AsLong(obj1
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 arg3
= (bool) SWIG_AsBool(obj2
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 (arg1
)->SetSingleStyle(arg2
,arg3
);
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 Py_INCREF(Py_None
); resultobj
= Py_None
;
20927 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20931 PyObject
* obj0
= 0 ;
20932 PyObject
* obj1
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self",(char *) "style", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
20938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20940 arg2
= (long) SWIG_AsLong(obj1
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 (arg1
)->SetWindowStyleFlag(arg2
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 Py_INCREF(Py_None
); resultobj
= Py_None
;
20956 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20960 int arg3
= (int) wxLIST_NEXT_ALL
;
20961 int arg4
= (int) wxLIST_STATE_DONTCARE
;
20963 PyObject
* obj0
= 0 ;
20964 PyObject
* obj1
= 0 ;
20965 PyObject
* obj2
= 0 ;
20966 PyObject
* obj3
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20974 arg2
= (long) SWIG_AsLong(obj1
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 arg3
= (int) SWIG_AsInt(obj2
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20981 arg4
= (int) SWIG_AsInt(obj3
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= SWIG_FromLong((long)result
);
20998 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21002 wxImageList
*result
;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self",(char *) "which", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21012 arg2
= (int) SWIG_AsInt(obj1
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= wxPyMake_wxObject(result
);
21030 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21033 wxImageList
*arg2
= (wxImageList
*) 0 ;
21035 PyObject
* obj0
= 0 ;
21036 PyObject
* obj1
= 0 ;
21037 PyObject
* obj2
= 0 ;
21038 char *kwnames
[] = {
21039 (char *) "self",(char *) "imageList",(char *) "which", NULL
21042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21047 arg3
= (int) SWIG_AsInt(obj2
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 (arg1
)->SetImageList(arg2
,arg3
);
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 Py_INCREF(Py_None
); resultobj
= Py_None
;
21063 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21066 wxImageList
*arg2
= (wxImageList
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 PyObject
* obj2
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self",(char *) "imageList",(char *) "which", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21079 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21080 arg3
= (int) SWIG_AsInt(obj2
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 (arg1
)->AssignImageList(arg2
,arg3
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 Py_INCREF(Py_None
); resultobj
= Py_None
;
21096 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21122 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self",(char *) "item", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21135 arg2
= (long) SWIG_AsLong(obj1
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 (arg1
)->RefreshItem(arg2
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 Py_INCREF(Py_None
); resultobj
= Py_None
;
21151 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 PyObject
* obj2
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21166 arg2
= (long) SWIG_AsLong(obj1
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21168 arg3
= (long) SWIG_AsLong(obj2
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 (arg1
)->RefreshItems(arg2
,arg3
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 Py_INCREF(Py_None
); resultobj
= Py_None
;
21184 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21187 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self",(char *) "flag", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21199 arg2
= (int) SWIG_AsInt(obj1
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (bool)(arg1
)->Arrange(arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21216 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "item", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21230 arg2
= (long) SWIG_AsLong(obj1
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (bool)(arg1
)->DeleteItem(arg2
);
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21246 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21250 PyObject
* obj0
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= (bool)(arg1
)->DeleteAllItems();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21272 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self",(char *) "col", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21286 arg2
= (int) SWIG_AsInt(obj1
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21302 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21306 PyObject
* obj0
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= (bool)(arg1
)->DeleteAllColumns();
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21328 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 (arg1
)->ClearAll();
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 Py_INCREF(Py_None
); resultobj
= Py_None
;
21353 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21357 PyObject
* obj0
= 0 ;
21358 PyObject
* obj1
= 0 ;
21359 char *kwnames
[] = {
21360 (char *) "self",(char *) "item", NULL
21363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21366 arg2
= (long) SWIG_AsLong(obj1
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 (arg1
)->EditLabel(arg2
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 Py_INCREF(Py_None
); resultobj
= Py_None
;
21382 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self",(char *) "item", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21396 arg2
= (long) SWIG_AsLong(obj1
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21412 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
;
21414 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21416 wxString
*arg3
= 0 ;
21417 bool arg4
= (bool) False
;
21419 bool temp3
= False
;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 PyObject
* obj2
= 0 ;
21423 PyObject
* obj3
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21431 arg2
= (long) SWIG_AsLong(obj1
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 arg3
= wxString_in_helper(obj2
);
21435 if (arg3
== NULL
) SWIG_fail
;
21439 arg4
= (bool) SWIG_AsBool(obj3
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 resultobj
= SWIG_FromLong((long)result
);
21464 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
;
21466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 PyObject
* obj2
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "start",(char *) "data", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21480 arg2
= (long) SWIG_AsLong(obj1
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21482 arg3
= (long) SWIG_AsLong(obj2
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= SWIG_FromLong((long)result
);
21498 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21502 wxPoint
*arg3
= 0 ;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 PyObject
* obj2
= 0 ;
21509 PyObject
* obj3
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21517 arg2
= (long) SWIG_AsLong(obj1
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21523 arg4
= (int) SWIG_AsInt(obj3
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= SWIG_FromLong((long)result
);
21539 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21542 wxPoint
*arg2
= 0 ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "point", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 resultobj
= SWIG_FromLong((long)result
);
21570 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21571 resultobj
= t_output_helper(resultobj
,o
);
21579 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21582 wxListItem
*arg2
= 0 ;
21584 PyObject
* obj0
= 0 ;
21585 PyObject
* obj1
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self",(char *) "info", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21596 if (arg2
== NULL
) {
21597 PyErr_SetString(PyExc_TypeError
,"null reference");
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 result
= (long)(arg1
)->InsertItem(*arg2
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_FromLong((long)result
);
21614 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21618 wxString
*arg3
= 0 ;
21620 bool temp3
= False
;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 PyObject
* obj2
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "index",(char *) "label", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 arg2
= (long) SWIG_AsLong(obj1
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 arg3
= wxString_in_helper(obj2
);
21635 if (arg3
== NULL
) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= SWIG_FromLong((long)result
);
21660 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21666 PyObject
* obj0
= 0 ;
21667 PyObject
* obj1
= 0 ;
21668 PyObject
* obj2
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21676 arg2
= (long) SWIG_AsLong(obj1
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21678 arg3
= (int) SWIG_AsInt(obj2
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= SWIG_FromLong((long)result
);
21694 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21698 wxString
*arg3
= 0 ;
21701 bool temp3
= False
;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 PyObject
* obj3
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21713 arg2
= (long) SWIG_AsLong(obj1
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 arg3
= wxString_in_helper(obj2
);
21717 if (arg3
== NULL
) SWIG_fail
;
21720 arg4
= (int) SWIG_AsInt(obj3
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= SWIG_FromLong((long)result
);
21744 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21748 wxListItem
*arg3
= 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 PyObject
* obj2
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self",(char *) "col",(char *) "info", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 arg2
= (long) SWIG_AsLong(obj1
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21762 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21765 if (arg3
== NULL
) {
21766 PyErr_SetString(PyExc_TypeError
,"null reference");
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= SWIG_FromLong((long)result
);
21783 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21787 wxString
*arg3
= 0 ;
21788 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21789 int arg5
= (int) -1 ;
21791 bool temp3
= False
;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 PyObject
* obj2
= 0 ;
21795 PyObject
* obj3
= 0 ;
21796 PyObject
* obj4
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21804 arg2
= (long) SWIG_AsLong(obj1
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 arg3
= wxString_in_helper(obj2
);
21808 if (arg3
== NULL
) SWIG_fail
;
21812 arg4
= (int) SWIG_AsInt(obj3
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21816 arg5
= (int) SWIG_AsInt(obj4
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= SWIG_FromLong((long)result
);
21841 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
;
21843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "count", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21854 arg2
= (long) SWIG_AsLong(obj1
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 (arg1
)->SetItemCount(arg2
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 Py_INCREF(Py_None
); resultobj
= Py_None
;
21870 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21876 PyObject
* obj0
= 0 ;
21877 PyObject
* obj1
= 0 ;
21878 PyObject
* obj2
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self",(char *) "dx",(char *) "dy", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 arg2
= (int) SWIG_AsInt(obj1
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21888 arg3
= (int) SWIG_AsInt(obj2
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21904 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21908 wxColour
*arg3
= 0 ;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 PyObject
* obj2
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self",(char *) "item",(char *) "col", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21920 arg2
= (long) SWIG_AsLong(obj1
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21924 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 Py_INCREF(Py_None
); resultobj
= Py_None
;
21940 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 char *kwnames
[] = {
21948 (char *) "self",(char *) "item", NULL
21951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21954 arg2
= (long) SWIG_AsLong(obj1
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 wxColour
* resultptr
;
21965 resultptr
= new wxColour((wxColour
&) result
);
21966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21974 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21978 wxColour
*arg3
= 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 PyObject
* obj2
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self",(char *) "item",(char *) "col", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21990 arg2
= (long) SWIG_AsLong(obj1
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21994 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 Py_INCREF(Py_None
); resultobj
= Py_None
;
22010 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "item", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 arg2
= (long) SWIG_AsLong(obj1
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 wxColour
* resultptr
;
22035 resultptr
= new wxColour((wxColour
&) result
);
22036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22044 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22047 PyObject
*arg2
= (PyObject
*) 0 ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "func", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22073 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22077 PyObject
* obj0
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= wxPyMake_wxObject(result
);
22101 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
22103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22104 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22106 return Py_BuildValue((char *)"");
22108 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxWindow
*arg1
= (wxWindow
*) 0 ;
22111 int arg2
= (int) -1 ;
22112 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22113 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22114 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22115 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22116 long arg5
= (long) wxLC_REPORT
;
22117 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22118 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22119 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22121 wxListView
*result
;
22124 bool temp7
= False
;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 PyObject
* obj2
= 0 ;
22128 PyObject
* obj3
= 0 ;
22129 PyObject
* obj4
= 0 ;
22130 PyObject
* obj5
= 0 ;
22131 PyObject
* obj6
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 arg2
= (int) SWIG_AsInt(obj1
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22152 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22156 arg5
= (long) SWIG_AsLong(obj4
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22160 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22163 if (arg6
== NULL
) {
22164 PyErr_SetString(PyExc_TypeError
,"null reference");
22170 arg7
= wxString_in_helper(obj6
);
22171 if (arg7
== NULL
) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22197 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxListView
*result
;
22200 char *kwnames
[] = {
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (wxListView
*)new wxListView();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22219 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxListView
*arg1
= (wxListView
*) 0 ;
22222 wxWindow
*arg2
= (wxWindow
*) 0 ;
22223 int arg3
= (int) -1 ;
22224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22228 long arg6
= (long) wxLC_REPORT
;
22229 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22230 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22231 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22236 bool temp8
= False
;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 PyObject
* obj2
= 0 ;
22240 PyObject
* obj3
= 0 ;
22241 PyObject
* obj4
= 0 ;
22242 PyObject
* obj5
= 0 ;
22243 PyObject
* obj6
= 0 ;
22244 PyObject
* obj7
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22255 arg3
= (int) SWIG_AsInt(obj2
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22271 arg6
= (long) SWIG_AsLong(obj5
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22275 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22278 if (arg7
== NULL
) {
22279 PyErr_SetString(PyExc_TypeError
,"null reference");
22285 arg8
= wxString_in_helper(obj7
);
22286 if (arg8
== NULL
) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22312 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxListView
*arg1
= (wxListView
*) 0 ;
22316 bool arg3
= (bool) True
;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 PyObject
* obj2
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self",(char *) "n",(char *) "on", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22327 arg2
= (long) SWIG_AsLong(obj1
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 arg3
= (bool) SWIG_AsBool(obj2
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 (arg1
)->Select(arg2
,arg3
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 Py_INCREF(Py_None
); resultobj
= Py_None
;
22347 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxListView
*arg1
= (wxListView
*) 0 ;
22351 PyObject
* obj0
= 0 ;
22352 PyObject
* obj1
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self",(char *) "index", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22360 arg2
= (long) SWIG_AsLong(obj1
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 (arg1
)->Focus(arg2
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 Py_INCREF(Py_None
); resultobj
= Py_None
;
22376 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxListView
*arg1
= (wxListView
*) 0 ;
22380 PyObject
* obj0
= 0 ;
22381 char *kwnames
[] = {
22382 (char *) "self", NULL
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= SWIG_FromLong((long)result
);
22402 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxListView
*arg1
= (wxListView
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self",(char *) "item", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22416 arg2
= (long) SWIG_AsLong(obj1
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_FromLong((long)result
);
22432 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxListView
*arg1
= (wxListView
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_FromLong((long)result
);
22458 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxListView
*arg1
= (wxListView
*) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 PyObject
* obj1
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self",(char *) "index", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22472 arg2
= (long) SWIG_AsLong(obj1
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= (bool)(arg1
)->IsSelected(arg2
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22488 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxListView
*arg1
= (wxListView
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 PyObject
* obj2
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self",(char *) "col",(char *) "image", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 arg2
= (int) SWIG_AsInt(obj1
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22505 arg3
= (int) SWIG_AsInt(obj2
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->SetColumnImage(arg2
,arg3
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxListView
*arg1
= (wxListView
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "col", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22534 arg2
= (int) SWIG_AsInt(obj1
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 (arg1
)->ClearColumnImage(arg2
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 Py_INCREF(Py_None
); resultobj
= Py_None
;
22550 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
22552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22553 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22555 return Py_BuildValue((char *)"");
22557 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22558 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22563 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22568 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22570 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22577 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxTreeItemId
*result
;
22580 char *kwnames
[] = {
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (wxTreeItemId
*)new wxTreeItemId();
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22599 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22602 PyObject
* obj0
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 Py_INCREF(Py_None
); resultobj
= Py_None
;
22624 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22626 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22650 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22653 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "other", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22680 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22683 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self",(char *) "other", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22710 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
;
22712 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22713 void *arg2
= (void *) 0 ;
22714 PyObject
* obj0
= 0 ;
22715 PyObject
* obj1
= 0 ;
22716 char *kwnames
[] = {
22717 (char *) "self",(char *) "m_pItem", NULL
22720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22723 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22724 if (arg1
) (arg1
)->m_pItem
= arg2
;
22726 Py_INCREF(Py_None
); resultobj
= Py_None
;
22733 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22745 result
= (void *) ((arg1
)->m_pItem
);
22747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
22754 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
22756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22757 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22759 return Py_BuildValue((char *)"");
22761 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 PyObject
*arg1
= (PyObject
*) NULL
;
22764 wxPyTreeItemData
*result
;
22765 PyObject
* obj0
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "obj", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
22788 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 result
= (PyObject
*)(arg1
)->GetData();
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= result
;
22814 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22817 PyObject
*arg2
= (PyObject
*) 0 ;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self",(char *) "obj", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 (arg1
)->SetData(arg2
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 Py_INCREF(Py_None
); resultobj
= Py_None
;
22842 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22845 wxTreeItemId
*result
;
22846 PyObject
* obj0
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
22852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
22858 result
= (wxTreeItemId
*) &_result_ref
;
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
22871 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22874 wxTreeItemId
*arg2
= 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self",(char *) "id", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22887 if (arg2
== NULL
) {
22888 PyErr_SetString(PyExc_TypeError
,"null reference");
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 Py_INCREF(Py_None
); resultobj
= Py_None
;
22905 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22908 PyObject
* obj0
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 wxPyTreeItemData_Destroy(arg1
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 Py_INCREF(Py_None
); resultobj
= Py_None
;
22930 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
22932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22933 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
22935 return Py_BuildValue((char *)"");
22937 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22940 int arg2
= (int) 0 ;
22941 wxTreeEvent
*result
;
22942 PyObject
* obj0
= 0 ;
22943 PyObject
* obj1
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "commandType",(char *) "id", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22950 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22954 arg2
= (int) SWIG_AsInt(obj1
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
22971 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22973 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22974 wxTreeItemId result
;
22975 PyObject
* obj0
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
22981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
22982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22991 wxTreeItemId
* resultptr
;
22992 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23001 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23004 wxTreeItemId
*arg2
= 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self",(char *) "item", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23017 if (arg2
== NULL
) {
23018 PyErr_SetString(PyExc_TypeError
,"null reference");
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 Py_INCREF(Py_None
); resultobj
= Py_None
;
23035 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23038 wxTreeItemId result
;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23055 wxTreeItemId
* resultptr
;
23056 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23065 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23068 wxTreeItemId
*arg2
= 0 ;
23069 PyObject
* obj0
= 0 ;
23070 PyObject
* obj1
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self",(char *) "item", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23081 if (arg2
== NULL
) {
23082 PyErr_SetString(PyExc_TypeError
,"null reference");
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 Py_INCREF(Py_None
); resultobj
= Py_None
;
23099 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23103 PyObject
* obj0
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 wxPoint
* resultptr
;
23120 resultptr
= new wxPoint((wxPoint
&) result
);
23121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23129 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23132 wxPoint
*arg2
= 0 ;
23134 PyObject
* obj0
= 0 ;
23135 PyObject
* obj1
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self",(char *) "pt", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 Py_INCREF(Py_None
); resultobj
= Py_None
;
23161 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23164 wxKeyEvent
*result
;
23165 PyObject
* obj0
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23177 result
= (wxKeyEvent
*) &_result_ref
;
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23190 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= SWIG_FromInt((int)result
);
23216 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23219 wxKeyEvent
*arg2
= 0 ;
23220 PyObject
* obj0
= 0 ;
23221 PyObject
* obj1
= 0 ;
23222 char *kwnames
[] = {
23223 (char *) "self",(char *) "evt", NULL
23226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23232 if (arg2
== NULL
) {
23233 PyErr_SetString(PyExc_TypeError
,"null reference");
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 Py_INCREF(Py_None
); resultobj
= Py_None
;
23250 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23254 PyObject
* obj0
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23266 result
= (wxString
*) &_result_ref
;
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23276 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23285 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23288 wxString
*arg2
= 0 ;
23289 bool temp2
= False
;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "self",(char *) "label", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23300 arg2
= wxString_in_helper(obj1
);
23301 if (arg2
== NULL
) SWIG_fail
;
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 (arg1
)->SetLabel((wxString
const &)*arg2
);
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 Py_INCREF(Py_None
); resultobj
= Py_None
;
23326 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23352 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self",(char *) "editCancelled", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23365 arg2
= (bool) SWIG_AsBool(obj1
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 (arg1
)->SetEditCanceled(arg2
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 Py_INCREF(Py_None
); resultobj
= Py_None
;
23381 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23384 wxString
*arg2
= 0 ;
23385 bool temp2
= False
;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 char *kwnames
[] = {
23389 (char *) "self",(char *) "toolTip", NULL
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23396 arg2
= wxString_in_helper(obj1
);
23397 if (arg2
== NULL
) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 Py_INCREF(Py_None
); resultobj
= Py_None
;
23422 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
23424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23425 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23427 return Py_BuildValue((char *)"");
23429 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
;
23431 wxWindow
*arg1
= (wxWindow
*) 0 ;
23432 int arg2
= (int) -1 ;
23433 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23434 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23435 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23436 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23437 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23438 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23439 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23440 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23441 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23442 wxPyTreeCtrl
*result
;
23445 bool temp7
= False
;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 PyObject
* obj2
= 0 ;
23449 PyObject
* obj3
= 0 ;
23450 PyObject
* obj4
= 0 ;
23451 PyObject
* obj5
= 0 ;
23452 PyObject
* obj6
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 arg2
= (int) SWIG_AsInt(obj1
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23473 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23477 arg5
= (long) SWIG_AsLong(obj4
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23484 if (arg6
== NULL
) {
23485 PyErr_SetString(PyExc_TypeError
,"null reference");
23491 arg7
= wxString_in_helper(obj6
);
23492 if (arg7
== NULL
) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23504 resultobj
= wxPyMake_wxObject(result
);
23520 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxPyTreeCtrl
*result
;
23523 char *kwnames
[] = {
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= wxPyMake_wxObject(result
);
23544 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23547 wxWindow
*arg2
= (wxWindow
*) 0 ;
23548 int arg3
= (int) -1 ;
23549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23553 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23554 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23555 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23556 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23557 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23561 bool temp8
= False
;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 PyObject
* obj2
= 0 ;
23565 PyObject
* obj3
= 0 ;
23566 PyObject
* obj4
= 0 ;
23567 PyObject
* obj5
= 0 ;
23568 PyObject
* obj6
= 0 ;
23569 PyObject
* obj7
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 arg3
= (int) SWIG_AsInt(obj2
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23596 arg6
= (long) SWIG_AsLong(obj5
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23600 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23603 if (arg7
== NULL
) {
23604 PyErr_SetString(PyExc_TypeError
,"null reference");
23610 arg8
= wxString_in_helper(obj7
);
23611 if (arg8
== NULL
) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23637 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23640 PyObject
*arg2
= (PyObject
*) 0 ;
23641 PyObject
*arg3
= (PyObject
*) 0 ;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 PyObject
* obj2
= 0 ;
23645 char *kwnames
[] = {
23646 (char *) "self",(char *) "self",(char *) "_class", NULL
23649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 Py_INCREF(Py_None
); resultobj
= Py_None
;
23668 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23672 PyObject
* obj0
= 0 ;
23673 char *kwnames
[] = {
23674 (char *) "self", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
23694 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
;
23696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23697 unsigned int result
;
23698 PyObject
* obj0
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
23720 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23723 unsigned int arg2
;
23724 PyObject
* obj0
= 0 ;
23725 PyObject
* obj1
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self",(char *) "indent", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23733 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 (arg1
)->SetIndent(arg2
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 Py_INCREF(Py_None
); resultobj
= Py_None
;
23749 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23752 unsigned int result
;
23753 PyObject
* obj0
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
23775 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23778 unsigned int arg2
;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self",(char *) "spacing", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23788 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 (arg1
)->SetSpacing(arg2
);
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 Py_INCREF(Py_None
); resultobj
= Py_None
;
23804 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23807 wxImageList
*result
;
23808 PyObject
* obj0
= 0 ;
23809 char *kwnames
[] = {
23810 (char *) "self", NULL
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= wxPyMake_wxObject(result
);
23832 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23835 wxImageList
*result
;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= wxPyMake_wxObject(result
);
23860 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23863 wxImageList
*arg2
= (wxImageList
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 PyObject
* obj1
= 0 ;
23866 char *kwnames
[] = {
23867 (char *) "self",(char *) "imageList", NULL
23870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 (arg1
)->SetImageList(arg2
);
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 Py_INCREF(Py_None
); resultobj
= Py_None
;
23889 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23892 wxImageList
*arg2
= (wxImageList
*) 0 ;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "self",(char *) "imageList", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 (arg1
)->SetStateImageList(arg2
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 Py_INCREF(Py_None
); resultobj
= Py_None
;
23918 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23921 wxImageList
*arg2
= (wxImageList
*) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self",(char *) "imageList", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23932 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 (arg1
)->AssignImageList(arg2
);
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 Py_INCREF(Py_None
); resultobj
= Py_None
;
23947 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23950 wxImageList
*arg2
= (wxImageList
*) 0 ;
23951 PyObject
* obj0
= 0 ;
23952 PyObject
* obj1
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "self",(char *) "imageList", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23961 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 (arg1
)->AssignStateImageList(arg2
);
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 Py_INCREF(Py_None
); resultobj
= Py_None
;
23976 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23979 wxTreeItemId
*arg2
= 0 ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self",(char *) "item", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
23988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23993 if (arg2
== NULL
) {
23994 PyErr_SetString(PyExc_TypeError
,"null reference");
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24017 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24020 wxTreeItemId
*arg2
= 0 ;
24021 int arg3
= (int) wxTreeItemIcon_Normal
;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 PyObject
* obj2
= 0 ;
24026 char *kwnames
[] = {
24027 (char *) "self",(char *) "item",(char *) "which", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24036 if (arg2
== NULL
) {
24037 PyErr_SetString(PyExc_TypeError
,"null reference");
24041 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= SWIG_FromInt((int)result
);
24058 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24061 wxTreeItemId
*arg2
= 0 ;
24062 wxPyTreeItemData
*result
;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self",(char *) "item", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24075 if (arg2
== NULL
) {
24076 PyErr_SetString(PyExc_TypeError
,"null reference");
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24093 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24096 wxTreeItemId
*arg2
= 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self",(char *) "item", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24110 if (arg2
== NULL
) {
24111 PyErr_SetString(PyExc_TypeError
,"null reference");
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= result
;
24128 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24131 wxTreeItemId
*arg2
= 0 ;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "item", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24145 if (arg2
== NULL
) {
24146 PyErr_SetString(PyExc_TypeError
,"null reference");
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24157 wxColour
* resultptr
;
24158 resultptr
= new wxColour((wxColour
&) result
);
24159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24167 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24170 wxTreeItemId
*arg2
= 0 ;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self",(char *) "item", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24184 if (arg2
== NULL
) {
24185 PyErr_SetString(PyExc_TypeError
,"null reference");
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24196 wxColour
* resultptr
;
24197 resultptr
= new wxColour((wxColour
&) result
);
24198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24206 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24209 wxTreeItemId
*arg2
= 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "item", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24223 if (arg2
== NULL
) {
24224 PyErr_SetString(PyExc_TypeError
,"null reference");
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24235 wxFont
* resultptr
;
24236 resultptr
= new wxFont((wxFont
&) result
);
24237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24245 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24248 wxTreeItemId
*arg2
= 0 ;
24249 wxString
*arg3
= 0 ;
24250 bool temp3
= False
;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 PyObject
* obj2
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "self",(char *) "item",(char *) "text", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24264 if (arg2
== NULL
) {
24265 PyErr_SetString(PyExc_TypeError
,"null reference");
24269 arg3
= wxString_in_helper(obj2
);
24270 if (arg3
== NULL
) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 Py_INCREF(Py_None
); resultobj
= Py_None
;
24295 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24298 wxTreeItemId
*arg2
= 0 ;
24300 int arg4
= (int) wxTreeItemIcon_Normal
;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 PyObject
* obj2
= 0 ;
24304 PyObject
* obj3
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24315 if (arg2
== NULL
) {
24316 PyErr_SetString(PyExc_TypeError
,"null reference");
24319 arg3
= (int) SWIG_AsInt(obj2
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24322 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 Py_INCREF(Py_None
); resultobj
= Py_None
;
24339 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24342 wxTreeItemId
*arg2
= 0 ;
24343 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 PyObject
* obj2
= 0 ;
24347 char *kwnames
[] = {
24348 (char *) "self",(char *) "item",(char *) "data", NULL
24351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24357 if (arg2
== NULL
) {
24358 PyErr_SetString(PyExc_TypeError
,"null reference");
24361 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 Py_INCREF(Py_None
); resultobj
= Py_None
;
24377 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
;
24379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24380 wxTreeItemId
*arg2
= 0 ;
24381 PyObject
*arg3
= (PyObject
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 PyObject
* obj2
= 0 ;
24385 char *kwnames
[] = {
24386 (char *) "self",(char *) "item",(char *) "obj", NULL
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24395 if (arg2
== NULL
) {
24396 PyErr_SetString(PyExc_TypeError
,"null reference");
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 Py_INCREF(Py_None
); resultobj
= Py_None
;
24414 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24417 wxTreeItemId
*arg2
= 0 ;
24418 bool arg3
= (bool) True
;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 PyObject
* obj2
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self",(char *) "item",(char *) "has", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24432 if (arg2
== NULL
) {
24433 PyErr_SetString(PyExc_TypeError
,"null reference");
24437 arg3
= (bool) SWIG_AsBool(obj2
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 Py_INCREF(Py_None
); resultobj
= Py_None
;
24454 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24457 wxTreeItemId
*arg2
= 0 ;
24458 bool arg3
= (bool) True
;
24459 PyObject
* obj0
= 0 ;
24460 PyObject
* obj1
= 0 ;
24461 PyObject
* obj2
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self",(char *) "item",(char *) "bold", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24472 if (arg2
== NULL
) {
24473 PyErr_SetString(PyExc_TypeError
,"null reference");
24477 arg3
= (bool) SWIG_AsBool(obj2
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24487 Py_INCREF(Py_None
); resultobj
= Py_None
;
24494 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24495 PyObject
*resultobj
;
24496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24497 wxTreeItemId
*arg2
= 0 ;
24498 wxColour
*arg3
= 0 ;
24500 PyObject
* obj0
= 0 ;
24501 PyObject
* obj1
= 0 ;
24502 PyObject
* obj2
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self",(char *) "item",(char *) "col", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24513 if (arg2
== NULL
) {
24514 PyErr_SetString(PyExc_TypeError
,"null reference");
24519 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 Py_INCREF(Py_None
); resultobj
= Py_None
;
24535 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
;
24537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24538 wxTreeItemId
*arg2
= 0 ;
24539 wxColour
*arg3
= 0 ;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 PyObject
* obj2
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "item",(char *) "col", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24554 if (arg2
== NULL
) {
24555 PyErr_SetString(PyExc_TypeError
,"null reference");
24560 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 Py_INCREF(Py_None
); resultobj
= Py_None
;
24576 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24579 wxTreeItemId
*arg2
= 0 ;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 PyObject
* obj2
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self",(char *) "item",(char *) "font", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24594 if (arg2
== NULL
) {
24595 PyErr_SetString(PyExc_TypeError
,"null reference");
24598 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24601 if (arg3
== NULL
) {
24602 PyErr_SetString(PyExc_TypeError
,"null reference");
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 Py_INCREF(Py_None
); resultobj
= Py_None
;
24619 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24622 wxTreeItemId
*arg2
= 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "item", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24636 if (arg2
== NULL
) {
24637 PyErr_SetString(PyExc_TypeError
,"null reference");
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24654 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
;
24656 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24657 wxTreeItemId
*arg2
= 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self",(char *) "item", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24671 if (arg2
== NULL
) {
24672 PyErr_SetString(PyExc_TypeError
,"null reference");
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24689 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24692 wxTreeItemId
*arg2
= 0 ;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 char *kwnames
[] = {
24697 (char *) "self",(char *) "item", NULL
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24706 if (arg2
== NULL
) {
24707 PyErr_SetString(PyExc_TypeError
,"null reference");
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24724 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24727 wxTreeItemId
*arg2
= 0 ;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self",(char *) "item", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24741 if (arg2
== NULL
) {
24742 PyErr_SetString(PyExc_TypeError
,"null reference");
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24759 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24762 wxTreeItemId
*arg2
= 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self",(char *) "item", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24776 if (arg2
== NULL
) {
24777 PyErr_SetString(PyExc_TypeError
,"null reference");
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24794 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24797 wxTreeItemId
*arg2
= 0 ;
24798 bool arg3
= (bool) True
;
24800 PyObject
* obj0
= 0 ;
24801 PyObject
* obj1
= 0 ;
24802 PyObject
* obj2
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self",(char *) "item",(char *) "recursively", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24813 if (arg2
== NULL
) {
24814 PyErr_SetString(PyExc_TypeError
,"null reference");
24818 arg3
= (bool) SWIG_AsBool(obj2
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24828 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24835 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
;
24837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24838 wxTreeItemId result
;
24839 PyObject
* obj0
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24855 wxTreeItemId
* resultptr
;
24856 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24865 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24868 wxTreeItemId result
;
24869 PyObject
* obj0
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24885 wxTreeItemId
* resultptr
;
24886 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24895 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= result
;
24921 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24924 wxTreeItemId
*arg2
= 0 ;
24925 wxTreeItemId result
;
24926 PyObject
* obj0
= 0 ;
24927 PyObject
* obj1
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self",(char *) "item", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24938 if (arg2
== NULL
) {
24939 PyErr_SetString(PyExc_TypeError
,"null reference");
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24950 wxTreeItemId
* resultptr
;
24951 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24960 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24963 wxTreeItemId
*arg2
= 0 ;
24965 PyObject
* obj0
= 0 ;
24966 PyObject
* obj1
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self",(char *) "item", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24977 if (arg2
== NULL
) {
24978 PyErr_SetString(PyExc_TypeError
,"null reference");
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= result
;
24995 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24996 PyObject
*resultobj
;
24997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24998 wxTreeItemId
*arg2
= 0 ;
24999 void *arg3
= (void *) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 PyObject
* obj2
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "item",(char *) "cookie", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25014 if (arg2
== NULL
) {
25015 PyErr_SetString(PyExc_TypeError
,"null reference");
25018 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= result
;
25033 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25036 wxTreeItemId
*arg2
= 0 ;
25037 wxTreeItemId result
;
25038 PyObject
* obj0
= 0 ;
25039 PyObject
* obj1
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self",(char *) "item", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25050 if (arg2
== NULL
) {
25051 PyErr_SetString(PyExc_TypeError
,"null reference");
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25062 wxTreeItemId
* resultptr
;
25063 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25072 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25075 wxTreeItemId
*arg2
= 0 ;
25076 wxTreeItemId result
;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self",(char *) "item", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25089 if (arg2
== NULL
) {
25090 PyErr_SetString(PyExc_TypeError
,"null reference");
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25101 wxTreeItemId
* resultptr
;
25102 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25111 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25114 wxTreeItemId
*arg2
= 0 ;
25115 wxTreeItemId result
;
25116 PyObject
* obj0
= 0 ;
25117 PyObject
* obj1
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self",(char *) "item", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25128 if (arg2
== NULL
) {
25129 PyErr_SetString(PyExc_TypeError
,"null reference");
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25140 wxTreeItemId
* resultptr
;
25141 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25150 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25153 wxTreeItemId result
;
25154 PyObject
* obj0
= 0 ;
25155 char *kwnames
[] = {
25156 (char *) "self", NULL
25159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25170 wxTreeItemId
* resultptr
;
25171 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25180 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25181 PyObject
*resultobj
;
25182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25183 wxTreeItemId
*arg2
= 0 ;
25184 wxTreeItemId result
;
25185 PyObject
* obj0
= 0 ;
25186 PyObject
* obj1
= 0 ;
25187 char *kwnames
[] = {
25188 (char *) "self",(char *) "item", NULL
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25197 if (arg2
== NULL
) {
25198 PyErr_SetString(PyExc_TypeError
,"null reference");
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25205 wxPyEndAllowThreads(__tstate
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25209 wxTreeItemId
* resultptr
;
25210 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25219 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25220 PyObject
*resultobj
;
25221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25222 wxTreeItemId
*arg2
= 0 ;
25223 wxTreeItemId result
;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 char *kwnames
[] = {
25227 (char *) "self",(char *) "item", NULL
25230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25236 if (arg2
== NULL
) {
25237 PyErr_SetString(PyExc_TypeError
,"null reference");
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25248 wxTreeItemId
* resultptr
;
25249 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25258 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
;
25260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25261 wxString
*arg2
= 0 ;
25262 int arg3
= (int) -1 ;
25263 int arg4
= (int) -1 ;
25264 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25265 wxTreeItemId result
;
25266 bool temp2
= False
;
25267 PyObject
* obj0
= 0 ;
25268 PyObject
* obj1
= 0 ;
25269 PyObject
* obj2
= 0 ;
25270 PyObject
* obj3
= 0 ;
25271 PyObject
* obj4
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25280 arg2
= wxString_in_helper(obj1
);
25281 if (arg2
== NULL
) SWIG_fail
;
25285 arg3
= (int) SWIG_AsInt(obj2
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25289 arg4
= (int) SWIG_AsInt(obj3
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25293 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25304 wxTreeItemId
* resultptr
;
25305 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25322 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25325 wxTreeItemId
*arg2
= 0 ;
25326 wxString
*arg3
= 0 ;
25327 int arg4
= (int) -1 ;
25328 int arg5
= (int) -1 ;
25329 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25330 wxTreeItemId result
;
25331 bool temp3
= False
;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 PyObject
* obj2
= 0 ;
25335 PyObject
* obj3
= 0 ;
25336 PyObject
* obj4
= 0 ;
25337 PyObject
* obj5
= 0 ;
25338 char *kwnames
[] = {
25339 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25348 if (arg2
== NULL
) {
25349 PyErr_SetString(PyExc_TypeError
,"null reference");
25353 arg3
= wxString_in_helper(obj2
);
25354 if (arg3
== NULL
) SWIG_fail
;
25358 arg4
= (int) SWIG_AsInt(obj3
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25362 arg5
= (int) SWIG_AsInt(obj4
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25366 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25377 wxTreeItemId
* resultptr
;
25378 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25395 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25398 wxTreeItemId
*arg2
= 0 ;
25399 wxTreeItemId
*arg3
= 0 ;
25400 wxString
*arg4
= 0 ;
25401 int arg5
= (int) -1 ;
25402 int arg6
= (int) -1 ;
25403 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25404 wxTreeItemId result
;
25405 bool temp4
= False
;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 PyObject
* obj2
= 0 ;
25409 PyObject
* obj3
= 0 ;
25410 PyObject
* obj4
= 0 ;
25411 PyObject
* obj5
= 0 ;
25412 PyObject
* obj6
= 0 ;
25413 char *kwnames
[] = {
25414 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25423 if (arg2
== NULL
) {
25424 PyErr_SetString(PyExc_TypeError
,"null reference");
25427 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25430 if (arg3
== NULL
) {
25431 PyErr_SetString(PyExc_TypeError
,"null reference");
25435 arg4
= wxString_in_helper(obj3
);
25436 if (arg4
== NULL
) SWIG_fail
;
25440 arg5
= (int) SWIG_AsInt(obj4
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25444 arg6
= (int) SWIG_AsInt(obj5
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25448 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25459 wxTreeItemId
* resultptr
;
25460 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25477 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25480 wxTreeItemId
*arg2
= 0 ;
25482 wxString
*arg4
= 0 ;
25483 int arg5
= (int) -1 ;
25484 int arg6
= (int) -1 ;
25485 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25486 wxTreeItemId result
;
25487 bool temp4
= False
;
25488 PyObject
* obj0
= 0 ;
25489 PyObject
* obj1
= 0 ;
25490 PyObject
* obj2
= 0 ;
25491 PyObject
* obj3
= 0 ;
25492 PyObject
* obj4
= 0 ;
25493 PyObject
* obj5
= 0 ;
25494 PyObject
* obj6
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25505 if (arg2
== NULL
) {
25506 PyErr_SetString(PyExc_TypeError
,"null reference");
25509 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 arg4
= wxString_in_helper(obj3
);
25513 if (arg4
== NULL
) SWIG_fail
;
25517 arg5
= (int) SWIG_AsInt(obj4
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25521 arg6
= (int) SWIG_AsInt(obj5
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25525 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25536 wxTreeItemId
* resultptr
;
25537 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25554 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25557 wxTreeItemId
*arg2
= 0 ;
25558 wxString
*arg3
= 0 ;
25559 int arg4
= (int) -1 ;
25560 int arg5
= (int) -1 ;
25561 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25562 wxTreeItemId result
;
25563 bool temp3
= False
;
25564 PyObject
* obj0
= 0 ;
25565 PyObject
* obj1
= 0 ;
25566 PyObject
* obj2
= 0 ;
25567 PyObject
* obj3
= 0 ;
25568 PyObject
* obj4
= 0 ;
25569 PyObject
* obj5
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25580 if (arg2
== NULL
) {
25581 PyErr_SetString(PyExc_TypeError
,"null reference");
25585 arg3
= wxString_in_helper(obj2
);
25586 if (arg3
== NULL
) SWIG_fail
;
25590 arg4
= (int) SWIG_AsInt(obj3
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25594 arg5
= (int) SWIG_AsInt(obj4
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25609 wxTreeItemId
* resultptr
;
25610 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25627 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25630 wxTreeItemId
*arg2
= 0 ;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 char *kwnames
[] = {
25634 (char *) "self",(char *) "item", NULL
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25643 if (arg2
== NULL
) {
25644 PyErr_SetString(PyExc_TypeError
,"null reference");
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 Py_INCREF(Py_None
); resultobj
= Py_None
;
25661 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25664 wxTreeItemId
*arg2
= 0 ;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self",(char *) "item", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25677 if (arg2
== NULL
) {
25678 PyErr_SetString(PyExc_TypeError
,"null reference");
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 Py_INCREF(Py_None
); resultobj
= Py_None
;
25695 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25698 PyObject
* obj0
= 0 ;
25699 char *kwnames
[] = {
25700 (char *) "self", NULL
25703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 (arg1
)->DeleteAllItems();
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 Py_INCREF(Py_None
); resultobj
= Py_None
;
25720 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25723 wxTreeItemId
*arg2
= 0 ;
25724 PyObject
* obj0
= 0 ;
25725 PyObject
* obj1
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self",(char *) "item", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25736 if (arg2
== NULL
) {
25737 PyErr_SetString(PyExc_TypeError
,"null reference");
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 Py_INCREF(Py_None
); resultobj
= Py_None
;
25754 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
;
25756 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25757 wxTreeItemId
*arg2
= 0 ;
25758 PyObject
* obj0
= 0 ;
25759 PyObject
* obj1
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self",(char *) "item", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25770 if (arg2
== NULL
) {
25771 PyErr_SetString(PyExc_TypeError
,"null reference");
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25781 Py_INCREF(Py_None
); resultobj
= Py_None
;
25788 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25791 wxTreeItemId
*arg2
= 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self",(char *) "item", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25804 if (arg2
== NULL
) {
25805 PyErr_SetString(PyExc_TypeError
,"null reference");
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 Py_INCREF(Py_None
); resultobj
= Py_None
;
25822 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
;
25824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25825 wxTreeItemId
*arg2
= 0 ;
25826 PyObject
* obj0
= 0 ;
25827 PyObject
* obj1
= 0 ;
25828 char *kwnames
[] = {
25829 (char *) "self",(char *) "item", NULL
25832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25838 if (arg2
== NULL
) {
25839 PyErr_SetString(PyExc_TypeError
,"null reference");
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 Py_INCREF(Py_None
); resultobj
= Py_None
;
25856 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 (arg1
)->Unselect();
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 Py_INCREF(Py_None
); resultobj
= Py_None
;
25881 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25884 wxTreeItemId
*arg2
= 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "item", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25897 if (arg2
== NULL
) {
25898 PyErr_SetString(PyExc_TypeError
,"null reference");
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 Py_INCREF(Py_None
); resultobj
= Py_None
;
25915 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25918 PyObject
* obj0
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 (arg1
)->UnselectAll();
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 Py_INCREF(Py_None
); resultobj
= Py_None
;
25940 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25943 wxTreeItemId
*arg2
= 0 ;
25944 bool arg3
= (bool) True
;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "item",(char *) "select", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25958 if (arg2
== NULL
) {
25959 PyErr_SetString(PyExc_TypeError
,"null reference");
25963 arg3
= (bool) SWIG_AsBool(obj2
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25973 Py_INCREF(Py_None
); resultobj
= Py_None
;
25980 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
;
25982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25983 wxTreeItemId
*arg2
= 0 ;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "item", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
25991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25996 if (arg2
== NULL
) {
25997 PyErr_SetString(PyExc_TypeError
,"null reference");
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 Py_INCREF(Py_None
); resultobj
= Py_None
;
26014 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26017 wxTreeItemId
*arg2
= 0 ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 char *kwnames
[] = {
26021 (char *) "self",(char *) "item", NULL
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26030 if (arg2
== NULL
) {
26031 PyErr_SetString(PyExc_TypeError
,"null reference");
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 Py_INCREF(Py_None
); resultobj
= Py_None
;
26048 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26051 wxTreeItemId
*arg2
= 0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self",(char *) "item", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26064 if (arg2
== NULL
) {
26065 PyErr_SetString(PyExc_TypeError
,"null reference");
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 Py_INCREF(Py_None
); resultobj
= Py_None
;
26082 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26085 wxTreeItemId
*arg2
= 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self",(char *) "item", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26098 if (arg2
== NULL
) {
26099 PyErr_SetString(PyExc_TypeError
,"null reference");
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 Py_INCREF(Py_None
); resultobj
= Py_None
;
26116 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26119 wxTextCtrl
*result
;
26120 PyObject
* obj0
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= wxPyMake_wxObject(result
);
26144 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26147 wxTreeItemId
*arg2
= 0 ;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "self",(char *) "item", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26160 if (arg2
== NULL
) {
26161 PyErr_SetString(PyExc_TypeError
,"null reference");
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26171 Py_INCREF(Py_None
); resultobj
= Py_None
;
26178 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26181 wxPoint
*arg2
= 0 ;
26183 wxTreeItemId result
;
26186 PyObject
* obj0
= 0 ;
26187 PyObject
* obj1
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self",(char *) "point", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26208 wxTreeItemId
* resultptr
;
26209 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26213 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26214 resultobj
= t_output_helper(resultobj
,o
);
26222 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26225 wxTreeItemId
*arg2
= 0 ;
26226 bool arg3
= (bool) False
;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 PyObject
* obj2
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26241 if (arg2
== NULL
) {
26242 PyErr_SetString(PyExc_TypeError
,"null reference");
26246 arg3
= (bool) SWIG_AsBool(obj2
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= result
;
26263 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
26265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26266 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26268 return Py_BuildValue((char *)"");
26270 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26271 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26276 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26281 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26283 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26290 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxWindow
*arg1
= (wxWindow
*) 0 ;
26293 int arg2
= (int) (int)-1 ;
26294 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26295 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26296 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26297 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26298 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26299 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26300 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26301 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26302 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26303 int arg8
= (int) 0 ;
26304 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26305 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26306 wxGenericDirCtrl
*result
;
26307 bool temp3
= False
;
26310 bool temp7
= False
;
26311 bool temp9
= False
;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 PyObject
* obj2
= 0 ;
26315 PyObject
* obj3
= 0 ;
26316 PyObject
* obj4
= 0 ;
26317 PyObject
* obj5
= 0 ;
26318 PyObject
* obj6
= 0 ;
26319 PyObject
* obj7
= 0 ;
26320 PyObject
* obj8
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26329 arg2
= (int const) SWIG_AsInt(obj1
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26334 arg3
= wxString_in_helper(obj2
);
26335 if (arg3
== NULL
) SWIG_fail
;
26342 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26348 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26352 arg6
= (long) SWIG_AsLong(obj5
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26357 arg7
= wxString_in_helper(obj6
);
26358 if (arg7
== NULL
) SWIG_fail
;
26363 arg8
= (int) SWIG_AsInt(obj7
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26368 arg9
= wxString_in_helper(obj8
);
26369 if (arg9
== NULL
) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26411 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxGenericDirCtrl
*result
;
26414 char *kwnames
[] = {
26418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26433 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26436 wxWindow
*arg2
= (wxWindow
*) 0 ;
26437 int arg3
= (int) (int)-1 ;
26438 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26439 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26440 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26441 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26442 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26443 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26444 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26445 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26446 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26447 int arg9
= (int) 0 ;
26448 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26449 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26451 bool temp4
= False
;
26454 bool temp8
= False
;
26455 bool temp10
= False
;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 PyObject
* obj2
= 0 ;
26459 PyObject
* obj3
= 0 ;
26460 PyObject
* obj4
= 0 ;
26461 PyObject
* obj5
= 0 ;
26462 PyObject
* obj6
= 0 ;
26463 PyObject
* obj7
= 0 ;
26464 PyObject
* obj8
= 0 ;
26465 PyObject
* obj9
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26476 arg3
= (int const) SWIG_AsInt(obj2
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26481 arg4
= wxString_in_helper(obj3
);
26482 if (arg4
== NULL
) SWIG_fail
;
26489 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26495 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26499 arg7
= (long) SWIG_AsLong(obj6
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26504 arg8
= wxString_in_helper(obj7
);
26505 if (arg8
== NULL
) SWIG_fail
;
26510 arg9
= (int) SWIG_AsInt(obj8
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26515 arg10
= wxString_in_helper(obj9
);
26516 if (arg10
== NULL
) SWIG_fail
;
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26558 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
;
26560 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26561 wxString
*arg2
= 0 ;
26563 bool temp2
= False
;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "self",(char *) "path", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26574 arg2
= wxString_in_helper(obj1
);
26575 if (arg2
== NULL
) SWIG_fail
;
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26600 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 char *kwnames
[] = {
26606 (char *) "self", NULL
26609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26632 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
;
26634 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26635 wxString
*arg2
= 0 ;
26636 bool temp2
= False
;
26637 PyObject
* obj0
= 0 ;
26638 PyObject
* obj1
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "self",(char *) "path", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26647 arg2
= wxString_in_helper(obj1
);
26648 if (arg2
== NULL
) SWIG_fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 Py_INCREF(Py_None
); resultobj
= Py_None
;
26673 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
;
26675 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26677 PyObject
* obj0
= 0 ;
26678 char *kwnames
[] = {
26679 (char *) "self", NULL
26682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26705 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
;
26707 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26709 PyObject
* obj0
= 0 ;
26710 char *kwnames
[] = {
26711 (char *) "self", NULL
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26737 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26740 wxString
*arg2
= 0 ;
26741 bool temp2
= False
;
26742 PyObject
* obj0
= 0 ;
26743 PyObject
* obj1
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "self",(char *) "path", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26752 arg2
= wxString_in_helper(obj1
);
26753 if (arg2
== NULL
) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->SetPath((wxString
const &)*arg2
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 Py_INCREF(Py_None
); resultobj
= Py_None
;
26778 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
;
26780 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 char *kwnames
[] = {
26785 (char *) "self",(char *) "show", NULL
26788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26791 arg2
= (bool) SWIG_AsBool(obj1
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 (arg1
)->ShowHidden(arg2
);
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 Py_INCREF(Py_None
); resultobj
= Py_None
;
26807 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
;
26809 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26811 PyObject
* obj0
= 0 ;
26812 char *kwnames
[] = {
26813 (char *) "self", NULL
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= (bool)(arg1
)->GetShowHidden();
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26833 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26837 PyObject
* obj0
= 0 ;
26838 char *kwnames
[] = {
26839 (char *) "self", NULL
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26865 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26868 wxString
*arg2
= 0 ;
26869 bool temp2
= False
;
26870 PyObject
* obj0
= 0 ;
26871 PyObject
* obj1
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self",(char *) "filter", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26880 arg2
= wxString_in_helper(obj1
);
26881 if (arg2
== NULL
) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 (arg1
)->SetFilter((wxString
const &)*arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 Py_INCREF(Py_None
); resultobj
= Py_None
;
26906 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
;
26908 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26910 PyObject
* obj0
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= SWIG_FromInt((int)result
);
26932 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
;
26934 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 char *kwnames
[] = {
26939 (char *) "self",(char *) "n", NULL
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26945 arg2
= (int) SWIG_AsInt(obj1
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 (arg1
)->SetFilterIndex(arg2
);
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26954 Py_INCREF(Py_None
); resultobj
= Py_None
;
26961 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26962 PyObject
*resultobj
;
26963 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26964 wxTreeItemId result
;
26965 PyObject
* obj0
= 0 ;
26966 char *kwnames
[] = {
26967 (char *) "self", NULL
26970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 result
= (arg1
)->GetRootId();
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26981 wxTreeItemId
* resultptr
;
26982 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26991 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
;
26993 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26994 wxPyTreeCtrl
*result
;
26995 PyObject
* obj0
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= wxPyMake_wxObject(result
);
27019 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27022 wxDirFilterListCtrl
*result
;
27023 PyObject
* obj0
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27045 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27048 wxTreeItemId arg2
;
27049 wxString
*arg3
= 0 ;
27051 wxTreeItemId result
;
27052 wxTreeItemId
*argp2
;
27053 bool temp3
= False
;
27055 PyObject
* obj0
= 0 ;
27056 PyObject
* obj1
= 0 ;
27057 PyObject
* obj2
= 0 ;
27058 char *kwnames
[] = {
27059 (char *) "self",(char *) "parentId",(char *) "path", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27066 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27067 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27070 arg3
= wxString_in_helper(obj2
);
27071 if (arg3
== NULL
) SWIG_fail
;
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27078 wxPyEndAllowThreads(__tstate
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27082 wxTreeItemId
* resultptr
;
27083 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27087 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27088 resultobj
= t_output_helper(resultobj
,o
);
27104 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27105 PyObject
*resultobj
;
27106 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 (arg1
)->DoResize();
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 Py_INCREF(Py_None
); resultobj
= Py_None
;
27129 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
;
27131 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27132 PyObject
* obj0
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27142 (arg1
)->ReCreateTree();
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27147 Py_INCREF(Py_None
); resultobj
= Py_None
;
27154 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
27156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27157 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27159 return Py_BuildValue((char *)"");
27161 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
;
27163 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27164 int arg2
= (int) (int)-1 ;
27165 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27166 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27167 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27168 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27169 long arg5
= (long) 0 ;
27170 wxDirFilterListCtrl
*result
;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 PyObject
* obj2
= 0 ;
27176 PyObject
* obj3
= 0 ;
27177 PyObject
* obj4
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27186 arg2
= (int const) SWIG_AsInt(obj1
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27192 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27198 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27202 arg5
= (long) SWIG_AsLong(obj4
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27219 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27220 PyObject
*resultobj
;
27221 wxDirFilterListCtrl
*result
;
27222 char *kwnames
[] = {
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27241 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
;
27243 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27244 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27245 int arg3
= (int) (int)-1 ;
27246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27250 long arg6
= (long) 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 PyObject
* obj2
= 0 ;
27257 PyObject
* obj3
= 0 ;
27258 PyObject
* obj4
= 0 ;
27259 PyObject
* obj5
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27270 arg3
= (int const) SWIG_AsInt(obj2
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27286 arg6
= (long) SWIG_AsLong(obj5
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27303 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27306 wxString
*arg2
= 0 ;
27308 bool temp2
= False
;
27309 PyObject
* obj0
= 0 ;
27310 PyObject
* obj1
= 0 ;
27311 PyObject
* obj2
= 0 ;
27312 char *kwnames
[] = {
27313 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 arg2
= wxString_in_helper(obj1
);
27321 if (arg2
== NULL
) SWIG_fail
;
27324 arg3
= (int) SWIG_AsInt(obj2
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27330 wxPyEndAllowThreads(__tstate
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 Py_INCREF(Py_None
); resultobj
= Py_None
;
27348 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27351 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27353 return Py_BuildValue((char *)"");
27355 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxWindow
*arg1
= (wxWindow
*) 0 ;
27359 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27360 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27361 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27362 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27363 long arg5
= (long) 0 ;
27364 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27365 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27366 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27368 wxPyControl
*result
;
27371 bool temp7
= False
;
27372 PyObject
* obj0
= 0 ;
27373 PyObject
* obj1
= 0 ;
27374 PyObject
* obj2
= 0 ;
27375 PyObject
* obj3
= 0 ;
27376 PyObject
* obj4
= 0 ;
27377 PyObject
* obj5
= 0 ;
27378 PyObject
* obj6
= 0 ;
27379 char *kwnames
[] = {
27380 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27386 arg2
= (int const) SWIG_AsInt(obj1
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27391 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27397 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27401 arg5
= (long) SWIG_AsLong(obj4
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27405 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27408 if (arg6
== NULL
) {
27409 PyErr_SetString(PyExc_TypeError
,"null reference");
27415 arg7
= wxString_in_helper(obj6
);
27416 if (arg7
== NULL
) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27442 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
;
27444 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27445 PyObject
*arg2
= (PyObject
*) 0 ;
27446 PyObject
*arg3
= (PyObject
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 PyObject
* obj2
= 0 ;
27450 char *kwnames
[] = {
27451 (char *) "self",(char *) "self",(char *) "_class", NULL
27454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27466 Py_INCREF(Py_None
); resultobj
= Py_None
;
27473 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
;
27475 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27480 PyObject
* obj0
= 0 ;
27481 PyObject
* obj1
= 0 ;
27482 PyObject
* obj2
= 0 ;
27483 PyObject
* obj3
= 0 ;
27484 PyObject
* obj4
= 0 ;
27485 char *kwnames
[] = {
27486 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27492 arg2
= (int) SWIG_AsInt(obj1
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27494 arg3
= (int) SWIG_AsInt(obj2
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27496 arg4
= (int) SWIG_AsInt(obj3
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27498 arg5
= (int) SWIG_AsInt(obj4
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 Py_INCREF(Py_None
); resultobj
= Py_None
;
27514 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27521 int arg6
= (int) wxSIZE_AUTO
;
27522 PyObject
* obj0
= 0 ;
27523 PyObject
* obj1
= 0 ;
27524 PyObject
* obj2
= 0 ;
27525 PyObject
* obj3
= 0 ;
27526 PyObject
* obj4
= 0 ;
27527 PyObject
* obj5
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27535 arg2
= (int) SWIG_AsInt(obj1
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27537 arg3
= (int) SWIG_AsInt(obj2
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27539 arg4
= (int) SWIG_AsInt(obj3
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27541 arg5
= (int) SWIG_AsInt(obj4
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 arg6
= (int) SWIG_AsInt(obj5
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27549 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 Py_INCREF(Py_None
); resultobj
= Py_None
;
27561 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
;
27563 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27566 PyObject
* obj0
= 0 ;
27567 PyObject
* obj1
= 0 ;
27568 PyObject
* obj2
= 0 ;
27569 char *kwnames
[] = {
27570 (char *) "self",(char *) "width",(char *) "height", NULL
27573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27576 arg2
= (int) SWIG_AsInt(obj1
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27578 arg3
= (int) SWIG_AsInt(obj2
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27584 wxPyEndAllowThreads(__tstate
);
27585 if (PyErr_Occurred()) SWIG_fail
;
27587 Py_INCREF(Py_None
); resultobj
= Py_None
;
27594 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27595 PyObject
*resultobj
;
27596 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 PyObject
* obj2
= 0 ;
27602 char *kwnames
[] = {
27603 (char *) "self",(char *) "x",(char *) "y", NULL
27606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27609 arg2
= (int) SWIG_AsInt(obj1
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27611 arg3
= (int) SWIG_AsInt(obj2
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27620 Py_INCREF(Py_None
); resultobj
= Py_None
;
27627 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27628 PyObject
*resultobj
;
27629 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27630 int *arg2
= (int *) 0 ;
27631 int *arg3
= (int *) 0 ;
27634 PyObject
* obj0
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self", NULL
27641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 Py_INCREF(Py_None
); resultobj
= Py_None
;
27653 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27654 resultobj
= t_output_helper(resultobj
,o
);
27657 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27658 resultobj
= t_output_helper(resultobj
,o
);
27666 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27669 int *arg2
= (int *) 0 ;
27670 int *arg3
= (int *) 0 ;
27673 PyObject
* obj0
= 0 ;
27674 char *kwnames
[] = {
27675 (char *) "self", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 Py_INCREF(Py_None
); resultobj
= Py_None
;
27692 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27693 resultobj
= t_output_helper(resultobj
,o
);
27696 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27697 resultobj
= t_output_helper(resultobj
,o
);
27705 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27708 int *arg2
= (int *) 0 ;
27709 int *arg3
= (int *) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 char *kwnames
[] = {
27714 (char *) "self", NULL
27719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 Py_INCREF(Py_None
); resultobj
= Py_None
;
27731 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27732 resultobj
= t_output_helper(resultobj
,o
);
27735 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27736 resultobj
= t_output_helper(resultobj
,o
);
27744 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
;
27746 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27748 PyObject
* obj0
= 0 ;
27749 char *kwnames
[] = {
27750 (char *) "self", NULL
27753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27764 wxSize
* resultptr
;
27765 resultptr
= new wxSize((wxSize
&) result
);
27766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27774 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27778 PyObject
* obj0
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27794 wxSize
* resultptr
;
27795 resultptr
= new wxSize((wxSize
&) result
);
27796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27804 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
;
27806 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27807 PyObject
* obj0
= 0 ;
27808 char *kwnames
[] = {
27809 (char *) "self", NULL
27812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 (arg1
)->base_InitDialog();
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 Py_INCREF(Py_None
); resultobj
= Py_None
;
27829 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27833 PyObject
* obj0
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 result
= (bool)(arg1
)->base_TransferDataToWindow();
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27855 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27857 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27859 PyObject
* obj0
= 0 ;
27860 char *kwnames
[] = {
27861 (char *) "self", NULL
27864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27881 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
;
27883 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27885 PyObject
* obj0
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (bool)(arg1
)->base_Validate();
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27907 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
;
27909 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27911 PyObject
* obj0
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "self", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27933 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27937 PyObject
* obj0
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "self", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27959 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27960 PyObject
*resultobj
;
27961 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27963 PyObject
* obj0
= 0 ;
27964 char *kwnames
[] = {
27965 (char *) "self", NULL
27968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27973 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27979 wxSize
* resultptr
;
27980 resultptr
= new wxSize((wxSize
&) result
);
27981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27989 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27990 PyObject
*resultobj
;
27991 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27992 wxWindow
*arg2
= (wxWindow
*) 0 ;
27993 PyObject
* obj0
= 0 ;
27994 PyObject
* obj1
= 0 ;
27995 char *kwnames
[] = {
27996 (char *) "self",(char *) "child", NULL
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 (arg1
)->base_AddChild(arg2
);
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 Py_INCREF(Py_None
); resultobj
= Py_None
;
28018 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
;
28020 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28021 wxWindow
*arg2
= (wxWindow
*) 0 ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 char *kwnames
[] = {
28025 (char *) "self",(char *) "child", NULL
28028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 (arg1
)->base_RemoveChild(arg2
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 Py_INCREF(Py_None
); resultobj
= Py_None
;
28047 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
28049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28050 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28052 return Py_BuildValue((char *)"");
28054 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28055 PyObject
*resultobj
;
28056 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28057 int arg2
= (int) 0 ;
28058 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28059 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28060 wxHelpEvent
*result
;
28062 PyObject
* obj0
= 0 ;
28063 PyObject
* obj1
= 0 ;
28064 PyObject
* obj2
= 0 ;
28065 char *kwnames
[] = {
28066 (char *) "type",(char *) "winid",(char *) "pt", NULL
28069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28071 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28075 arg2
= (int) SWIG_AsInt(obj1
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28098 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "self", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28118 wxPoint
* resultptr
;
28119 resultptr
= new wxPoint((wxPoint
&) result
);
28120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28128 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
;
28130 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28131 wxPoint
*arg2
= 0 ;
28133 PyObject
* obj0
= 0 ;
28134 PyObject
* obj1
= 0 ;
28135 char *kwnames
[] = {
28136 (char *) "self",(char *) "pos", NULL
28139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28144 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28153 Py_INCREF(Py_None
); resultobj
= Py_None
;
28160 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28164 PyObject
* obj0
= 0 ;
28165 char *kwnames
[] = {
28166 (char *) "self", NULL
28169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28176 result
= (wxString
*) &_result_ref
;
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28186 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28195 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28196 PyObject
*resultobj
;
28197 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28198 wxString
*arg2
= 0 ;
28199 bool temp2
= False
;
28200 PyObject
* obj0
= 0 ;
28201 PyObject
* obj1
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "self",(char *) "link", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28210 arg2
= wxString_in_helper(obj1
);
28211 if (arg2
== NULL
) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 (arg1
)->SetLink((wxString
const &)*arg2
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 Py_INCREF(Py_None
); resultobj
= Py_None
;
28236 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28240 PyObject
* obj0
= 0 ;
28241 char *kwnames
[] = {
28242 (char *) "self", NULL
28245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28252 result
= (wxString
*) &_result_ref
;
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28262 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28271 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28274 wxString
*arg2
= 0 ;
28275 bool temp2
= False
;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 char *kwnames
[] = {
28279 (char *) "self",(char *) "target", NULL
28282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28286 arg2
= wxString_in_helper(obj1
);
28287 if (arg2
== NULL
) SWIG_fail
;
28291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28292 (arg1
)->SetTarget((wxString
const &)*arg2
);
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28297 Py_INCREF(Py_None
); resultobj
= Py_None
;
28312 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
28314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28315 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28317 return Py_BuildValue((char *)"");
28319 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28320 PyObject
*resultobj
;
28321 wxWindow
*arg1
= (wxWindow
*) NULL
;
28322 bool arg2
= (bool) True
;
28323 wxContextHelp
*result
;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "window",(char *) "doNow", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28336 arg2
= (bool) SWIG_AsBool(obj1
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28353 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
;
28355 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28356 PyObject
* obj0
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 Py_INCREF(Py_None
); resultobj
= Py_None
;
28378 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28381 wxWindow
*arg2
= (wxWindow
*) NULL
;
28383 PyObject
* obj0
= 0 ;
28384 PyObject
* obj1
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self",(char *) "window", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28410 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 char *kwnames
[] = {
28416 (char *) "self", NULL
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (bool)(arg1
)->EndContextHelp();
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28436 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
28438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28439 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28441 return Py_BuildValue((char *)"");
28443 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxWindow
*arg1
= (wxWindow
*) 0 ;
28446 int arg2
= (int) wxID_CONTEXT_HELP
;
28447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28451 long arg5
= (long) wxBU_AUTODRAW
;
28452 wxContextHelpButton
*result
;
28455 PyObject
* obj0
= 0 ;
28456 PyObject
* obj1
= 0 ;
28457 PyObject
* obj2
= 0 ;
28458 PyObject
* obj3
= 0 ;
28459 PyObject
* obj4
= 0 ;
28460 char *kwnames
[] = {
28461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28468 arg2
= (int) SWIG_AsInt(obj1
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28474 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28480 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28484 arg5
= (long) SWIG_AsLong(obj4
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
28501 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
28503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28504 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28506 return Py_BuildValue((char *)"");
28508 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
;
28510 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28511 wxHelpProvider
*result
;
28512 PyObject
* obj0
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "helpProvider", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28534 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28535 PyObject
*resultobj
;
28536 wxHelpProvider
*result
;
28537 char *kwnames
[] = {
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28556 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
;
28558 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28559 wxWindow
*arg2
= (wxWindow
*) 0 ;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 char *kwnames
[] = {
28564 (char *) "self",(char *) "window", NULL
28567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28592 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
;
28594 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28595 wxWindow
*arg2
= (wxWindow
*) 0 ;
28597 PyObject
* obj0
= 0 ;
28598 PyObject
* obj1
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "self",(char *) "window", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 result
= (bool)(arg1
)->ShowHelp(arg2
);
28612 wxPyEndAllowThreads(__tstate
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28622 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
;
28624 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28625 wxWindow
*arg2
= (wxWindow
*) 0 ;
28626 wxString
*arg3
= 0 ;
28627 bool temp3
= False
;
28628 PyObject
* obj0
= 0 ;
28629 PyObject
* obj1
= 0 ;
28630 PyObject
* obj2
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self",(char *) "window",(char *) "text", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28641 arg3
= wxString_in_helper(obj2
);
28642 if (arg3
== NULL
) SWIG_fail
;
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28649 wxPyEndAllowThreads(__tstate
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28652 Py_INCREF(Py_None
); resultobj
= Py_None
;
28667 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28671 wxString
*arg3
= 0 ;
28672 bool temp3
= False
;
28673 PyObject
* obj0
= 0 ;
28674 PyObject
* obj1
= 0 ;
28675 PyObject
* obj2
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self",(char *) "id",(char *) "text", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28683 arg2
= (int) SWIG_AsInt(obj1
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28686 arg3
= wxString_in_helper(obj2
);
28687 if (arg3
== NULL
) SWIG_fail
;
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28697 Py_INCREF(Py_None
); resultobj
= Py_None
;
28712 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28715 wxWindow
*arg2
= (wxWindow
*) 0 ;
28716 PyObject
* obj0
= 0 ;
28717 PyObject
* obj1
= 0 ;
28718 char *kwnames
[] = {
28719 (char *) "self",(char *) "window", NULL
28722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 (arg1
)->RemoveHelp(arg2
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 Py_INCREF(Py_None
); resultobj
= Py_None
;
28741 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28744 PyObject
* obj0
= 0 ;
28745 char *kwnames
[] = {
28746 (char *) "self", NULL
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 wxHelpProvider_Destroy(arg1
);
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 Py_INCREF(Py_None
); resultobj
= Py_None
;
28766 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
28768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28769 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28771 return Py_BuildValue((char *)"");
28773 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28774 PyObject
*resultobj
;
28775 wxSimpleHelpProvider
*result
;
28776 char *kwnames
[] = {
28780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28795 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
28797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28798 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28800 return Py_BuildValue((char *)"");
28802 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
;
28804 wxBitmap
*arg1
= 0 ;
28805 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28806 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28807 wxGenericDragImage
*result
;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 char *kwnames
[] = {
28811 (char *) "image",(char *) "cursor", NULL
28814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
28816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28818 if (arg1
== NULL
) {
28819 PyErr_SetString(PyExc_TypeError
,"null reference");
28823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
28824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28826 if (arg2
== NULL
) {
28827 PyErr_SetString(PyExc_TypeError
,"null reference");
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
28845 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
;
28848 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28849 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28850 wxGenericDragImage
*result
;
28851 PyObject
* obj0
= 0 ;
28852 PyObject
* obj1
= 0 ;
28853 char *kwnames
[] = {
28854 (char *) "image",(char *) "cursor", NULL
28857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
28859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28861 if (arg1
== NULL
) {
28862 PyErr_SetString(PyExc_TypeError
,"null reference");
28866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
28867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28869 if (arg2
== NULL
) {
28870 PyErr_SetString(PyExc_TypeError
,"null reference");
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
28888 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
;
28890 wxString
*arg1
= 0 ;
28891 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28892 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28893 wxGenericDragImage
*result
;
28894 bool temp1
= False
;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 char *kwnames
[] = {
28898 (char *) "str",(char *) "cursor", NULL
28901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28903 arg1
= wxString_in_helper(obj0
);
28904 if (arg1
== NULL
) SWIG_fail
;
28908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
28909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28911 if (arg2
== NULL
) {
28912 PyErr_SetString(PyExc_TypeError
,"null reference");
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
28938 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
;
28940 wxPyTreeCtrl
*arg1
= 0 ;
28941 wxTreeItemId
*arg2
= 0 ;
28942 wxGenericDragImage
*result
;
28943 PyObject
* obj0
= 0 ;
28944 PyObject
* obj1
= 0 ;
28945 char *kwnames
[] = {
28946 (char *) "treeCtrl",(char *) "id", NULL
28949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28953 if (arg1
== NULL
) {
28954 PyErr_SetString(PyExc_TypeError
,"null reference");
28957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28960 if (arg2
== NULL
) {
28961 PyErr_SetString(PyExc_TypeError
,"null reference");
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
28978 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
;
28980 wxPyListCtrl
*arg1
= 0 ;
28982 wxGenericDragImage
*result
;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "listCtrl",(char *) "id", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
28991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28993 if (arg1
== NULL
) {
28994 PyErr_SetString(PyExc_TypeError
,"null reference");
28997 arg2
= (long) SWIG_AsLong(obj1
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29001 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29003 wxPyEndAllowThreads(__tstate
);
29004 if (PyErr_Occurred()) SWIG_fail
;
29006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29013 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29014 PyObject
*resultobj
;
29015 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29016 PyObject
* obj0
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "self", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 Py_INCREF(Py_None
); resultobj
= Py_None
;
29038 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
;
29040 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29041 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29042 PyObject
* obj0
= 0 ;
29043 PyObject
* obj1
= 0 ;
29044 char *kwnames
[] = {
29045 (char *) "self",(char *) "bitmap", NULL
29048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 (arg1
)->SetBackingBitmap(arg2
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 Py_INCREF(Py_None
); resultobj
= Py_None
;
29067 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
;
29069 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29070 wxPoint
*arg2
= 0 ;
29071 wxWindow
*arg3
= (wxWindow
*) 0 ;
29072 bool arg4
= (bool) False
;
29073 wxRect
*arg5
= (wxRect
*) NULL
;
29076 PyObject
* obj0
= 0 ;
29077 PyObject
* obj1
= 0 ;
29078 PyObject
* obj2
= 0 ;
29079 PyObject
* obj3
= 0 ;
29080 PyObject
* obj4
= 0 ;
29081 char *kwnames
[] = {
29082 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29092 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29095 arg4
= (bool) SWIG_AsBool(obj3
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29099 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29116 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29119 wxPoint
*arg2
= 0 ;
29120 wxWindow
*arg3
= (wxWindow
*) 0 ;
29121 wxWindow
*arg4
= (wxWindow
*) 0 ;
29124 PyObject
* obj0
= 0 ;
29125 PyObject
* obj1
= 0 ;
29126 PyObject
* obj2
= 0 ;
29127 PyObject
* obj3
= 0 ;
29128 char *kwnames
[] = {
29129 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29139 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29145 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29157 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
;
29159 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29161 PyObject
* obj0
= 0 ;
29162 char *kwnames
[] = {
29163 (char *) "self", NULL
29166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= (bool)(arg1
)->EndDrag();
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29183 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
;
29185 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29186 wxPoint
*arg2
= 0 ;
29189 PyObject
* obj0
= 0 ;
29190 PyObject
* obj1
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self",(char *) "pt", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29216 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29220 PyObject
* obj0
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (bool)(arg1
)->Show();
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29242 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29243 PyObject
*resultobj
;
29244 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29246 PyObject
* obj0
= 0 ;
29247 char *kwnames
[] = {
29248 (char *) "self", NULL
29251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 result
= (bool)(arg1
)->Hide();
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29268 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29269 PyObject
*resultobj
;
29270 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29271 wxPoint
*arg2
= 0 ;
29274 PyObject
* obj0
= 0 ;
29275 PyObject
* obj1
= 0 ;
29276 char *kwnames
[] = {
29277 (char *) "self",(char *) "pos", NULL
29280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29285 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29295 wxRect
* resultptr
;
29296 resultptr
= new wxRect((wxRect
&) result
);
29297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29305 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
;
29307 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29309 wxPoint
*arg3
= 0 ;
29312 PyObject
* obj0
= 0 ;
29313 PyObject
* obj1
= 0 ;
29314 PyObject
* obj2
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self",(char *) "dc",(char *) "pos", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29325 if (arg2
== NULL
) {
29326 PyErr_SetString(PyExc_TypeError
,"null reference");
29331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29347 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29348 PyObject
*resultobj
;
29349 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29351 wxMemoryDC
*arg3
= 0 ;
29357 PyObject
* obj0
= 0 ;
29358 PyObject
* obj1
= 0 ;
29359 PyObject
* obj2
= 0 ;
29360 PyObject
* obj3
= 0 ;
29361 PyObject
* obj4
= 0 ;
29362 char *kwnames
[] = {
29363 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29372 if (arg2
== NULL
) {
29373 PyErr_SetString(PyExc_TypeError
,"null reference");
29376 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29379 if (arg3
== NULL
) {
29380 PyErr_SetString(PyExc_TypeError
,"null reference");
29385 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29389 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29405 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29406 PyObject
*resultobj
;
29407 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29408 wxPoint
*arg2
= 0 ;
29409 wxPoint
*arg3
= 0 ;
29415 PyObject
* obj0
= 0 ;
29416 PyObject
* obj1
= 0 ;
29417 PyObject
* obj2
= 0 ;
29418 PyObject
* obj3
= 0 ;
29419 PyObject
* obj4
= 0 ;
29420 char *kwnames
[] = {
29421 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29435 arg4
= (bool) SWIG_AsBool(obj3
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29437 arg5
= (bool) SWIG_AsBool(obj4
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29453 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
29455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29456 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29458 return Py_BuildValue((char *)"");
29460 static PyMethodDef SwigMethods
[] = {
29461 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
29467 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29472 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29475 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29476 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29477 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29480 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
29482 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
29493 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
29500 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29513 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
29518 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
29531 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
29535 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
29541 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
29545 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
29552 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29569 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29571 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29573 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
29574 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
29582 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
, NULL
},
29583 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
29612 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29617 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
29666 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
29671 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29676 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29678 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29679 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
29682 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29688 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29690 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
29694 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
29705 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
29709 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29712 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29720 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29724 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
29726 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29727 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29728 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29729 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29730 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29731 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
29732 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29733 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29734 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29735 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29737 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29738 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29739 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29740 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29741 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29742 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29743 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29744 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29745 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29746 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29747 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29748 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29749 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29750 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29751 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29752 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29753 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29754 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29755 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29756 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
29757 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29758 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29759 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
29760 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29761 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29762 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29763 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29764 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29765 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29766 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29767 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29768 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29769 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29770 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29771 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29772 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29773 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29774 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29775 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29776 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29777 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29778 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29779 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
29780 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29781 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29782 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29783 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29784 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
29786 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29787 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29788 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29789 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29790 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29791 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29792 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
29795 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
29797 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29798 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29799 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29800 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29801 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
29802 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29803 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
29804 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29805 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29807 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29808 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
29809 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29810 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29811 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29812 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29813 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
29814 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29815 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29816 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29817 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29818 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29819 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29820 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29822 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29823 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29824 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29825 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29826 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29827 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29828 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29829 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29830 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29831 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29832 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29833 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29834 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29835 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29837 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29838 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29839 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29840 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29841 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29842 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
29844 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29845 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29846 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29847 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29848 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29851 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29852 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29853 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29855 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29856 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29858 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29859 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29861 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29862 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29863 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29864 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29865 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29866 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29871 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29872 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29878 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29885 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29886 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
29889 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29892 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
29894 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29903 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
29906 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29912 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29914 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29922 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29928 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29930 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29932 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29933 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29934 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29935 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29936 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29937 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29938 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29939 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29940 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29941 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29942 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29943 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29944 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29945 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29946 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29947 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29948 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29949 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29950 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29951 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29952 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29953 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29954 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29955 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29956 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29957 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
29958 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29959 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29960 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29961 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29962 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29963 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29964 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29965 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29966 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29967 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29968 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29969 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29970 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29971 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29972 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29973 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29974 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29975 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29976 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29977 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29978 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29979 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29980 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29981 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29982 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29983 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29984 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
29985 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29986 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29987 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29988 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29989 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29990 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29991 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29992 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29993 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29994 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29995 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29996 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29997 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29998 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29999 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30000 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30001 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30002 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30003 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30004 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30005 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30006 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30007 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30008 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30009 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30010 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30011 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30012 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30013 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30014 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30015 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30016 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30017 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30018 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30019 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30020 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30021 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30022 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30023 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30024 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30025 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30026 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30027 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30028 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30029 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30030 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30031 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30032 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30033 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30034 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30035 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30036 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30037 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30038 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30039 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30040 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30041 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30042 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30043 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30044 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30045 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30046 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30047 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30048 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30049 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30050 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30051 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30052 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30053 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
30054 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30055 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30056 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30057 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30058 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30059 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30060 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30061 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30062 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30063 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30064 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30065 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
30066 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30067 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30068 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30069 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30070 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30071 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30072 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30073 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
30074 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30075 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30076 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30077 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30078 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30079 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30080 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
30081 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30082 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30083 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30084 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30085 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30086 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30087 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30088 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30089 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30090 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30091 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30092 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30093 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30094 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30095 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30096 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
30097 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30098 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30099 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30100 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30101 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30102 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30103 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30104 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30105 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30106 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30107 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30108 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30109 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30110 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30111 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30112 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30113 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30114 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30115 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30116 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30117 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30118 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30119 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30120 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30121 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30122 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30123 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30124 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30125 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30126 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30127 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30128 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30129 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30130 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30131 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30132 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30133 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30134 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30135 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30136 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30137 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30138 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30139 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30140 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30141 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30142 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30143 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30144 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30145 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30146 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30147 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30148 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30149 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30150 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30151 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30152 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30153 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30154 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30155 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30156 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30157 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30158 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30159 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30160 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30161 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30162 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30163 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30164 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30165 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30166 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30167 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30168 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30169 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30170 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
30171 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30172 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30173 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30174 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30175 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30176 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30177 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30178 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30179 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30180 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30181 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30182 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30183 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30184 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30185 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30186 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30187 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30188 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30189 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30190 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30191 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30192 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
30193 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30194 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30195 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30196 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30197 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
30198 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30199 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30200 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30201 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30202 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30203 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30204 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30205 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30206 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30207 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30208 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30209 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30210 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30211 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30212 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30213 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30214 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30215 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30216 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30217 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30218 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
30219 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30220 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30221 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30222 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30223 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30224 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30225 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30226 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
30227 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30228 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30229 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30230 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30231 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
30232 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30233 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
30234 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30235 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30236 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30237 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30238 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30239 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30240 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30241 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30242 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
30243 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30244 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
30245 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30246 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30247 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30248 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30249 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30250 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30251 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30252 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30253 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30254 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30255 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30256 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30257 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30258 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30259 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30260 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30261 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30262 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
30263 { NULL
, NULL
, 0, NULL
}
30267 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30269 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30270 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30272 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30273 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30275 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30276 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30278 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30279 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30281 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30282 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30284 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30285 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30287 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30288 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30290 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30291 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30293 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30294 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30296 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30297 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30302 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30303 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30305 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30306 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30308 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30309 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30311 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30312 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30314 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30315 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30317 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30318 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30320 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30321 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30323 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30324 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30326 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30327 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30329 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30330 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30332 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30333 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30335 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30338 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30339 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30341 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30342 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30344 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30345 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30347 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30348 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30350 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30351 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30353 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30354 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30356 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30357 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30359 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30360 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30362 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30363 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30365 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30366 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30368 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30369 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30371 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30372 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30374 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30375 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30377 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30378 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30380 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30381 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30383 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30384 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30386 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30387 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30389 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30390 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30392 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30393 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30395 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30396 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30398 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30399 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30401 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30402 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30404 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30405 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30407 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30408 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30410 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30411 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30413 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30416 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30417 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30419 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30420 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30422 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30423 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30425 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30426 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30428 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30429 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30431 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30432 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30434 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30435 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30437 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30438 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30440 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30441 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30443 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30444 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30446 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30447 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30449 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30450 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30452 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30453 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30455 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30456 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30458 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30459 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30461 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30462 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30464 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30465 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30467 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30468 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30470 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30471 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30473 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30474 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30476 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30477 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30479 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30480 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30482 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30483 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30485 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30486 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30488 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30489 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30491 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30492 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30494 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30495 return (void *)((wxControl
*) ((wxGauge
*) x
));
30497 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30498 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30500 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30501 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30503 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30504 return (void *)((wxControl
*) ((wxButton
*) x
));
30506 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30507 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30509 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30510 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30512 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30513 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30515 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30516 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30518 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30519 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30521 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30522 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30524 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30525 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30527 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30528 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30530 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30531 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30533 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30534 return (void *)((wxControl
*) ((wxSlider
*) x
));
30536 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30537 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30539 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30540 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30542 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30543 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30545 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30546 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30548 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30549 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30551 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30552 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30554 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30555 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30557 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30558 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30560 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30561 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30563 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30564 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30566 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30567 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30569 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30570 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30572 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30575 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30576 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30578 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30579 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30581 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30582 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30584 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30587 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30588 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30590 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30593 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30596 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30597 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30599 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30600 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30602 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30605 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30608 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30611 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30614 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30617 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30618 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30620 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30623 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30626 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30629 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30632 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30635 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30638 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30641 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30644 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30647 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30650 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30653 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30656 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30659 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30662 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30665 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30668 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30671 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30674 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30677 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30680 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30683 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30686 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30689 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30692 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30693 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30695 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30696 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30698 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30699 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30701 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30702 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30704 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30705 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30707 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30708 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30710 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30711 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30713 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30714 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30716 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30717 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30719 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30720 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30722 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30723 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30725 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30726 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30728 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30731 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30734 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30735 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30737 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30738 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30740 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30741 return (void *)((wxObject
*) ((wxSizer
*) x
));
30743 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30744 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30746 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30749 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30752 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30753 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30755 static void *_p_wxEventTo_p_wxObject(void *x
) {
30756 return (void *)((wxObject
*) ((wxEvent
*) x
));
30758 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30759 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30761 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30762 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30764 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30765 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30767 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30770 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30773 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30776 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30777 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30779 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30780 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30782 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30783 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30785 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30786 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30788 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30789 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30791 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30792 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30794 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30797 static void *_p_wxControlTo_p_wxObject(void *x
) {
30798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30800 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30803 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30806 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30809 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30812 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30815 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30816 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30818 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30821 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30822 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30824 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30825 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30827 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30830 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30833 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30836 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30837 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30839 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30840 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30842 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30845 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30846 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30848 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30851 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30854 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30855 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30857 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30858 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30860 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30863 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30864 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30866 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30867 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30869 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30870 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30872 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30873 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30875 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30876 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30878 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30879 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30881 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30884 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30885 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30887 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30890 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30891 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30893 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30894 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30896 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30897 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30899 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30900 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30902 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30903 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30905 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30906 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30908 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30909 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30911 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30912 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30914 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30915 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30917 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30918 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30920 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30923 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30924 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30926 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30929 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30932 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30935 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30938 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30941 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30944 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30947 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30950 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30951 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30953 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30956 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30959 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30962 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30965 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30966 return (void *)((wxObject
*) ((wxListItem
*) x
));
30968 static void *_p_wxImageTo_p_wxObject(void *x
) {
30969 return (void *)((wxObject
*) ((wxImage
*) x
));
30971 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30972 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30974 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30975 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30977 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30980 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30981 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30983 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30986 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30989 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30992 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30995 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30996 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30998 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30999 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31001 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31002 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31004 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31005 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31007 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31010 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31011 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31013 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31016 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31017 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31019 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31020 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31022 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31023 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31025 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31026 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31028 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31029 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31031 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31034 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31037 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31038 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31040 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31043 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31044 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31046 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31047 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31049 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31052 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31055 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31056 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31058 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31061 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31064 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31065 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31067 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31068 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31070 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31071 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31073 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31074 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31076 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31077 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31079 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31080 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31082 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31083 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31085 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31086 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31088 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31089 return (void *)((wxWindow
*) ((wxControl
*) x
));
31091 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31092 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31094 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31095 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31097 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31098 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31100 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31101 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31103 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31104 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31106 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31107 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31109 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31110 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31112 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31113 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31115 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31116 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31118 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31119 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31121 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31122 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31124 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31125 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31127 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31128 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31130 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31131 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31133 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31134 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31136 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31137 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31139 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31140 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31142 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31143 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31145 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31146 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31148 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31149 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31151 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31152 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31154 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31155 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31157 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31158 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31160 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31161 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31163 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31164 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31166 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31167 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31169 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31170 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31172 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31173 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31175 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31176 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31178 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31179 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31181 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31182 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31184 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31185 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31187 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31188 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31190 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31191 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31193 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31194 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31196 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31197 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31199 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31200 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31202 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31203 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31205 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31206 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31208 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31209 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31211 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31212 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31214 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31215 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31217 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31218 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31220 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31221 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31223 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31224 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31226 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31227 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31229 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31230 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31232 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31233 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31235 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31236 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31238 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}};
31239 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}};
31240 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}};
31241 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}};
31242 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}};
31243 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}};
31244 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}};
31245 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}};
31246 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}};
31247 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}};
31248 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}};
31249 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}};
31250 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}};
31251 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}};
31252 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}};
31253 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}};
31254 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}};
31255 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}};
31256 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}};
31257 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}};
31258 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 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}};
31259 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}};
31260 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}};
31261 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}};
31262 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}};
31263 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}};
31264 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}};
31265 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}};
31266 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}};
31267 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}};
31268 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}};
31269 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}};
31270 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}};
31271 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}};
31272 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}};
31273 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}};
31274 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}};
31275 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}};
31276 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}};
31277 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}};
31278 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}};
31279 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}};
31280 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}};
31281 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}};
31282 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}};
31283 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}};
31284 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}};
31285 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}};
31286 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}};
31287 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}};
31288 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}};
31289 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}};
31290 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}};
31291 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}};
31292 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}};
31293 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}};
31294 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}};
31295 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}};
31296 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}};
31297 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}};
31298 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}};
31299 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}};
31300 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}};
31301 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}};
31302 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}};
31303 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}};
31304 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}};
31305 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}};
31306 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}};
31307 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}};
31308 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}};
31309 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}};
31310 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}};
31311 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}};
31312 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}};
31313 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}};
31314 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}};
31315 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}};
31316 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 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}};
31317 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}};
31318 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}};
31319 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}};
31320 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}};
31321 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}};
31323 static swig_type_info
*swig_types_initial
[] = {
31324 _swigt__p_wxTextUrlEvent
,
31325 _swigt__p_wxBookCtrlEvent
,
31327 _swigt__p_wxCheckBox
,
31328 _swigt__p_wxPyTreeCtrl
,
31330 _swigt__p_wxGenericDirCtrl
,
31332 _swigt__p_wxPyTreeItemData
,
31333 _swigt__p_wxItemContainer
,
31334 _swigt__p_wxDirFilterListCtrl
,
31335 _swigt__p_wxPyListCtrl
,
31336 _swigt__p_wxStaticLine
,
31337 _swigt__p_wxControl
,
31338 _swigt__p_wxPyControl
,
31340 _swigt__p_wxToolBarBase
,
31342 _swigt__p_wxToggleButton
,
31343 _swigt__p_wxRadioButton
,
31344 _swigt__p_wxChoice
,
31345 _swigt__p_wxMemoryDC
,
31346 _swigt__p_wxListItemAttr
,
31351 _swigt__p_wxListView
,
31353 _swigt__p_wxTextCtrl
,
31354 _swigt__p_wxNotebook
,
31355 _swigt__p_wxNotifyEvent
,
31356 _swigt__p_wxArrayString
,
31357 _swigt__p_wxListbook
,
31358 _swigt__p_wxStaticBitmap
,
31359 _swigt__p_wxSlider
,
31360 _swigt__p_wxStaticBox
,
31361 _swigt__p_wxArrayInt
,
31362 _swigt__p_wxContextHelp
,
31364 _swigt__p_wxEvtHandler
,
31365 _swigt__p_wxListEvent
,
31366 _swigt__p_wxListBox
,
31367 _swigt__p_wxCheckListBox
,
31368 _swigt__p_wxBookCtrl
,
31369 _swigt__p_wxSpinButton
,
31370 _swigt__p_wxButton
,
31371 _swigt__p_wxBitmapButton
,
31373 _swigt__p_wxContextHelpButton
,
31374 _swigt__p_wxRadioBox
,
31375 _swigt__p_wxScrollBar
,
31377 _swigt__p_wxTreeItemId
,
31378 _swigt__p_wxComboBox
,
31379 _swigt__p_wxHelpEvent
,
31380 _swigt__p_wxListItem
,
31381 _swigt__p_wxNotebookSizer
,
31382 _swigt__p_wxSpinEvent
,
31383 _swigt__p_wxGenericDragImage
,
31384 _swigt__p_wxSpinCtrl
,
31385 _swigt__p_wxImageList
,
31386 _swigt__p_wxHelpProvider
,
31387 _swigt__p_wxTextAttr
,
31388 _swigt__p_wxSimpleHelpProvider
,
31390 _swigt__p_wxListbookEvent
,
31391 _swigt__p_wxNotebookEvent
,
31392 _swigt__p_wxObject
,
31393 _swigt__p_wxCursor
,
31394 _swigt__p_wxKeyEvent
,
31395 _swigt__p_wxWindow
,
31396 _swigt__p_wxString
,
31397 _swigt__p_wxBitmap
,
31398 _swigt__p_wxTreeEvent
,
31399 _swigt__p_wxMouseEvent
,
31400 _swigt__p_wxCommandEvent
,
31401 _swigt__p_wxStaticText
,
31402 _swigt__p_wxControlWithItems
,
31403 _swigt__p_wxToolBarToolBase
,
31404 _swigt__p_wxColour
,
31405 _swigt__p_wxToolBar
,
31406 _swigt__p_wxBookCtrlSizer
,
31407 _swigt__p_wxValidator
,
31412 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31414 static swig_const_info swig_const_table
[] = {
31415 {0, 0, 0, 0.0, 0, 0}};
31424 SWIGEXPORT(void) SWIG_init(void) {
31425 static PyObject
*SWIG_globals
= 0;
31426 static int typeinit
= 0;
31429 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31430 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31431 d
= PyModule_GetDict(m
);
31434 for (i
= 0; swig_types_initial
[i
]; i
++) {
31435 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31439 SWIG_InstallConstants(d
,swig_const_table
);
31441 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31442 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31443 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31444 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31445 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31446 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31447 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31448 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31449 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31450 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31451 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31452 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31453 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31454 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31455 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31456 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31457 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31458 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31459 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31460 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31461 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31462 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31463 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31464 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31465 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31466 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31467 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31468 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31469 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
31470 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
31471 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
31472 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
31473 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
31474 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
31475 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
31476 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
31477 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
31478 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
31479 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
31480 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
31481 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
31482 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
31483 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
31484 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
31485 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
31486 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31487 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31488 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31489 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31490 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31491 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31492 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31493 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31494 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31495 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31496 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31497 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31498 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31499 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
31500 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31501 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31502 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31503 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
31504 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
31505 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
31506 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
31507 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
31508 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
31509 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31510 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31511 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31512 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31513 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31514 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31515 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31516 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
31517 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
31518 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
31519 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
31520 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31521 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31522 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31523 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31524 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31525 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31526 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31527 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
31528 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
31529 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
31530 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
31531 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
31532 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
31533 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
31534 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
31535 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
31536 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
31537 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31538 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31539 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
31540 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
31541 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
31542 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
31543 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
31544 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
31545 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31546 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31547 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
31548 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31549 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
31550 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
31551 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
31552 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
31553 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
31554 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
31555 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
31556 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
31557 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
31558 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
31559 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
31560 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
31561 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31562 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
31563 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
31564 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
31565 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
31566 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
31567 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
31568 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
31569 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
31570 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
31571 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
31572 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
31573 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
31574 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
31575 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
31576 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
31577 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
31578 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
31579 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
31580 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
31581 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
31582 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
31583 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
31584 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
31585 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
31586 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
31587 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
31588 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
31589 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
31590 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
31591 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
31592 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
31593 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
31594 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
31595 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
31596 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
31597 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
31598 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
31599 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
31600 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31601 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31602 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31603 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31604 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31605 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31606 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31607 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
31608 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
31609 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
31610 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
31611 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
31612 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
31613 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31614 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
31615 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
31616 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31617 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
31618 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
31619 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
31620 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
31621 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
31622 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31623 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
31624 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
31625 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
31626 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
31627 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
31628 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
31629 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
31630 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31631 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31632 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31633 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31634 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31635 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31636 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31637 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31638 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31639 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31640 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31641 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31642 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31643 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31644 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31645 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31646 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31647 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31648 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31649 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31650 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31651 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31653 // Map renamed classes back to their common name for OOR
31654 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31656 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31657 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
31658 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
31659 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
31660 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
31661 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
31662 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
31663 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
31664 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31665 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
31666 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
31667 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
31668 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31669 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
31670 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
31671 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
31672 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
31673 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
31674 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
31675 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
31676 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31677 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
31678 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
31679 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
31680 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31681 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31682 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31683 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31684 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31685 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31686 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31687 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31688 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31689 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31690 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31691 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
31692 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31693 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31694 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31695 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31696 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31697 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31698 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31699 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31700 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31701 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31702 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31703 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31704 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31705 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31706 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31707 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31708 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31709 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31710 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31711 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31713 // Map renamed classes back to their common name for OOR
31714 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31715 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31717 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31718 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31719 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31720 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31721 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31722 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31723 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31724 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31725 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31726 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31728 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");