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 bool blocked
= wxPyBeginBlockThreads();
652 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
653 PyObject
* result
= PyEval_CallObject(func
, args
);
656 retval
= PyInt_AsLong(result
);
660 wxPyEndBlockThreads(blocked
);
664 // C++ Version of a Python aware class
665 class wxPyListCtrl
: public wxListCtrl
{
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
673 const wxValidator
& validator
,
674 const wxString
& name
) :
675 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
677 bool Create(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) {
683 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
699 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
701 item
.SetMask( wxLIST_MASK_STATE
|
709 if (self
->GetColumn(col
, item
))
710 return new wxListItem(item
);
714 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
715 wxListItem
* info
= new wxListItem
;
716 info
->m_itemId
= itemId
;
718 info
->m_mask
= 0xFFFF;
719 self
->GetItem(*info
);
722 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
724 self
->GetItemPosition(item
, pos
);
727 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
729 self
->GetItemRect(item
, rect
, code
);
732 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
733 if (!PyCallable_Check(func
))
735 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
737 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
745 #include <wx/treectrl.h>
746 #include "wx/wxPython/pytree.h"
748 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
749 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
750 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
751 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
752 // C++ version of Python aware wxTreeCtrl
753 class wxPyTreeCtrl
: public wxTreeCtrl
{
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
761 const wxValidator
& validator
,
762 const wxString
& name
) :
763 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
765 bool Create(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) {
771 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
775 int OnCompareItems(const wxTreeItemId
& item1
,
776 const wxTreeItemId
& item2
) {
779 bool blocked
= 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(blocked
);
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 bool blocked
= 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(blocked
);
893 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
895 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
896 bool blocked
= 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(blocked
);
903 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
905 bool blocked
= 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(blocked
);
912 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
914 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
915 bool blocked
= wxPyBeginBlockThreads();
916 wxRect
* r
= new wxRect(rect
);
917 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
918 wxPyEndBlockThreads(blocked
);
924 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
925 // C++ version of Python aware wxControl
926 class wxPyControl
: public wxControl
928 DECLARE_DYNAMIC_CLASS(wxPyControl
)
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
932 const wxPoint
& pos
= wxDefaultPosition
,
933 const wxSize
& size
= wxDefaultSize
,
935 const wxValidator
& validator
=wxDefaultValidator
,
936 const wxString
& name
= wxPyControlNameStr
)
937 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
952 DEC_PYCALLBACK__(InitDialog
);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
955 DEC_PYCALLBACK_BOOL_(Validate
);
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
969 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
971 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
972 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
973 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
980 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
981 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
983 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
984 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
985 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
986 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
988 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
989 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
992 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
999 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1001 #include <wx/generic/dragimgg.h>
1006 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1007 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1012 static PyObject
*_wrap_ButtonNameStr_get() {
1017 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1019 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1026 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
*resultobj
;
1028 wxWindow
*arg1
= (wxWindow
*) 0 ;
1030 wxString
*arg3
= 0 ;
1031 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1032 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1033 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1034 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1035 long arg6
= (long) 0 ;
1036 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1037 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1038 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1039 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1041 bool temp3
= False
;
1044 bool temp8
= False
;
1045 PyObject
* obj0
= 0 ;
1046 PyObject
* obj1
= 0 ;
1047 PyObject
* obj2
= 0 ;
1048 PyObject
* obj3
= 0 ;
1049 PyObject
* obj4
= 0 ;
1050 PyObject
* obj5
= 0 ;
1051 PyObject
* obj6
= 0 ;
1052 PyObject
* obj7
= 0 ;
1054 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1060 arg2
= (int) SWIG_AsInt(obj1
);
1061 if (PyErr_Occurred()) SWIG_fail
;
1063 arg3
= wxString_in_helper(obj2
);
1064 if (arg3
== NULL
) SWIG_fail
;
1070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1080 arg6
= (long) SWIG_AsLong(obj5
);
1081 if (PyErr_Occurred()) SWIG_fail
;
1084 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1088 PyErr_SetString(PyExc_TypeError
,"null reference");
1094 arg8
= wxString_in_helper(obj7
);
1095 if (arg8
== NULL
) SWIG_fail
;
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1107 resultobj
= wxPyMake_wxObject(result
);
1131 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
*resultobj
;
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 result
= (wxButton
*)new wxButton();
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1147 resultobj
= wxPyMake_wxObject(result
);
1155 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
*resultobj
;
1157 wxButton
*arg1
= (wxButton
*) 0 ;
1158 wxWindow
*arg2
= (wxWindow
*) 0 ;
1160 wxString
*arg4
= 0 ;
1161 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1162 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1163 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1164 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1165 long arg7
= (long) 0 ;
1166 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1167 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1168 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1169 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1171 bool temp4
= False
;
1174 bool temp9
= False
;
1175 PyObject
* obj0
= 0 ;
1176 PyObject
* obj1
= 0 ;
1177 PyObject
* obj2
= 0 ;
1178 PyObject
* obj3
= 0 ;
1179 PyObject
* obj4
= 0 ;
1180 PyObject
* obj5
= 0 ;
1181 PyObject
* obj6
= 0 ;
1182 PyObject
* obj7
= 0 ;
1183 PyObject
* obj8
= 0 ;
1185 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1193 arg3
= (int) SWIG_AsInt(obj2
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1196 arg4
= wxString_in_helper(obj3
);
1197 if (arg4
== NULL
) SWIG_fail
;
1203 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1209 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1213 arg7
= (long) SWIG_AsLong(obj6
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1217 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1221 PyErr_SetString(PyExc_TypeError
,"null reference");
1227 arg9
= wxString_in_helper(obj8
);
1228 if (arg9
== NULL
) SWIG_fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1264 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
*resultobj
;
1266 wxButton
*arg1
= (wxButton
*) 0 ;
1267 PyObject
* obj0
= 0 ;
1269 (char *) "self", NULL
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 (arg1
)->SetDefault();
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) SWIG_fail
;
1282 Py_INCREF(Py_None
); resultobj
= Py_None
;
1289 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
*resultobj
;
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 result
= wxButton::GetDefaultSize();
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1306 resultptr
= new wxSize((wxSize
&) result
);
1307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1315 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1318 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1320 return Py_BuildValue((char *)"");
1322 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
*resultobj
;
1324 wxWindow
*arg1
= (wxWindow
*) 0 ;
1326 wxBitmap
*arg3
= 0 ;
1327 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1328 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1329 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1330 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1331 long arg6
= (long) wxBU_AUTODRAW
;
1332 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1333 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1334 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1335 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1336 wxBitmapButton
*result
;
1339 bool temp8
= False
;
1340 PyObject
* obj0
= 0 ;
1341 PyObject
* obj1
= 0 ;
1342 PyObject
* obj2
= 0 ;
1343 PyObject
* obj3
= 0 ;
1344 PyObject
* obj4
= 0 ;
1345 PyObject
* obj5
= 0 ;
1346 PyObject
* obj6
= 0 ;
1347 PyObject
* obj7
= 0 ;
1349 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1355 arg2
= (int) SWIG_AsInt(obj1
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1357 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1361 PyErr_SetString(PyExc_TypeError
,"null reference");
1367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1377 arg6
= (long) SWIG_AsLong(obj5
);
1378 if (PyErr_Occurred()) SWIG_fail
;
1381 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1385 PyErr_SetString(PyExc_TypeError
,"null reference");
1391 arg8
= wxString_in_helper(obj7
);
1392 if (arg8
== NULL
) SWIG_fail
;
1397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1398 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1400 wxPyEndAllowThreads(__tstate
);
1401 if (PyErr_Occurred()) SWIG_fail
;
1404 resultobj
= wxPyMake_wxObject(result
);
1420 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
*resultobj
;
1422 wxBitmapButton
*result
;
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 result
= (wxBitmapButton
*)new wxBitmapButton();
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1436 resultobj
= wxPyMake_wxObject(result
);
1444 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
*resultobj
;
1446 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1447 wxWindow
*arg2
= (wxWindow
*) 0 ;
1449 wxBitmap
*arg4
= 0 ;
1450 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1451 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1452 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1453 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1454 long arg7
= (long) wxBU_AUTODRAW
;
1455 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1456 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1457 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1458 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1462 bool temp9
= False
;
1463 PyObject
* obj0
= 0 ;
1464 PyObject
* obj1
= 0 ;
1465 PyObject
* obj2
= 0 ;
1466 PyObject
* obj3
= 0 ;
1467 PyObject
* obj4
= 0 ;
1468 PyObject
* obj5
= 0 ;
1469 PyObject
* obj6
= 0 ;
1470 PyObject
* obj7
= 0 ;
1471 PyObject
* obj8
= 0 ;
1473 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1481 arg3
= (int) SWIG_AsInt(obj2
);
1482 if (PyErr_Occurred()) SWIG_fail
;
1483 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1487 PyErr_SetString(PyExc_TypeError
,"null reference");
1493 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1499 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1503 arg7
= (long) SWIG_AsLong(obj6
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1507 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1511 PyErr_SetString(PyExc_TypeError
,"null reference");
1517 arg9
= wxString_in_helper(obj8
);
1518 if (arg9
== NULL
) SWIG_fail
;
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) SWIG_fail
;
1530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1546 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
*resultobj
;
1548 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1550 PyObject
* obj0
= 0 ;
1552 (char *) "self", NULL
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 result
= (arg1
)->GetBitmapLabel();
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1566 wxBitmap
* resultptr
;
1567 resultptr
= new wxBitmap((wxBitmap
&) result
);
1568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1576 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1578 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1580 PyObject
* obj0
= 0 ;
1582 (char *) "self", NULL
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 result
= (arg1
)->GetBitmapDisabled();
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) SWIG_fail
;
1596 wxBitmap
* resultptr
;
1597 resultptr
= new wxBitmap((wxBitmap
&) result
);
1598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1606 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
*resultobj
;
1608 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1610 PyObject
* obj0
= 0 ;
1612 (char *) "self", NULL
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 result
= (arg1
)->GetBitmapFocus();
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1626 wxBitmap
* resultptr
;
1627 resultptr
= new wxBitmap((wxBitmap
&) result
);
1628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1636 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1638 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1640 PyObject
* obj0
= 0 ;
1642 (char *) "self", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 result
= (arg1
)->GetBitmapSelected();
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1656 wxBitmap
* resultptr
;
1657 resultptr
= new wxBitmap((wxBitmap
&) result
);
1658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1666 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1669 wxBitmap
*arg2
= 0 ;
1670 PyObject
* obj0
= 0 ;
1671 PyObject
* obj1
= 0 ;
1673 (char *) "self",(char *) "bitmap", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1683 PyErr_SetString(PyExc_TypeError
,"null reference");
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 Py_INCREF(Py_None
); resultobj
= Py_None
;
1700 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1703 wxBitmap
*arg2
= 0 ;
1704 PyObject
* obj0
= 0 ;
1705 PyObject
* obj1
= 0 ;
1707 (char *) "self",(char *) "bitmap", NULL
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1717 PyErr_SetString(PyExc_TypeError
,"null reference");
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1727 Py_INCREF(Py_None
); resultobj
= Py_None
;
1734 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
*resultobj
;
1736 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1737 wxBitmap
*arg2
= 0 ;
1738 PyObject
* obj0
= 0 ;
1739 PyObject
* obj1
= 0 ;
1741 (char *) "self",(char *) "bitmap", NULL
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1751 PyErr_SetString(PyExc_TypeError
,"null reference");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1761 Py_INCREF(Py_None
); resultobj
= Py_None
;
1768 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1771 wxBitmap
*arg2
= 0 ;
1772 PyObject
* obj0
= 0 ;
1773 PyObject
* obj1
= 0 ;
1775 (char *) "self",(char *) "bitmap", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1785 PyErr_SetString(PyExc_TypeError
,"null reference");
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) SWIG_fail
;
1795 Py_INCREF(Py_None
); resultobj
= Py_None
;
1802 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
*resultobj
;
1804 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1807 PyObject
* obj0
= 0 ;
1808 PyObject
* obj1
= 0 ;
1809 PyObject
* obj2
= 0 ;
1811 (char *) "self",(char *) "x",(char *) "y", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1817 arg2
= (int) SWIG_AsInt(obj1
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1819 arg3
= (int) SWIG_AsInt(obj2
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 (arg1
)->SetMargins(arg2
,arg3
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 Py_INCREF(Py_None
); resultobj
= Py_None
;
1835 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1839 PyObject
* obj0
= 0 ;
1841 (char *) "self", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 resultobj
= SWIG_FromInt((int)result
);
1861 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1865 PyObject
* obj0
= 0 ;
1867 (char *) "self", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 resultobj
= SWIG_FromInt((int)result
);
1887 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1890 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1892 return Py_BuildValue((char *)"");
1894 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1895 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1900 static PyObject
*_wrap_CheckBoxNameStr_get() {
1905 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1907 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1914 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
*resultobj
;
1916 wxWindow
*arg1
= (wxWindow
*) 0 ;
1918 wxString
*arg3
= 0 ;
1919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1923 long arg6
= (long) 0 ;
1924 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1925 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1926 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1927 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1929 bool temp3
= False
;
1932 bool temp8
= False
;
1933 PyObject
* obj0
= 0 ;
1934 PyObject
* obj1
= 0 ;
1935 PyObject
* obj2
= 0 ;
1936 PyObject
* obj3
= 0 ;
1937 PyObject
* obj4
= 0 ;
1938 PyObject
* obj5
= 0 ;
1939 PyObject
* obj6
= 0 ;
1940 PyObject
* obj7
= 0 ;
1942 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 arg2
= (int) SWIG_AsInt(obj1
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 arg3
= wxString_in_helper(obj2
);
1952 if (arg3
== NULL
) SWIG_fail
;
1958 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1964 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1968 arg6
= (long) SWIG_AsLong(obj5
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1972 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1976 PyErr_SetString(PyExc_TypeError
,"null reference");
1982 arg8
= wxString_in_helper(obj7
);
1983 if (arg8
== NULL
) SWIG_fail
;
1988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1989 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1991 wxPyEndAllowThreads(__tstate
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2017 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 result
= (wxCheckBox
*)new wxCheckBox();
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2039 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2041 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2042 wxWindow
*arg2
= (wxWindow
*) 0 ;
2044 wxString
*arg4
= 0 ;
2045 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2046 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2047 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2048 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2049 long arg7
= (long) 0 ;
2050 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2051 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2052 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2053 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2055 bool temp4
= False
;
2058 bool temp9
= False
;
2059 PyObject
* obj0
= 0 ;
2060 PyObject
* obj1
= 0 ;
2061 PyObject
* obj2
= 0 ;
2062 PyObject
* obj3
= 0 ;
2063 PyObject
* obj4
= 0 ;
2064 PyObject
* obj5
= 0 ;
2065 PyObject
* obj6
= 0 ;
2066 PyObject
* obj7
= 0 ;
2067 PyObject
* obj8
= 0 ;
2069 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 arg3
= (int) SWIG_AsInt(obj2
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2080 arg4
= wxString_in_helper(obj3
);
2081 if (arg4
== NULL
) SWIG_fail
;
2087 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2093 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2097 arg7
= (long) SWIG_AsLong(obj6
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2101 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2105 PyErr_SetString(PyExc_TypeError
,"null reference");
2111 arg9
= wxString_in_helper(obj8
);
2112 if (arg9
== NULL
) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2148 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2152 PyObject
* obj0
= 0 ;
2154 (char *) "self", NULL
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 result
= (bool)(arg1
)->GetValue();
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2176 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2182 (char *) "self", NULL
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 result
= (bool)(arg1
)->IsChecked();
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2204 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2206 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2208 PyObject
* obj0
= 0 ;
2209 PyObject
* obj1
= 0 ;
2211 (char *) "self",(char *) "state", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2217 arg2
= (bool const) SWIG_AsBool(obj1
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 (arg1
)->SetValue(arg2
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 Py_INCREF(Py_None
); resultobj
= Py_None
;
2233 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2239 (char *) "self", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 resultobj
= SWIG_FromInt((int)result
);
2259 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2264 PyObject
* obj1
= 0 ;
2266 (char *) "self",(char *) "state", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 Py_INCREF(Py_None
); resultobj
= Py_None
;
2288 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "self", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2316 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2320 PyObject
* obj0
= 0 ;
2322 (char *) "self", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2344 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2347 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2349 return Py_BuildValue((char *)"");
2351 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2352 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2357 static PyObject
*_wrap_ChoiceNameStr_get() {
2362 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2364 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2371 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxWindow
*arg1
= (wxWindow
*) 0 ;
2375 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2376 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2377 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2378 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2379 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2380 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2381 long arg6
= (long) 0 ;
2382 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2383 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2384 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2385 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2389 bool temp5
= False
;
2390 bool temp8
= False
;
2391 PyObject
* obj0
= 0 ;
2392 PyObject
* obj1
= 0 ;
2393 PyObject
* obj2
= 0 ;
2394 PyObject
* obj3
= 0 ;
2395 PyObject
* obj4
= 0 ;
2396 PyObject
* obj5
= 0 ;
2397 PyObject
* obj6
= 0 ;
2398 PyObject
* obj7
= 0 ;
2400 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2406 arg2
= (int) SWIG_AsInt(obj1
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2422 if (! PySequence_Check(obj4
)) {
2423 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2426 arg5
= new wxArrayString
;
2428 int i
, len
=PySequence_Length(obj4
);
2429 for (i
=0; i
<len
; i
++) {
2430 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2432 PyObject
* str
= PyObject_Unicode(item
);
2434 PyObject
* str
= PyObject_Str(item
);
2436 arg5
->Add(Py2wxString(str
));
2443 arg6
= (long) SWIG_AsLong(obj5
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2447 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2451 PyErr_SetString(PyExc_TypeError
,"null reference");
2457 arg8
= wxString_in_helper(obj7
);
2458 if (arg8
== NULL
) SWIG_fail
;
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2471 if (temp5
) delete arg5
;
2480 if (temp5
) delete arg5
;
2490 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 result
= (wxChoice
*)new wxChoice();
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2512 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2514 wxChoice
*arg1
= (wxChoice
*) 0 ;
2515 wxWindow
*arg2
= (wxWindow
*) 0 ;
2517 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2518 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2519 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2520 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2521 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2522 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2523 long arg7
= (long) 0 ;
2524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2526 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2531 bool temp6
= False
;
2532 bool temp9
= False
;
2533 PyObject
* obj0
= 0 ;
2534 PyObject
* obj1
= 0 ;
2535 PyObject
* obj2
= 0 ;
2536 PyObject
* obj3
= 0 ;
2537 PyObject
* obj4
= 0 ;
2538 PyObject
* obj5
= 0 ;
2539 PyObject
* obj6
= 0 ;
2540 PyObject
* obj7
= 0 ;
2541 PyObject
* obj8
= 0 ;
2543 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2551 arg3
= (int) SWIG_AsInt(obj2
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2567 if (! PySequence_Check(obj5
)) {
2568 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2571 arg6
= new wxArrayString
;
2573 int i
, len
=PySequence_Length(obj5
);
2574 for (i
=0; i
<len
; i
++) {
2575 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2577 PyObject
* str
= PyObject_Unicode(item
);
2579 PyObject
* str
= PyObject_Str(item
);
2581 arg6
->Add(Py2wxString(str
));
2588 arg7
= (long) SWIG_AsLong(obj6
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2592 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2596 PyErr_SetString(PyExc_TypeError
,"null reference");
2602 arg9
= wxString_in_helper(obj8
);
2603 if (arg9
== NULL
) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2618 if (temp6
) delete arg6
;
2627 if (temp6
) delete arg6
;
2637 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxChoice
*arg1
= (wxChoice
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2644 (char *) "self",(char *) "n", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2650 arg2
= (int const) SWIG_AsInt(obj1
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 (arg1
)->SetSelection(arg2
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 Py_INCREF(Py_None
); resultobj
= Py_None
;
2666 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxChoice
*arg1
= (wxChoice
*) 0 ;
2669 wxString
*arg2
= 0 ;
2670 bool temp2
= False
;
2671 PyObject
* obj0
= 0 ;
2672 PyObject
* obj1
= 0 ;
2674 (char *) "self",(char *) "string", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 arg2
= wxString_in_helper(obj1
);
2682 if (arg2
== NULL
) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2707 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxChoice
*arg1
= (wxChoice
*) 0 ;
2711 wxString
*arg3
= 0 ;
2712 bool temp3
= False
;
2713 PyObject
* obj0
= 0 ;
2714 PyObject
* obj1
= 0 ;
2715 PyObject
* obj2
= 0 ;
2717 (char *) "self",(char *) "n",(char *) "string", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2723 arg2
= (int) SWIG_AsInt(obj1
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 arg3
= wxString_in_helper(obj2
);
2727 if (arg3
== NULL
) SWIG_fail
;
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2737 Py_INCREF(Py_None
); resultobj
= Py_None
;
2752 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2755 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2757 return Py_BuildValue((char *)"");
2759 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2760 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2765 static PyObject
*_wrap_ComboBoxNameStr_get() {
2770 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2772 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2779 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxWindow
*arg1
= (wxWindow
*) 0 ;
2783 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2784 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2785 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2786 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2787 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2788 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2789 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2790 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2791 long arg7
= (long) 0 ;
2792 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2793 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2794 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2795 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2797 bool temp3
= False
;
2800 bool temp6
= False
;
2801 bool temp9
= False
;
2802 PyObject
* obj0
= 0 ;
2803 PyObject
* obj1
= 0 ;
2804 PyObject
* obj2
= 0 ;
2805 PyObject
* obj3
= 0 ;
2806 PyObject
* obj4
= 0 ;
2807 PyObject
* obj5
= 0 ;
2808 PyObject
* obj6
= 0 ;
2809 PyObject
* obj7
= 0 ;
2810 PyObject
* obj8
= 0 ;
2812 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2818 arg2
= (int) SWIG_AsInt(obj1
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2822 arg3
= wxString_in_helper(obj2
);
2823 if (arg3
== NULL
) SWIG_fail
;
2830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2841 if (! PySequence_Check(obj5
)) {
2842 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2845 arg6
= new wxArrayString
;
2847 int i
, len
=PySequence_Length(obj5
);
2848 for (i
=0; i
<len
; i
++) {
2849 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2851 PyObject
* str
= PyObject_Unicode(item
);
2853 PyObject
* str
= PyObject_Str(item
);
2855 arg6
->Add(Py2wxString(str
));
2862 arg7
= (long) SWIG_AsLong(obj6
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2866 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2870 PyErr_SetString(PyExc_TypeError
,"null reference");
2876 arg9
= wxString_in_helper(obj8
);
2877 if (arg9
== NULL
) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 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
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2894 if (temp6
) delete arg6
;
2907 if (temp6
) delete arg6
;
2917 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (wxComboBox
*)new wxComboBox();
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2939 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2942 wxWindow
*arg2
= (wxWindow
*) 0 ;
2944 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2945 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2946 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2947 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2948 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2949 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2950 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2951 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2952 long arg8
= (long) 0 ;
2953 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2954 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2955 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2956 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2958 bool temp4
= False
;
2961 bool temp7
= False
;
2962 bool temp10
= False
;
2963 PyObject
* obj0
= 0 ;
2964 PyObject
* obj1
= 0 ;
2965 PyObject
* obj2
= 0 ;
2966 PyObject
* obj3
= 0 ;
2967 PyObject
* obj4
= 0 ;
2968 PyObject
* obj5
= 0 ;
2969 PyObject
* obj6
= 0 ;
2970 PyObject
* obj7
= 0 ;
2971 PyObject
* obj8
= 0 ;
2972 PyObject
* obj9
= 0 ;
2974 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 arg3
= (int) SWIG_AsInt(obj2
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2986 arg4
= wxString_in_helper(obj3
);
2987 if (arg4
== NULL
) SWIG_fail
;
2994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3000 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3005 if (! PySequence_Check(obj6
)) {
3006 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3009 arg7
= new wxArrayString
;
3011 int i
, len
=PySequence_Length(obj6
);
3012 for (i
=0; i
<len
; i
++) {
3013 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3015 PyObject
* str
= PyObject_Unicode(item
);
3017 PyObject
* str
= PyObject_Str(item
);
3019 arg7
->Add(Py2wxString(str
));
3026 arg8
= (long) SWIG_AsLong(obj7
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3030 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3034 PyErr_SetString(PyExc_TypeError
,"null reference");
3040 arg10
= wxString_in_helper(obj9
);
3041 if (arg10
== NULL
) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 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
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3060 if (temp7
) delete arg7
;
3073 if (temp7
) delete arg7
;
3083 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3087 PyObject
* obj0
= 0 ;
3089 (char *) "self", NULL
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 result
= ((wxComboBox
const *)arg1
)->GetValue();
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3115 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3118 wxString
*arg2
= 0 ;
3119 bool temp2
= False
;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj1
= 0 ;
3123 (char *) "self",(char *) "value", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 arg2
= wxString_in_helper(obj1
);
3131 if (arg2
== NULL
) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 (arg1
)->SetValue((wxString
const &)*arg2
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 Py_INCREF(Py_None
); resultobj
= Py_None
;
3156 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
;
3158 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3159 PyObject
* obj0
= 0 ;
3161 (char *) "self", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 Py_INCREF(Py_None
); resultobj
= Py_None
;
3181 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3183 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3186 (char *) "self", NULL
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3199 Py_INCREF(Py_None
); resultobj
= Py_None
;
3206 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3209 PyObject
* obj0
= 0 ;
3211 (char *) "self", NULL
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 Py_INCREF(Py_None
); resultobj
= Py_None
;
3231 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3238 (char *) "self",(char *) "pos", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3244 arg2
= (long) SWIG_AsLong(obj1
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 (arg1
)->SetInsertionPoint(arg2
);
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3253 Py_INCREF(Py_None
); resultobj
= Py_None
;
3260 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3266 (char *) "self", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= SWIG_FromLong((long)result
);
3286 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "self", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= SWIG_FromLong((long)result
);
3312 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3317 wxString
*arg4
= 0 ;
3318 bool temp4
= False
;
3319 PyObject
* obj0
= 0 ;
3320 PyObject
* obj1
= 0 ;
3321 PyObject
* obj2
= 0 ;
3322 PyObject
* obj3
= 0 ;
3324 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3330 arg2
= (long) SWIG_AsLong(obj1
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3332 arg3
= (long) SWIG_AsLong(obj2
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 arg4
= wxString_in_helper(obj3
);
3336 if (arg4
== NULL
) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3368 (char *) "self",(char *) "n", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3374 arg2
= (int) SWIG_AsInt(obj1
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 (arg1
)->SetSelection(arg2
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3397 PyObject
* obj2
= 0 ;
3399 (char *) "self",(char *) "from",(char *) "to", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 arg2
= (long) SWIG_AsLong(obj1
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3407 arg3
= (long) SWIG_AsLong(obj2
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 (arg1
)->SetSelection(arg2
,arg3
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 Py_INCREF(Py_None
); resultobj
= Py_None
;
3423 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3427 PyObject
* obj0
= 0 ;
3428 PyObject
* obj1
= 0 ;
3430 (char *) "self",(char *) "editable", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 arg2
= (bool) SWIG_AsBool(obj1
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 (arg1
)->SetEditable(arg2
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 Py_INCREF(Py_None
); resultobj
= Py_None
;
3452 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 (arg1
)->SetInsertionPointEnd();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3486 (char *) "self",(char *) "from",(char *) "to", NULL
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3492 arg2
= (long) SWIG_AsLong(obj1
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3494 arg3
= (long) SWIG_AsLong(obj2
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 (arg1
)->Remove(arg2
,arg3
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 Py_INCREF(Py_None
); resultobj
= Py_None
;
3510 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3513 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3515 return Py_BuildValue((char *)"");
3517 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3518 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3523 static PyObject
*_wrap_GaugeNameStr_get() {
3528 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3530 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3537 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
*resultobj
;
3539 wxWindow
*arg1
= (wxWindow
*) 0 ;
3542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3546 long arg6
= (long) wxGA_HORIZONTAL
;
3547 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3548 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3549 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3550 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3554 bool temp8
= False
;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3557 PyObject
* obj2
= 0 ;
3558 PyObject
* obj3
= 0 ;
3559 PyObject
* obj4
= 0 ;
3560 PyObject
* obj5
= 0 ;
3561 PyObject
* obj6
= 0 ;
3562 PyObject
* obj7
= 0 ;
3564 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3570 arg2
= (int) SWIG_AsInt(obj1
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3572 arg3
= (int) SWIG_AsInt(obj2
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3577 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3583 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3587 arg6
= (long) SWIG_AsLong(obj5
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3591 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3595 PyErr_SetString(PyExc_TypeError
,"null reference");
3601 arg8
= wxString_in_helper(obj7
);
3602 if (arg8
== NULL
) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3628 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (wxGauge
*)new wxGauge();
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3650 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxGauge
*arg1
= (wxGauge
*) 0 ;
3653 wxWindow
*arg2
= (wxWindow
*) 0 ;
3656 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3657 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3658 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3659 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3660 long arg7
= (long) wxGA_HORIZONTAL
;
3661 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3662 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3663 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3664 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3668 bool temp9
= False
;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj1
= 0 ;
3671 PyObject
* obj2
= 0 ;
3672 PyObject
* obj3
= 0 ;
3673 PyObject
* obj4
= 0 ;
3674 PyObject
* obj5
= 0 ;
3675 PyObject
* obj6
= 0 ;
3676 PyObject
* obj7
= 0 ;
3677 PyObject
* obj8
= 0 ;
3679 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3687 arg3
= (int) SWIG_AsInt(obj2
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3689 arg4
= (int) SWIG_AsInt(obj3
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3704 arg7
= (long) SWIG_AsLong(obj6
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3708 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3712 PyErr_SetString(PyExc_TypeError
,"null reference");
3718 arg9
= wxString_in_helper(obj8
);
3719 if (arg9
== NULL
) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3747 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3749 wxGauge
*arg1
= (wxGauge
*) 0 ;
3751 PyObject
* obj0
= 0 ;
3752 PyObject
* obj1
= 0 ;
3754 (char *) "self",(char *) "range", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3760 arg2
= (int) SWIG_AsInt(obj1
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 (arg1
)->SetRange(arg2
);
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 Py_INCREF(Py_None
); resultobj
= Py_None
;
3776 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxGauge
*arg1
= (wxGauge
*) 0 ;
3780 PyObject
* obj0
= 0 ;
3782 (char *) "self", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 resultobj
= SWIG_FromInt((int)result
);
3802 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxGauge
*arg1
= (wxGauge
*) 0 ;
3806 PyObject
* obj0
= 0 ;
3807 PyObject
* obj1
= 0 ;
3809 (char *) "self",(char *) "pos", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 arg2
= (int) SWIG_AsInt(obj1
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 (arg1
)->SetValue(arg2
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 Py_INCREF(Py_None
); resultobj
= Py_None
;
3831 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxGauge
*arg1
= (wxGauge
*) 0 ;
3835 PyObject
* obj0
= 0 ;
3837 (char *) "self", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3850 resultobj
= SWIG_FromInt((int)result
);
3857 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxGauge
*arg1
= (wxGauge
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3863 (char *) "self", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3885 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxGauge
*arg1
= (wxGauge
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3892 (char *) "self",(char *) "w", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 arg2
= (int) SWIG_AsInt(obj1
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetShadowWidth(arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxGauge
*arg1
= (wxGauge
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_FromInt((int)result
);
3940 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxGauge
*arg1
= (wxGauge
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3947 (char *) "self",(char *) "w", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 arg2
= (int) SWIG_AsInt(obj1
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 (arg1
)->SetBezelFace(arg2
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 Py_INCREF(Py_None
); resultobj
= Py_None
;
3969 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxGauge
*arg1
= (wxGauge
*) 0 ;
3973 PyObject
* obj0
= 0 ;
3975 (char *) "self", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 resultobj
= SWIG_FromInt((int)result
);
3995 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3998 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4000 return Py_BuildValue((char *)"");
4002 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4003 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4008 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4013 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4015 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4022 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4023 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4028 static PyObject
*_wrap_StaticBoxNameStr_get() {
4033 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4035 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4042 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4043 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4048 static PyObject
*_wrap_StaticTextNameStr_get() {
4053 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4055 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4062 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxWindow
*arg1
= (wxWindow
*) 0 ;
4066 wxString
*arg3
= 0 ;
4067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4071 long arg6
= (long) 0 ;
4072 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4074 wxStaticBox
*result
;
4075 bool temp3
= False
;
4078 bool temp7
= False
;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4081 PyObject
* obj2
= 0 ;
4082 PyObject
* obj3
= 0 ;
4083 PyObject
* obj4
= 0 ;
4084 PyObject
* obj5
= 0 ;
4085 PyObject
* obj6
= 0 ;
4087 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 arg2
= (int) SWIG_AsInt(obj1
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 arg3
= wxString_in_helper(obj2
);
4097 if (arg3
== NULL
) SWIG_fail
;
4103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4113 arg6
= (long) SWIG_AsLong(obj5
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4118 arg7
= wxString_in_helper(obj6
);
4119 if (arg7
== NULL
) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= wxPyMake_wxObject(result
);
4155 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxStaticBox
*result
;
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (wxStaticBox
*)new wxStaticBox();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= wxPyMake_wxObject(result
);
4179 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4181 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4182 wxWindow
*arg2
= (wxWindow
*) 0 ;
4184 wxString
*arg4
= 0 ;
4185 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4186 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4187 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4188 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4189 long arg7
= (long) 0 ;
4190 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4191 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4193 bool temp4
= False
;
4196 bool temp8
= False
;
4197 PyObject
* obj0
= 0 ;
4198 PyObject
* obj1
= 0 ;
4199 PyObject
* obj2
= 0 ;
4200 PyObject
* obj3
= 0 ;
4201 PyObject
* obj4
= 0 ;
4202 PyObject
* obj5
= 0 ;
4203 PyObject
* obj6
= 0 ;
4204 PyObject
* obj7
= 0 ;
4206 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4214 arg3
= (int) SWIG_AsInt(obj2
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 arg4
= wxString_in_helper(obj3
);
4218 if (arg4
== NULL
) SWIG_fail
;
4224 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4230 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4234 arg7
= (long) SWIG_AsLong(obj6
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4239 arg8
= wxString_in_helper(obj7
);
4240 if (arg8
== NULL
) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4276 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4279 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4281 return Py_BuildValue((char *)"");
4283 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxWindow
*arg1
= (wxWindow
*) 0 ;
4287 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4288 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4291 long arg5
= (long) wxLI_HORIZONTAL
;
4292 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4293 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4294 wxStaticLine
*result
;
4297 bool temp6
= False
;
4298 PyObject
* obj0
= 0 ;
4299 PyObject
* obj1
= 0 ;
4300 PyObject
* obj2
= 0 ;
4301 PyObject
* obj3
= 0 ;
4302 PyObject
* obj4
= 0 ;
4303 PyObject
* obj5
= 0 ;
4305 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4311 arg2
= (int) SWIG_AsInt(obj1
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4316 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4322 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4326 arg5
= (long) SWIG_AsLong(obj4
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4331 arg6
= wxString_in_helper(obj5
);
4332 if (arg6
== NULL
) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4358 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxStaticLine
*result
;
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 result
= (wxStaticLine
*)new wxStaticLine();
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4380 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4383 wxWindow
*arg2
= (wxWindow
*) 0 ;
4385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4389 long arg6
= (long) wxLI_HORIZONTAL
;
4390 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4391 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4395 bool temp7
= False
;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4398 PyObject
* obj2
= 0 ;
4399 PyObject
* obj3
= 0 ;
4400 PyObject
* obj4
= 0 ;
4401 PyObject
* obj5
= 0 ;
4402 PyObject
* obj6
= 0 ;
4404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4412 arg3
= (int) SWIG_AsInt(obj2
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4417 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4423 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4427 arg6
= (long) SWIG_AsLong(obj5
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4432 arg7
= wxString_in_helper(obj6
);
4433 if (arg7
== NULL
) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4461 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4465 PyObject
* obj0
= 0 ;
4467 (char *) "self", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4489 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 result
= (int)wxStaticLine::GetDefaultSize();
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= SWIG_FromInt((int)result
);
4511 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4514 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4516 return Py_BuildValue((char *)"");
4518 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4520 wxWindow
*arg1
= (wxWindow
*) 0 ;
4522 wxString
*arg3
= 0 ;
4523 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4524 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4525 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4526 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4527 long arg6
= (long) 0 ;
4528 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4529 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4530 wxStaticText
*result
;
4531 bool temp3
= False
;
4534 bool temp7
= False
;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4537 PyObject
* obj2
= 0 ;
4538 PyObject
* obj3
= 0 ;
4539 PyObject
* obj4
= 0 ;
4540 PyObject
* obj5
= 0 ;
4541 PyObject
* obj6
= 0 ;
4543 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 arg2
= (int) SWIG_AsInt(obj1
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 arg3
= wxString_in_helper(obj2
);
4553 if (arg3
== NULL
) SWIG_fail
;
4559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4569 arg6
= (long) SWIG_AsLong(obj5
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4574 arg7
= wxString_in_helper(obj6
);
4575 if (arg7
== NULL
) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4609 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxStaticText
*result
;
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxStaticText
*)new wxStaticText();
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4631 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4634 wxWindow
*arg2
= (wxWindow
*) 0 ;
4636 wxString
*arg4
= 0 ;
4637 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4638 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4639 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4640 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4641 long arg7
= (long) 0 ;
4642 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4643 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4645 bool temp4
= False
;
4648 bool temp8
= False
;
4649 PyObject
* obj0
= 0 ;
4650 PyObject
* obj1
= 0 ;
4651 PyObject
* obj2
= 0 ;
4652 PyObject
* obj3
= 0 ;
4653 PyObject
* obj4
= 0 ;
4654 PyObject
* obj5
= 0 ;
4655 PyObject
* obj6
= 0 ;
4656 PyObject
* obj7
= 0 ;
4658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4666 arg3
= (int) SWIG_AsInt(obj2
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 arg4
= wxString_in_helper(obj3
);
4670 if (arg4
== NULL
) SWIG_fail
;
4676 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4682 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4686 arg7
= (long) SWIG_AsLong(obj6
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4691 arg8
= wxString_in_helper(obj7
);
4692 if (arg8
== NULL
) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4728 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4731 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4733 return Py_BuildValue((char *)"");
4735 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxWindow
*arg1
= (wxWindow
*) 0 ;
4739 wxBitmap
*arg3
= 0 ;
4740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4744 long arg6
= (long) 0 ;
4745 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4747 wxStaticBitmap
*result
;
4750 bool temp7
= False
;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj2
= 0 ;
4754 PyObject
* obj3
= 0 ;
4755 PyObject
* obj4
= 0 ;
4756 PyObject
* obj5
= 0 ;
4757 PyObject
* obj6
= 0 ;
4759 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 arg2
= (int) SWIG_AsInt(obj1
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4767 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4771 PyErr_SetString(PyExc_TypeError
,"null reference");
4777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4787 arg6
= (long) SWIG_AsLong(obj5
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4792 arg7
= wxString_in_helper(obj6
);
4793 if (arg7
== NULL
) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4819 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4821 wxStaticBitmap
*result
;
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4841 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4844 wxWindow
*arg2
= (wxWindow
*) 0 ;
4846 wxBitmap
*arg4
= 0 ;
4847 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4848 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4849 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4850 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4851 long arg7
= (long) 0 ;
4852 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4857 bool temp8
= False
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 PyObject
* obj2
= 0 ;
4861 PyObject
* obj3
= 0 ;
4862 PyObject
* obj4
= 0 ;
4863 PyObject
* obj5
= 0 ;
4864 PyObject
* obj6
= 0 ;
4865 PyObject
* obj7
= 0 ;
4867 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 arg3
= (int) SWIG_AsInt(obj2
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4877 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4881 PyErr_SetString(PyExc_TypeError
,"null reference");
4887 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4893 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4897 arg7
= (long) SWIG_AsLong(obj6
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4902 arg8
= wxString_in_helper(obj7
);
4903 if (arg8
== NULL
) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4931 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4935 PyObject
* obj0
= 0 ;
4937 (char *) "self", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (arg1
)->GetBitmap();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4951 wxBitmap
* resultptr
;
4952 resultptr
= new wxBitmap((wxBitmap
&) result
);
4953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4961 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4964 wxBitmap
*arg2
= 0 ;
4965 PyObject
* obj0
= 0 ;
4966 PyObject
* obj1
= 0 ;
4968 (char *) "self",(char *) "bitmap", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4978 PyErr_SetString(PyExc_TypeError
,"null reference");
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 Py_INCREF(Py_None
); resultobj
= Py_None
;
4995 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5002 (char *) "self",(char *) "icon", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5012 PyErr_SetString(PyExc_TypeError
,"null reference");
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5029 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5032 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5034 return Py_BuildValue((char *)"");
5036 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5037 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5042 static PyObject
*_wrap_ListBoxNameStr_get() {
5047 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5049 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5056 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxWindow
*arg1
= (wxWindow
*) 0 ;
5060 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5061 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5062 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5063 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5064 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5065 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5066 long arg6
= (long) 0 ;
5067 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5068 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5069 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5070 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5074 bool temp5
= False
;
5075 bool temp8
= False
;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5078 PyObject
* obj2
= 0 ;
5079 PyObject
* obj3
= 0 ;
5080 PyObject
* obj4
= 0 ;
5081 PyObject
* obj5
= 0 ;
5082 PyObject
* obj6
= 0 ;
5083 PyObject
* obj7
= 0 ;
5085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5091 arg2
= (int) SWIG_AsInt(obj1
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5107 if (! PySequence_Check(obj4
)) {
5108 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5111 arg5
= new wxArrayString
;
5113 int i
, len
=PySequence_Length(obj4
);
5114 for (i
=0; i
<len
; i
++) {
5115 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5117 PyObject
* str
= PyObject_Unicode(item
);
5119 PyObject
* str
= PyObject_Str(item
);
5121 arg5
->Add(Py2wxString(str
));
5128 arg6
= (long) SWIG_AsLong(obj5
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5132 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5136 PyErr_SetString(PyExc_TypeError
,"null reference");
5142 arg8
= wxString_in_helper(obj7
);
5143 if (arg8
== NULL
) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5156 if (temp5
) delete arg5
;
5165 if (temp5
) delete arg5
;
5175 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (wxListBox
*)new wxListBox();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5197 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxListBox
*arg1
= (wxListBox
*) 0 ;
5200 wxWindow
*arg2
= (wxWindow
*) 0 ;
5202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5206 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5207 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5208 long arg7
= (long) 0 ;
5209 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5210 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5211 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5212 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5216 bool temp6
= False
;
5217 bool temp9
= False
;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5220 PyObject
* obj2
= 0 ;
5221 PyObject
* obj3
= 0 ;
5222 PyObject
* obj4
= 0 ;
5223 PyObject
* obj5
= 0 ;
5224 PyObject
* obj6
= 0 ;
5225 PyObject
* obj7
= 0 ;
5226 PyObject
* obj8
= 0 ;
5228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5236 arg3
= (int) SWIG_AsInt(obj2
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5252 if (! PySequence_Check(obj5
)) {
5253 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5256 arg6
= new wxArrayString
;
5258 int i
, len
=PySequence_Length(obj5
);
5259 for (i
=0; i
<len
; i
++) {
5260 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5262 PyObject
* str
= PyObject_Unicode(item
);
5264 PyObject
* str
= PyObject_Str(item
);
5266 arg6
->Add(Py2wxString(str
));
5273 arg7
= (long) SWIG_AsLong(obj6
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5277 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5281 PyErr_SetString(PyExc_TypeError
,"null reference");
5287 arg9
= wxString_in_helper(obj8
);
5288 if (arg9
== NULL
) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5303 if (temp6
) delete arg6
;
5312 if (temp6
) delete arg6
;
5322 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxListBox
*arg1
= (wxListBox
*) 0 ;
5325 wxString
*arg2
= 0 ;
5327 PyObject
*arg4
= (PyObject
*) NULL
;
5328 bool temp2
= False
;
5329 PyObject
* obj0
= 0 ;
5330 PyObject
* obj1
= 0 ;
5331 PyObject
* obj2
= 0 ;
5332 PyObject
* obj3
= 0 ;
5334 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5341 arg2
= wxString_in_helper(obj1
);
5342 if (arg2
== NULL
) SWIG_fail
;
5345 arg3
= (int) SWIG_AsInt(obj2
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 Py_INCREF(Py_None
); resultobj
= Py_None
;
5372 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxListBox
*arg1
= (wxListBox
*) 0 ;
5375 wxArrayString
*arg2
= 0 ;
5377 bool temp2
= False
;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5380 PyObject
* obj2
= 0 ;
5382 (char *) "self",(char *) "items",(char *) "pos", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5389 if (! PySequence_Check(obj1
)) {
5390 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5393 arg2
= new wxArrayString
;
5395 int i
, len
=PySequence_Length(obj1
);
5396 for (i
=0; i
<len
; i
++) {
5397 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5399 PyObject
* str
= PyObject_Unicode(item
);
5401 PyObject
* str
= PyObject_Str(item
);
5403 arg2
->Add(Py2wxString(str
));
5408 arg3
= (int) SWIG_AsInt(obj2
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 Py_INCREF(Py_None
); resultobj
= Py_None
;
5419 if (temp2
) delete arg2
;
5424 if (temp2
) delete arg2
;
5430 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxListBox
*arg1
= (wxListBox
*) 0 ;
5433 wxArrayString
*arg2
= 0 ;
5434 bool temp2
= False
;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5438 (char *) "self",(char *) "items", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 if (! PySequence_Check(obj1
)) {
5446 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5449 arg2
= new wxArrayString
;
5451 int i
, len
=PySequence_Length(obj1
);
5452 for (i
=0; i
<len
; i
++) {
5453 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5455 PyObject
* str
= PyObject_Unicode(item
);
5457 PyObject
* str
= PyObject_Str(item
);
5459 arg2
->Add(Py2wxString(str
));
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->Set((wxArrayString
const &)*arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 Py_INCREF(Py_None
); resultobj
= Py_None
;
5473 if (temp2
) delete arg2
;
5478 if (temp2
) delete arg2
;
5484 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxListBox
*arg1
= (wxListBox
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5492 (char *) "self",(char *) "n", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 arg2
= (int) SWIG_AsInt(obj1
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5516 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxListBox
*arg1
= (wxListBox
*) 0 ;
5520 bool arg3
= (bool) True
;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj1
= 0 ;
5523 PyObject
* obj2
= 0 ;
5525 (char *) "self",(char *) "n",(char *) "select", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5531 arg2
= (int) SWIG_AsInt(obj1
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 arg3
= (bool) SWIG_AsBool(obj2
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 (arg1
)->SetSelection(arg2
,arg3
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 Py_INCREF(Py_None
); resultobj
= Py_None
;
5551 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxListBox
*arg1
= (wxListBox
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5558 (char *) "self",(char *) "n", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 arg2
= (int) SWIG_AsInt(obj1
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 (arg1
)->Select(arg2
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxListBox
*arg1
= (wxListBox
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "n", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 arg2
= (int) SWIG_AsInt(obj1
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 (arg1
)->Deselect(arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxListBox
*arg1
= (wxListBox
*) 0 ;
5612 int arg2
= (int) -1 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5616 (char *) "self",(char *) "itemToLeaveSelected", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5623 arg2
= (int) SWIG_AsInt(obj1
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->DeselectAll(arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 Py_INCREF(Py_None
); resultobj
= Py_None
;
5640 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxListBox
*arg1
= (wxListBox
*) 0 ;
5643 wxString
*arg2
= 0 ;
5644 bool arg3
= (bool) True
;
5646 bool temp2
= False
;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 PyObject
* obj2
= 0 ;
5651 (char *) "self",(char *) "s",(char *) "select", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5658 arg2
= wxString_in_helper(obj1
);
5659 if (arg2
== NULL
) SWIG_fail
;
5663 arg3
= (bool) SWIG_AsBool(obj2
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5690 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxListBox
*arg1
= (wxListBox
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5696 (char *) "self", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5716 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxListBox
*arg1
= (wxListBox
*) 0 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5723 (char *) "self",(char *) "n", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 arg2
= (int) SWIG_AsInt(obj1
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 (arg1
)->SetFirstItem(arg2
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxListBox
*arg1
= (wxListBox
*) 0 ;
5748 wxString
*arg2
= 0 ;
5749 bool temp2
= False
;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "s", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 arg2
= wxString_in_helper(obj1
);
5761 if (arg2
== NULL
) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 Py_INCREF(Py_None
); resultobj
= Py_None
;
5786 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxListBox
*arg1
= (wxListBox
*) 0 ;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5793 (char *) "self",(char *) "n", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5799 arg2
= (int) SWIG_AsInt(obj1
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 (arg1
)->EnsureVisible(arg2
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 Py_INCREF(Py_None
); resultobj
= Py_None
;
5815 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxListBox
*arg1
= (wxListBox
*) 0 ;
5818 wxString
*arg2
= 0 ;
5819 bool temp2
= False
;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5823 (char *) "self",(char *) "s", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5830 arg2
= wxString_in_helper(obj1
);
5831 if (arg2
== NULL
) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 Py_INCREF(Py_None
); resultobj
= Py_None
;
5856 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxListBox
*arg1
= (wxListBox
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5862 (char *) "self", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5884 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxListBox
*arg1
= (wxListBox
*) 0 ;
5888 wxColour
*arg3
= 0 ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5892 PyObject
* obj2
= 0 ;
5894 (char *) "self",(char *) "item",(char *) "c", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5900 arg2
= (int) SWIG_AsInt(obj1
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5904 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 Py_INCREF(Py_None
); resultobj
= Py_None
;
5920 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxListBox
*arg1
= (wxListBox
*) 0 ;
5924 wxColour
*arg3
= 0 ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5928 PyObject
* obj2
= 0 ;
5930 (char *) "self",(char *) "item",(char *) "c", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 arg2
= (int) SWIG_AsInt(obj1
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5940 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 Py_INCREF(Py_None
); resultobj
= Py_None
;
5956 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxListBox
*arg1
= (wxListBox
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5963 PyObject
* obj2
= 0 ;
5965 (char *) "self",(char *) "item",(char *) "f", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 arg2
= (int) SWIG_AsInt(obj1
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5973 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5977 PyErr_SetString(PyExc_TypeError
,"null reference");
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 Py_INCREF(Py_None
); resultobj
= Py_None
;
5994 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5997 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5999 return Py_BuildValue((char *)"");
6001 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxWindow
*arg1
= (wxWindow
*) 0 ;
6005 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6006 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6007 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6008 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6009 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6010 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6011 long arg6
= (long) 0 ;
6012 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6013 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6014 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6015 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6016 wxCheckListBox
*result
;
6019 bool temp5
= False
;
6020 bool temp8
= False
;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6023 PyObject
* obj2
= 0 ;
6024 PyObject
* obj3
= 0 ;
6025 PyObject
* obj4
= 0 ;
6026 PyObject
* obj5
= 0 ;
6027 PyObject
* obj6
= 0 ;
6028 PyObject
* obj7
= 0 ;
6030 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 arg2
= (int) SWIG_AsInt(obj1
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6047 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6052 if (! PySequence_Check(obj4
)) {
6053 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6056 arg5
= new wxArrayString
;
6058 int i
, len
=PySequence_Length(obj4
);
6059 for (i
=0; i
<len
; i
++) {
6060 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6062 PyObject
* str
= PyObject_Unicode(item
);
6064 PyObject
* str
= PyObject_Str(item
);
6066 arg5
->Add(Py2wxString(str
));
6073 arg6
= (long) SWIG_AsLong(obj5
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6081 PyErr_SetString(PyExc_TypeError
,"null reference");
6087 arg8
= wxString_in_helper(obj7
);
6088 if (arg8
== NULL
) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6101 if (temp5
) delete arg5
;
6110 if (temp5
) delete arg5
;
6120 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxCheckListBox
*result
;
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (wxCheckListBox
*)new wxCheckListBox();
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6142 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6145 wxWindow
*arg2
= (wxWindow
*) 0 ;
6147 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6148 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6149 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6150 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6151 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6152 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6153 long arg7
= (long) 0 ;
6154 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6155 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6156 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6157 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6161 bool temp6
= False
;
6162 bool temp9
= False
;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6165 PyObject
* obj2
= 0 ;
6166 PyObject
* obj3
= 0 ;
6167 PyObject
* obj4
= 0 ;
6168 PyObject
* obj5
= 0 ;
6169 PyObject
* obj6
= 0 ;
6170 PyObject
* obj7
= 0 ;
6171 PyObject
* obj8
= 0 ;
6173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 arg3
= (int) SWIG_AsInt(obj2
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6197 if (! PySequence_Check(obj5
)) {
6198 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6201 arg6
= new wxArrayString
;
6203 int i
, len
=PySequence_Length(obj5
);
6204 for (i
=0; i
<len
; i
++) {
6205 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6207 PyObject
* str
= PyObject_Unicode(item
);
6209 PyObject
* str
= PyObject_Str(item
);
6211 arg6
->Add(Py2wxString(str
));
6218 arg7
= (long) SWIG_AsLong(obj6
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6226 PyErr_SetString(PyExc_TypeError
,"null reference");
6232 arg9
= wxString_in_helper(obj8
);
6233 if (arg9
== NULL
) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6248 if (temp6
) delete arg6
;
6257 if (temp6
) delete arg6
;
6267 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "self",(char *) "index", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 arg2
= (int) SWIG_AsInt(obj1
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (bool)(arg1
)->IsChecked(arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6299 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6303 int arg3
= (int) True
;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6306 PyObject
* obj2
= 0 ;
6308 (char *) "self",(char *) "index",(char *) "check", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 arg2
= (int) SWIG_AsInt(obj1
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 arg3
= (int) SWIG_AsInt(obj2
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 (arg1
)->Check(arg2
,arg3
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 Py_INCREF(Py_None
); resultobj
= Py_None
;
6334 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6338 PyObject
* obj0
= 0 ;
6340 (char *) "self", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (int)(arg1
)->GetItemHeight();
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_FromInt((int)result
);
6360 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6369 (char *) "self",(char *) "pt", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6386 resultobj
= SWIG_FromInt((int)result
);
6393 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6395 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6401 PyObject
* obj2
= 0 ;
6403 (char *) "self",(char *) "x",(char *) "y", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6409 arg2
= (int) SWIG_AsInt(obj1
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6411 arg3
= (int) SWIG_AsInt(obj2
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_FromInt((int)result
);
6427 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6430 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6432 return Py_BuildValue((char *)"");
6434 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6435 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6440 static PyObject
*_wrap_TextCtrlNameStr_get() {
6445 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6447 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6454 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6455 PyObject
*resultobj
;
6458 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= (wxTextAttr
*)new wxTextAttr();
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6473 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6474 PyObject
*resultobj
;
6475 wxColour
*arg1
= 0 ;
6476 wxColour
const &arg2_defvalue
= wxNullColour
;
6477 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6478 wxFont
const &arg3_defvalue
= wxNullFont
;
6479 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6480 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6486 PyObject
* obj2
= 0 ;
6487 PyObject
* obj3
= 0 ;
6489 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6492 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6497 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6501 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6505 PyErr_SetString(PyExc_TypeError
,"null reference");
6510 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6527 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6532 argc
= PyObject_Length(args
);
6533 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6534 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6537 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6539 if ((argc
>= 1) && (argc
<= 4)) {
6542 _v
= wxColour_typecheck(argv
[0]);
6546 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6549 _v
= wxColour_typecheck(argv
[1]);
6553 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6557 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6566 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6568 _v
= SWIG_CheckInt(argv
[3]);
6570 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6577 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6582 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6585 PyObject
* obj0
= 0 ;
6587 (char *) "self", NULL
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 Py_INCREF(Py_None
); resultobj
= Py_None
;
6607 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 Py_INCREF(Py_None
); resultobj
= Py_None
;
6632 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6635 wxColour
*arg2
= 0 ;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6640 (char *) "self",(char *) "colText", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 Py_INCREF(Py_None
); resultobj
= Py_None
;
6664 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6667 wxColour
*arg2
= 0 ;
6669 PyObject
* obj0
= 0 ;
6670 PyObject
* obj1
= 0 ;
6672 (char *) "self",(char *) "colBack", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 Py_INCREF(Py_None
); resultobj
= Py_None
;
6696 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
*resultobj
;
6698 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6700 long arg3
= (long) wxTEXT_ATTR_FONT
;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6703 PyObject
* obj2
= 0 ;
6705 (char *) "self",(char *) "font",(char *) "flags", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6715 PyErr_SetString(PyExc_TypeError
,"null reference");
6719 arg3
= (long) SWIG_AsLong(obj2
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 Py_INCREF(Py_None
); resultobj
= Py_None
;
6736 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
;
6738 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6743 (char *) "self",(char *) "alignment", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6749 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 Py_INCREF(Py_None
); resultobj
= Py_None
;
6765 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6768 wxArrayInt
*arg2
= 0 ;
6769 bool temp2
= False
;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 (char *) "self",(char *) "tabs", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6780 if (! PySequence_Check(obj1
)) {
6781 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6784 arg2
= new wxArrayInt
;
6786 int i
, len
=PySequence_Length(obj1
);
6787 for (i
=0; i
<len
; i
++) {
6788 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6789 PyObject
* number
= PyNumber_Int(item
);
6790 arg2
->Add(PyInt_AS_LONG(number
));
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 Py_INCREF(Py_None
); resultobj
= Py_None
;
6804 if (temp2
) delete arg2
;
6809 if (temp2
) delete arg2
;
6815 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6819 PyObject
* obj0
= 0 ;
6820 PyObject
* obj1
= 0 ;
6822 (char *) "self",(char *) "indent", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6828 arg2
= (int) SWIG_AsInt(obj1
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 (arg1
)->SetLeftIndent(arg2
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 Py_INCREF(Py_None
); resultobj
= Py_None
;
6844 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6851 (char *) "self",(char *) "indent", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6857 arg2
= (int) SWIG_AsInt(obj1
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 (arg1
)->SetRightIndent(arg2
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 Py_INCREF(Py_None
); resultobj
= Py_None
;
6873 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
;
6875 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6880 (char *) "self",(char *) "flags", NULL
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6886 arg2
= (long) SWIG_AsLong(obj1
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 (arg1
)->SetFlags(arg2
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 Py_INCREF(Py_None
); resultobj
= Py_None
;
6902 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6908 (char *) "self", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6930 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6936 (char *) "self", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6958 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
;
6960 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6964 (char *) "self", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6986 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7014 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7018 PyObject
* obj0
= 0 ;
7020 (char *) "self", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7042 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7070 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",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();
7084 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7098 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7106 (char *) "self",(char *) "flag", NULL
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7112 arg2
= (long) SWIG_AsLong(obj1
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7130 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7136 (char *) "self", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7146 result
= (wxColour
*) &_result_ref
;
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7159 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7163 PyObject
* obj0
= 0 ;
7165 (char *) "self", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7175 result
= (wxColour
*) &_result_ref
;
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7188 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7194 (char *) "self", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7204 result
= (wxFont
*) &_result_ref
;
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7211 wxFont
* resultptr
= new wxFont(*result
);
7212 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7220 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "self", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= SWIG_FromInt((int)result
);
7246 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "self", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7262 result
= (wxArrayInt
*) &_result_ref
;
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= PyList_New(0);
7271 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7272 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7273 PyList_Append(resultobj
, val
);
7283 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7287 PyObject
* obj0
= 0 ;
7289 (char *) "self", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_FromLong((long)result
);
7309 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7313 PyObject
* obj0
= 0 ;
7315 (char *) "self", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= SWIG_FromLong((long)result
);
7335 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
;
7337 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7339 PyObject
* obj0
= 0 ;
7341 (char *) "self", NULL
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= SWIG_FromLong((long)result
);
7361 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7367 (char *) "self", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7389 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxTextAttr
*arg1
= 0 ;
7392 wxTextAttr
*arg2
= 0 ;
7393 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7397 PyObject
* obj2
= 0 ;
7399 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7407 PyErr_SetString(PyExc_TypeError
,"null reference");
7410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7414 PyErr_SetString(PyExc_TypeError
,"null reference");
7417 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7427 wxTextAttr
* resultptr
;
7428 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7437 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7440 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7442 return Py_BuildValue((char *)"");
7444 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxWindow
*arg1
= (wxWindow
*) 0 ;
7448 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7449 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7450 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7451 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7452 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7453 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7454 long arg6
= (long) 0 ;
7455 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7456 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7457 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7458 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7460 bool temp3
= False
;
7463 bool temp8
= False
;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7466 PyObject
* obj2
= 0 ;
7467 PyObject
* obj3
= 0 ;
7468 PyObject
* obj4
= 0 ;
7469 PyObject
* obj5
= 0 ;
7470 PyObject
* obj6
= 0 ;
7471 PyObject
* obj7
= 0 ;
7473 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7479 arg2
= (int) SWIG_AsInt(obj1
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7483 arg3
= wxString_in_helper(obj2
);
7484 if (arg3
== NULL
) SWIG_fail
;
7491 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7497 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7501 arg6
= (long) SWIG_AsLong(obj5
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7505 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7509 PyErr_SetString(PyExc_TypeError
,"null reference");
7515 arg8
= wxString_in_helper(obj7
);
7516 if (arg8
== NULL
) SWIG_fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= wxPyMake_wxObject(result
);
7552 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (wxTextCtrl
*)new wxTextCtrl();
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= wxPyMake_wxObject(result
);
7576 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7579 wxWindow
*arg2
= (wxWindow
*) 0 ;
7581 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7582 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7583 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7584 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7585 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7586 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7587 long arg7
= (long) 0 ;
7588 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7589 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7590 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7591 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7593 bool temp4
= False
;
7596 bool temp9
= False
;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7599 PyObject
* obj2
= 0 ;
7600 PyObject
* obj3
= 0 ;
7601 PyObject
* obj4
= 0 ;
7602 PyObject
* obj5
= 0 ;
7603 PyObject
* obj6
= 0 ;
7604 PyObject
* obj7
= 0 ;
7605 PyObject
* obj8
= 0 ;
7607 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7615 arg3
= (int) SWIG_AsInt(obj2
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7619 arg4
= wxString_in_helper(obj3
);
7620 if (arg4
== NULL
) SWIG_fail
;
7627 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7633 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7637 arg7
= (long) SWIG_AsLong(obj6
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7645 PyErr_SetString(PyExc_TypeError
,"null reference");
7651 arg9
= wxString_in_helper(obj8
);
7652 if (arg9
== NULL
) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7688 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7692 PyObject
* obj0
= 0 ;
7694 (char *) "self", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7720 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7723 wxString
*arg2
= 0 ;
7724 bool temp2
= False
;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7728 (char *) "self",(char *) "value", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7735 arg2
= wxString_in_helper(obj1
);
7736 if (arg2
== NULL
) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 (arg1
)->SetValue((wxString
const &)*arg2
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7761 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7767 PyObject
* obj0
= 0 ;
7768 PyObject
* obj1
= 0 ;
7769 PyObject
* obj2
= 0 ;
7771 (char *) "self",(char *) "from",(char *) "to", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7777 arg2
= (long) SWIG_AsLong(obj1
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7779 arg3
= (long) SWIG_AsLong(obj2
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7801 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "lineNo", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7815 arg2
= (long) SWIG_AsLong(obj1
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 resultobj
= SWIG_FromInt((int)result
);
7831 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7839 (char *) "self",(char *) "lineNo", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7845 arg2
= (long) SWIG_AsLong(obj1
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7867 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7871 PyObject
* obj0
= 0 ;
7873 (char *) "self", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_FromInt((int)result
);
7893 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7899 (char *) "self", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7921 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7925 PyObject
* obj0
= 0 ;
7927 (char *) "self", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7949 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7955 (char *) "self", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7977 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7983 (char *) "self", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8005 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8008 long *arg2
= (long *) 0 ;
8009 long *arg3
= (long *) 0 ;
8012 PyObject
* obj0
= 0 ;
8014 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8031 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8032 resultobj
= t_output_helper(resultobj
,o
);
8035 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8036 resultobj
= t_output_helper(resultobj
,o
);
8044 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8076 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8079 PyObject
* obj0
= 0 ;
8081 (char *) "self", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 Py_INCREF(Py_None
); resultobj
= Py_None
;
8101 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8106 wxString
*arg4
= 0 ;
8107 bool temp4
= False
;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8110 PyObject
* obj2
= 0 ;
8111 PyObject
* obj3
= 0 ;
8113 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 arg2
= (long) SWIG_AsLong(obj1
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8121 arg3
= (long) SWIG_AsLong(obj2
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 arg4
= wxString_in_helper(obj3
);
8125 if (arg4
== NULL
) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 Py_INCREF(Py_None
); resultobj
= Py_None
;
8150 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8157 PyObject
* obj2
= 0 ;
8159 (char *) "self",(char *) "from",(char *) "to", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8165 arg2
= (long) SWIG_AsLong(obj1
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8167 arg3
= (long) SWIG_AsLong(obj2
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 (arg1
)->Remove(arg2
,arg3
);
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 Py_INCREF(Py_None
); resultobj
= Py_None
;
8183 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8186 wxString
*arg2
= 0 ;
8188 bool temp2
= False
;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8192 (char *) "self",(char *) "file", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8199 arg2
= wxString_in_helper(obj1
);
8200 if (arg2
== NULL
) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8227 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8230 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8231 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8233 bool temp2
= False
;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8237 (char *) "self",(char *) "file", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8245 arg2
= wxString_in_helper(obj1
);
8246 if (arg2
== NULL
) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8274 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8276 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8277 PyObject
* obj0
= 0 ;
8279 (char *) "self", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 (arg1
)->MarkDirty();
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 Py_INCREF(Py_None
); resultobj
= Py_None
;
8299 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8302 PyObject
* obj0
= 0 ;
8304 (char *) "self", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 (arg1
)->DiscardEdits();
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 Py_INCREF(Py_None
); resultobj
= Py_None
;
8324 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8327 unsigned long arg2
;
8328 PyObject
* obj0
= 0 ;
8329 PyObject
* obj1
= 0 ;
8331 (char *) "self",(char *) "len", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8337 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 (arg1
)->SetMaxLength(arg2
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8356 wxString
*arg2
= 0 ;
8357 bool temp2
= False
;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8361 (char *) "self",(char *) "text", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8368 arg2
= wxString_in_helper(obj1
);
8369 if (arg2
== NULL
) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 (arg1
)->WriteText((wxString
const &)*arg2
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 Py_INCREF(Py_None
); resultobj
= Py_None
;
8394 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
;
8396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8397 wxString
*arg2
= 0 ;
8398 bool temp2
= False
;
8399 PyObject
* obj0
= 0 ;
8400 PyObject
* obj1
= 0 ;
8402 (char *) "self",(char *) "text", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8409 arg2
= wxString_in_helper(obj1
);
8410 if (arg2
== NULL
) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 (arg1
)->AppendText((wxString
const &)*arg2
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 Py_INCREF(Py_None
); resultobj
= Py_None
;
8435 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8438 wxKeyEvent
*arg2
= 0 ;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8443 (char *) "self",(char *) "event", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8453 PyErr_SetString(PyExc_TypeError
,"null reference");
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8472 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8477 wxTextAttr
*arg4
= 0 ;
8479 PyObject
* obj0
= 0 ;
8480 PyObject
* obj1
= 0 ;
8481 PyObject
* obj2
= 0 ;
8482 PyObject
* obj3
= 0 ;
8484 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8490 arg2
= (long) SWIG_AsLong(obj1
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8492 arg3
= (long) SWIG_AsLong(obj2
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8494 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8498 PyErr_SetString(PyExc_TypeError
,"null reference");
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8517 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8521 wxTextAttr
*arg3
= 0 ;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8525 PyObject
* obj2
= 0 ;
8527 (char *) "self",(char *) "position",(char *) "style", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 arg2
= (long) SWIG_AsLong(obj1
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8535 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8539 PyErr_SetString(PyExc_TypeError
,"null reference");
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8558 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8561 wxTextAttr
*arg2
= 0 ;
8563 PyObject
* obj0
= 0 ;
8564 PyObject
* obj1
= 0 ;
8566 (char *) "self",(char *) "style", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8576 PyErr_SetString(PyExc_TypeError
,"null reference");
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8595 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8601 (char *) "self", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8611 result
= (wxTextAttr
*) &_result_ref
;
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8624 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 PyObject
* obj2
= 0 ;
8634 (char *) "self",(char *) "x",(char *) "y", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 arg2
= (long) SWIG_AsLong(obj1
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8642 arg3
= (long) SWIG_AsLong(obj2
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= SWIG_FromLong((long)result
);
8658 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
;
8660 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8662 long *arg3
= (long *) 0 ;
8663 long *arg4
= (long *) 0 ;
8666 PyObject
* obj0
= 0 ;
8667 PyObject
* obj1
= 0 ;
8669 (char *) "self",(char *) "pos", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 arg2
= (long) SWIG_AsLong(obj1
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8689 resultobj
= t_output_helper(resultobj
,o
);
8692 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8693 resultobj
= t_output_helper(resultobj
,o
);
8701 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8708 (char *) "self",(char *) "pos", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8714 arg2
= (long) SWIG_AsLong(obj1
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 (arg1
)->ShowPosition(arg2
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 Py_INCREF(Py_None
); resultobj
= Py_None
;
8730 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8734 long *arg3
= (long *) 0 ;
8735 long *arg4
= (long *) 0 ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8743 (char *) "self",(char *) "pt", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8753 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= SWIG_FromInt((int)result
);
8764 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8765 resultobj
= t_output_helper(resultobj
,o
);
8768 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8769 resultobj
= t_output_helper(resultobj
,o
);
8777 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8780 PyObject
* obj0
= 0 ;
8782 (char *) "self", NULL
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 Py_INCREF(Py_None
); resultobj
= Py_None
;
8802 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8807 (char *) "self", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 Py_INCREF(Py_None
); resultobj
= Py_None
;
8827 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "self", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 Py_INCREF(Py_None
); resultobj
= Py_None
;
8852 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8856 PyObject
* obj0
= 0 ;
8858 (char *) "self", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8880 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8886 (char *) "self", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8908 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8914 (char *) "self", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8936 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8941 (char *) "self", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8954 Py_INCREF(Py_None
); resultobj
= Py_None
;
8961 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8966 (char *) "self", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 Py_INCREF(Py_None
); resultobj
= Py_None
;
8986 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9014 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 (char *) "self", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9042 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9049 (char *) "self",(char *) "pos", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 arg2
= (long) SWIG_AsLong(obj1
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 (arg1
)->SetInsertionPoint(arg2
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 Py_INCREF(Py_None
); resultobj
= Py_None
;
9071 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 (arg1
)->SetInsertionPointEnd();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9100 PyObject
* obj0
= 0 ;
9102 (char *) "self", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= SWIG_FromLong((long)result
);
9122 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9126 PyObject
* obj0
= 0 ;
9128 (char *) "self", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= SWIG_FromLong((long)result
);
9148 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9153 PyObject
* obj0
= 0 ;
9154 PyObject
* obj1
= 0 ;
9155 PyObject
* obj2
= 0 ;
9157 (char *) "self",(char *) "from",(char *) "to", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 arg2
= (long) SWIG_AsLong(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9165 arg3
= (long) SWIG_AsLong(obj2
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 (arg1
)->SetSelection(arg2
,arg3
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 Py_INCREF(Py_None
); resultobj
= Py_None
;
9181 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9186 (char *) "self", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 (arg1
)->SelectAll();
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 Py_INCREF(Py_None
); resultobj
= Py_None
;
9206 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9211 PyObject
* obj1
= 0 ;
9213 (char *) "self",(char *) "editable", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9219 arg2
= (bool) SWIG_AsBool(obj1
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 (arg1
)->SetEditable(arg2
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 Py_INCREF(Py_None
); resultobj
= Py_None
;
9235 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9238 bool arg2
= (bool) True
;
9240 PyObject
* obj0
= 0 ;
9241 PyObject
* obj1
= 0 ;
9243 (char *) "self",(char *) "show", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9250 arg2
= (bool) SWIG_AsBool(obj1
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9269 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (bool)(arg1
)->HideNativeCaret();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9297 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9300 wxString
*arg2
= 0 ;
9301 bool temp2
= False
;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9305 (char *) "self",(char *) "text", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9312 arg2
= wxString_in_helper(obj1
);
9313 if (arg2
== NULL
) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 Py_INCREF(Py_None
); resultobj
= Py_None
;
9338 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 PyObject
* obj2
= 0 ;
9348 (char *) "self",(char *) "from",(char *) "to", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9354 arg2
= (long) SWIG_AsLong(obj1
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9356 arg3
= (long) SWIG_AsLong(obj2
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9378 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9381 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9383 return Py_BuildValue((char *)"");
9385 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9388 wxMouseEvent
*arg2
= 0 ;
9391 wxTextUrlEvent
*result
;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 PyObject
* obj2
= 0 ;
9395 PyObject
* obj3
= 0 ;
9397 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9401 arg1
= (int) SWIG_AsInt(obj0
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9407 PyErr_SetString(PyExc_TypeError
,"null reference");
9410 arg3
= (long) SWIG_AsLong(obj2
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9412 arg4
= (long) SWIG_AsLong(obj3
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9428 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
;
9430 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9431 wxMouseEvent
*result
;
9432 PyObject
* obj0
= 0 ;
9434 (char *) "self", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9444 result
= (wxMouseEvent
*) &_result_ref
;
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9457 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9463 (char *) "self", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_FromLong((long)result
);
9483 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9489 (char *) "self", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= SWIG_FromLong((long)result
);
9509 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9512 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9514 return Py_BuildValue((char *)"");
9516 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9517 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9522 static PyObject
*_wrap_ScrollBarNameStr_get() {
9527 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9529 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9536 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxWindow
*arg1
= (wxWindow
*) 0 ;
9539 int arg2
= (int) -1 ;
9540 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9541 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9542 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9543 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9544 long arg5
= (long) wxSB_HORIZONTAL
;
9545 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9546 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9547 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9548 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9549 wxScrollBar
*result
;
9552 bool temp7
= False
;
9553 PyObject
* obj0
= 0 ;
9554 PyObject
* obj1
= 0 ;
9555 PyObject
* obj2
= 0 ;
9556 PyObject
* obj3
= 0 ;
9557 PyObject
* obj4
= 0 ;
9558 PyObject
* obj5
= 0 ;
9559 PyObject
* obj6
= 0 ;
9561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9568 arg2
= (int) SWIG_AsInt(obj1
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9580 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9584 arg5
= (long) SWIG_AsLong(obj4
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9588 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9592 PyErr_SetString(PyExc_TypeError
,"null reference");
9598 arg7
= wxString_in_helper(obj6
);
9599 if (arg7
== NULL
) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9625 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxScrollBar
*result
;
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (wxScrollBar
*)new wxScrollBar();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9647 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9650 wxWindow
*arg2
= (wxWindow
*) 0 ;
9651 int arg3
= (int) -1 ;
9652 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9653 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9654 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9655 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9656 long arg6
= (long) wxSB_HORIZONTAL
;
9657 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9658 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9659 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9660 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9664 bool temp8
= False
;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 PyObject
* obj2
= 0 ;
9668 PyObject
* obj3
= 0 ;
9669 PyObject
* obj4
= 0 ;
9670 PyObject
* obj5
= 0 ;
9671 PyObject
* obj6
= 0 ;
9672 PyObject
* obj7
= 0 ;
9674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9683 arg3
= (int) SWIG_AsInt(obj2
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9689 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9695 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9699 arg6
= (long) SWIG_AsLong(obj5
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9703 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9707 PyErr_SetString(PyExc_TypeError
,"null reference");
9713 arg8
= wxString_in_helper(obj7
);
9714 if (arg8
== NULL
) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9742 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9748 (char *) "self", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= SWIG_FromInt((int)result
);
9768 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9774 (char *) "self", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_FromInt((int)result
);
9794 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9798 PyObject
* obj0
= 0 ;
9800 (char *) "self", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_FromInt((int)result
);
9820 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "self", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_FromInt((int)result
);
9846 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9874 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9881 (char *) "self",(char *) "viewStart", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 arg2
= (int) SWIG_AsInt(obj1
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 (arg1
)->SetThumbPosition(arg2
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 Py_INCREF(Py_None
); resultobj
= Py_None
;
9903 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9910 bool arg6
= (bool) True
;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9913 PyObject
* obj2
= 0 ;
9914 PyObject
* obj3
= 0 ;
9915 PyObject
* obj4
= 0 ;
9916 PyObject
* obj5
= 0 ;
9918 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9924 arg2
= (int) SWIG_AsInt(obj1
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9926 arg3
= (int) SWIG_AsInt(obj2
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9928 arg4
= (int) SWIG_AsInt(obj3
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9930 arg5
= (int) SWIG_AsInt(obj4
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 arg6
= (bool) SWIG_AsBool(obj5
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 Py_INCREF(Py_None
); resultobj
= Py_None
;
9950 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9953 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9955 return Py_BuildValue((char *)"");
9957 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9958 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9963 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9968 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9970 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9977 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9978 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9983 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9988 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9990 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9997 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxWindow
*arg1
= (wxWindow
*) 0 ;
10000 int arg2
= (int) -1 ;
10001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10005 long arg5
= (long) wxSP_HORIZONTAL
;
10006 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10007 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10008 wxSpinButton
*result
;
10011 bool temp6
= False
;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 PyObject
* obj2
= 0 ;
10015 PyObject
* obj3
= 0 ;
10016 PyObject
* obj4
= 0 ;
10017 PyObject
* obj5
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10026 arg2
= (int) SWIG_AsInt(obj1
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10032 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10038 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10042 arg5
= (long) SWIG_AsLong(obj4
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10047 arg6
= wxString_in_helper(obj5
);
10048 if (arg6
== NULL
) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10074 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxSpinButton
*result
;
10077 char *kwnames
[] = {
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (wxSpinButton
*)new wxSpinButton();
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10096 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10099 wxWindow
*arg2
= (wxWindow
*) 0 ;
10100 int arg3
= (int) -1 ;
10101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10105 long arg6
= (long) wxSP_HORIZONTAL
;
10106 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10107 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10111 bool temp7
= False
;
10112 PyObject
* obj0
= 0 ;
10113 PyObject
* obj1
= 0 ;
10114 PyObject
* obj2
= 0 ;
10115 PyObject
* obj3
= 0 ;
10116 PyObject
* obj4
= 0 ;
10117 PyObject
* obj5
= 0 ;
10118 PyObject
* obj6
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 arg3
= (int) SWIG_AsInt(obj2
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10145 arg6
= (long) SWIG_AsLong(obj5
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10150 arg7
= wxString_in_helper(obj6
);
10151 if (arg7
== NULL
) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10179 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= SWIG_FromInt((int)result
);
10205 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10209 PyObject
* obj0
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 resultobj
= SWIG_FromInt((int)result
);
10231 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= SWIG_FromInt((int)result
);
10257 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self",(char *) "val", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10270 arg2
= (int) SWIG_AsInt(obj1
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 (arg1
)->SetValue(arg2
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10286 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "minVal", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10299 arg2
= (int) SWIG_AsInt(obj1
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 (arg1
)->SetMin(arg2
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 Py_INCREF(Py_None
); resultobj
= Py_None
;
10315 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10319 PyObject
* obj0
= 0 ;
10320 PyObject
* obj1
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self",(char *) "maxVal", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10328 arg2
= (int) SWIG_AsInt(obj1
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 (arg1
)->SetMax(arg2
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 Py_INCREF(Py_None
); resultobj
= Py_None
;
10344 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 PyObject
* obj2
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10359 arg2
= (int) SWIG_AsInt(obj1
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10361 arg3
= (int) SWIG_AsInt(obj2
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 (arg1
)->SetRange(arg2
,arg3
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 Py_INCREF(Py_None
); resultobj
= Py_None
;
10377 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10381 PyObject
* obj0
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10405 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10408 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10410 return Py_BuildValue((char *)"");
10412 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxWindow
*arg1
= (wxWindow
*) 0 ;
10415 int arg2
= (int) -1 ;
10416 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10417 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10418 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10419 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10420 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10421 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10422 long arg6
= (long) wxSP_ARROW_KEYS
;
10423 int arg7
= (int) 0 ;
10424 int arg8
= (int) 100 ;
10425 int arg9
= (int) 0 ;
10426 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10427 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10428 wxSpinCtrl
*result
;
10429 bool temp3
= False
;
10432 bool temp10
= False
;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10435 PyObject
* obj2
= 0 ;
10436 PyObject
* obj3
= 0 ;
10437 PyObject
* obj4
= 0 ;
10438 PyObject
* obj5
= 0 ;
10439 PyObject
* obj6
= 0 ;
10440 PyObject
* obj7
= 0 ;
10441 PyObject
* obj8
= 0 ;
10442 PyObject
* obj9
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 arg2
= (int) SWIG_AsInt(obj1
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10456 arg3
= wxString_in_helper(obj2
);
10457 if (arg3
== NULL
) SWIG_fail
;
10464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10474 arg6
= (long) SWIG_AsLong(obj5
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10478 arg7
= (int) SWIG_AsInt(obj6
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10482 arg8
= (int) SWIG_AsInt(obj7
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10486 arg9
= (int) SWIG_AsInt(obj8
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10491 arg10
= wxString_in_helper(obj9
);
10492 if (arg10
== NULL
) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10526 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxSpinCtrl
*result
;
10529 char *kwnames
[] = {
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10548 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10551 wxWindow
*arg2
= (wxWindow
*) 0 ;
10552 int arg3
= (int) -1 ;
10553 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10554 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10555 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10556 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10557 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10558 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10559 long arg7
= (long) wxSP_ARROW_KEYS
;
10560 int arg8
= (int) 0 ;
10561 int arg9
= (int) 100 ;
10562 int arg10
= (int) 0 ;
10563 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10564 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10566 bool temp4
= False
;
10569 bool temp11
= False
;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 PyObject
* obj2
= 0 ;
10573 PyObject
* obj3
= 0 ;
10574 PyObject
* obj4
= 0 ;
10575 PyObject
* obj5
= 0 ;
10576 PyObject
* obj6
= 0 ;
10577 PyObject
* obj7
= 0 ;
10578 PyObject
* obj8
= 0 ;
10579 PyObject
* obj9
= 0 ;
10580 PyObject
* obj10
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10591 arg3
= (int) SWIG_AsInt(obj2
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10596 arg4
= wxString_in_helper(obj3
);
10597 if (arg4
== NULL
) SWIG_fail
;
10604 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10610 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10614 arg7
= (long) SWIG_AsLong(obj6
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10618 arg8
= (int) SWIG_AsInt(obj7
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10622 arg9
= (int) SWIG_AsInt(obj8
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10626 arg10
= (int) SWIG_AsInt(obj9
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10631 arg11
= wxString_in_helper(obj10
);
10632 if (arg11
== NULL
) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10668 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10672 PyObject
* obj0
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_FromInt((int)result
);
10694 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self",(char *) "value", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10707 arg2
= (int) SWIG_AsInt(obj1
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 (arg1
)->SetValue(arg2
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 Py_INCREF(Py_None
); resultobj
= Py_None
;
10723 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10726 wxString
*arg2
= 0 ;
10727 bool temp2
= False
;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "text", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10738 arg2
= wxString_in_helper(obj1
);
10739 if (arg2
== NULL
) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 (arg1
)->SetValue((wxString
const &)*arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 Py_INCREF(Py_None
); resultobj
= Py_None
;
10764 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 PyObject
* obj2
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 arg2
= (int) SWIG_AsInt(obj1
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10781 arg3
= (int) SWIG_AsInt(obj2
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->SetRange(arg2
,arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= SWIG_FromInt((int)result
);
10823 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_FromInt((int)result
);
10849 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 PyObject
* obj2
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "from",(char *) "to", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10864 arg2
= (long) SWIG_AsLong(obj1
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10866 arg3
= (long) SWIG_AsLong(obj2
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 (arg1
)->SetSelection(arg2
,arg3
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 Py_INCREF(Py_None
); resultobj
= Py_None
;
10882 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10885 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10887 return Py_BuildValue((char *)"");
10889 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10892 int arg2
= (int) 0 ;
10893 wxSpinEvent
*result
;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "commandType",(char *) "winid", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10902 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10906 arg2
= (int) SWIG_AsInt(obj1
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10923 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= SWIG_FromInt((int)result
);
10949 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "pos", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 arg2
= (int) SWIG_AsInt(obj1
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 (arg1
)->SetPosition(arg2
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 Py_INCREF(Py_None
); resultobj
= Py_None
;
10978 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10981 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10983 return Py_BuildValue((char *)"");
10985 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10986 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10991 static PyObject
*_wrap_RadioBoxNameStr_get() {
10996 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10998 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11005 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11006 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11011 static PyObject
*_wrap_RadioButtonNameStr_get() {
11016 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11018 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11025 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxWindow
*arg1
= (wxWindow
*) 0 ;
11029 wxString
*arg3
= 0 ;
11030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11034 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11035 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11036 int arg7
= (int) 0 ;
11037 long arg8
= (long) wxRA_HORIZONTAL
;
11038 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11039 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11040 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11041 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11042 wxRadioBox
*result
;
11043 bool temp3
= False
;
11046 bool temp6
= False
;
11047 bool temp10
= False
;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 PyObject
* obj2
= 0 ;
11051 PyObject
* obj3
= 0 ;
11052 PyObject
* obj4
= 0 ;
11053 PyObject
* obj5
= 0 ;
11054 PyObject
* obj6
= 0 ;
11055 PyObject
* obj7
= 0 ;
11056 PyObject
* obj8
= 0 ;
11057 PyObject
* obj9
= 0 ;
11058 char *kwnames
[] = {
11059 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11065 arg2
= (int) SWIG_AsInt(obj1
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 arg3
= wxString_in_helper(obj2
);
11069 if (arg3
== NULL
) SWIG_fail
;
11075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11086 if (! PySequence_Check(obj5
)) {
11087 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11090 arg6
= new wxArrayString
;
11092 int i
, len
=PySequence_Length(obj5
);
11093 for (i
=0; i
<len
; i
++) {
11094 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11096 PyObject
* str
= PyObject_Unicode(item
);
11098 PyObject
* str
= PyObject_Str(item
);
11100 arg6
->Add(Py2wxString(str
));
11107 arg7
= (int) SWIG_AsInt(obj6
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 arg8
= (long) SWIG_AsLong(obj7
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11115 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11118 if (arg9
== NULL
) {
11119 PyErr_SetString(PyExc_TypeError
,"null reference");
11125 arg10
= wxString_in_helper(obj9
);
11126 if (arg10
== NULL
) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 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
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11143 if (temp6
) delete arg6
;
11156 if (temp6
) delete arg6
;
11166 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxRadioBox
*result
;
11169 char *kwnames
[] = {
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (wxRadioBox
*)new wxRadioBox();
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11188 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11191 wxWindow
*arg2
= (wxWindow
*) 0 ;
11193 wxString
*arg4
= 0 ;
11194 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11195 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11196 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11197 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11198 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11199 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11200 int arg8
= (int) 0 ;
11201 long arg9
= (long) wxRA_HORIZONTAL
;
11202 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11203 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11204 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11205 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11207 bool temp4
= False
;
11210 bool temp7
= False
;
11211 bool temp11
= False
;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 PyObject
* obj2
= 0 ;
11215 PyObject
* obj3
= 0 ;
11216 PyObject
* obj4
= 0 ;
11217 PyObject
* obj5
= 0 ;
11218 PyObject
* obj6
= 0 ;
11219 PyObject
* obj7
= 0 ;
11220 PyObject
* obj8
= 0 ;
11221 PyObject
* obj9
= 0 ;
11222 PyObject
* obj10
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 arg3
= (int) SWIG_AsInt(obj2
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 arg4
= wxString_in_helper(obj3
);
11236 if (arg4
== NULL
) SWIG_fail
;
11242 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11248 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11253 if (! PySequence_Check(obj6
)) {
11254 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11257 arg7
= new wxArrayString
;
11259 int i
, len
=PySequence_Length(obj6
);
11260 for (i
=0; i
<len
; i
++) {
11261 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11263 PyObject
* str
= PyObject_Unicode(item
);
11265 PyObject
* str
= PyObject_Str(item
);
11267 arg7
->Add(Py2wxString(str
));
11274 arg8
= (int) SWIG_AsInt(obj7
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 arg9
= (long) SWIG_AsLong(obj8
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11282 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11285 if (arg10
== NULL
) {
11286 PyErr_SetString(PyExc_TypeError
,"null reference");
11292 arg11
= wxString_in_helper(obj10
);
11293 if (arg11
== NULL
) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 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
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11312 if (temp7
) delete arg7
;
11325 if (temp7
) delete arg7
;
11335 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 PyObject
* obj1
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self",(char *) "n", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11348 arg2
= (int) SWIG_AsInt(obj1
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 (arg1
)->SetSelection(arg2
);
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 Py_INCREF(Py_None
); resultobj
= Py_None
;
11364 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_FromInt((int)result
);
11390 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 char *kwnames
[] = {
11396 (char *) "self", NULL
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11422 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11425 wxString
*arg2
= 0 ;
11427 bool temp2
= False
;
11428 PyObject
* obj0
= 0 ;
11429 PyObject
* obj1
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "self",(char *) "s", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11438 arg2
= wxString_in_helper(obj1
);
11439 if (arg2
== NULL
) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11466 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "self", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_FromInt((int)result
);
11492 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11495 wxString
*arg2
= 0 ;
11497 bool temp2
= False
;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "s", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 arg2
= wxString_in_helper(obj1
);
11509 if (arg2
== NULL
) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_FromInt((int)result
);
11534 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
;
11536 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 char *kwnames
[] = {
11542 (char *) "self",(char *) "n", NULL
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11548 arg2
= (int) SWIG_AsInt(obj1
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11570 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11574 wxString
*arg3
= 0 ;
11575 bool temp3
= False
;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 PyObject
* obj2
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "n",(char *) "label", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11586 arg2
= (int) SWIG_AsInt(obj1
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 arg3
= wxString_in_helper(obj2
);
11590 if (arg3
== NULL
) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11615 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11619 bool arg3
= (bool) True
;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 PyObject
* obj2
= 0 ;
11623 char *kwnames
[] = {
11624 (char *) "self",(char *) "n",(char *) "enable", NULL
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11630 arg2
= (int) SWIG_AsInt(obj1
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 arg3
= (bool) SWIG_AsBool(obj2
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 (arg1
)->Enable(arg2
,arg3
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 Py_INCREF(Py_None
); resultobj
= Py_None
;
11650 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11654 bool arg3
= (bool) True
;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 PyObject
* obj2
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self",(char *) "n",(char *) "show", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11665 arg2
= (int) SWIG_AsInt(obj1
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 arg3
= (bool) SWIG_AsBool(obj2
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 (arg1
)->Show(arg2
,arg3
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 Py_INCREF(Py_None
); resultobj
= Py_None
;
11685 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_FromInt((int)result
);
11711 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 char *kwnames
[] = {
11717 (char *) "self", NULL
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= SWIG_FromInt((int)result
);
11737 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
;
11739 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11744 PyObject
* obj0
= 0 ;
11745 PyObject
* obj1
= 0 ;
11746 PyObject
* obj2
= 0 ;
11747 PyObject
* obj3
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11755 arg2
= (int) SWIG_AsInt(obj1
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11757 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11759 arg4
= (long) SWIG_AsLong(obj3
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= SWIG_FromInt((int)result
);
11775 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11780 return Py_BuildValue((char *)"");
11782 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxWindow
*arg1
= (wxWindow
*) 0 ;
11786 wxString
*arg3
= 0 ;
11787 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11788 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11789 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11790 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11791 long arg6
= (long) 0 ;
11792 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11793 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11794 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11795 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11796 wxRadioButton
*result
;
11797 bool temp3
= False
;
11800 bool temp8
= False
;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 PyObject
* obj2
= 0 ;
11804 PyObject
* obj3
= 0 ;
11805 PyObject
* obj4
= 0 ;
11806 PyObject
* obj5
= 0 ;
11807 PyObject
* obj6
= 0 ;
11808 PyObject
* obj7
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11816 arg2
= (int) SWIG_AsInt(obj1
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 arg3
= wxString_in_helper(obj2
);
11820 if (arg3
== NULL
) SWIG_fail
;
11826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11836 arg6
= (long) SWIG_AsLong(obj5
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11843 if (arg7
== NULL
) {
11844 PyErr_SetString(PyExc_TypeError
,"null reference");
11850 arg8
= wxString_in_helper(obj7
);
11851 if (arg8
== NULL
) SWIG_fail
;
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11885 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxRadioButton
*result
;
11888 char *kwnames
[] = {
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (wxRadioButton
*)new wxRadioButton();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11907 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11910 wxWindow
*arg2
= (wxWindow
*) 0 ;
11912 wxString
*arg4
= 0 ;
11913 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11914 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11915 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11916 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11917 long arg7
= (long) 0 ;
11918 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11919 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11920 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11921 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11923 bool temp4
= False
;
11926 bool temp9
= False
;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 PyObject
* obj2
= 0 ;
11930 PyObject
* obj3
= 0 ;
11931 PyObject
* obj4
= 0 ;
11932 PyObject
* obj5
= 0 ;
11933 PyObject
* obj6
= 0 ;
11934 PyObject
* obj7
= 0 ;
11935 PyObject
* obj8
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11945 arg3
= (int) SWIG_AsInt(obj2
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 arg4
= wxString_in_helper(obj3
);
11949 if (arg4
== NULL
) SWIG_fail
;
11955 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11961 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11965 arg7
= (long) SWIG_AsLong(obj6
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11972 if (arg8
== NULL
) {
11973 PyErr_SetString(PyExc_TypeError
,"null reference");
11979 arg9
= wxString_in_helper(obj8
);
11980 if (arg9
== NULL
) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12016 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12020 PyObject
* obj0
= 0 ;
12021 char *kwnames
[] = {
12022 (char *) "self", NULL
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (bool)(arg1
)->GetValue();
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12044 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self",(char *) "value", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12057 arg2
= (bool) SWIG_AsBool(obj1
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 (arg1
)->SetValue(arg2
);
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 Py_INCREF(Py_None
); resultobj
= Py_None
;
12073 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12076 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12078 return Py_BuildValue((char *)"");
12080 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12081 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12086 static PyObject
*_wrap_SliderNameStr_get() {
12091 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12093 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12100 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxWindow
*arg1
= (wxWindow
*) 0 ;
12107 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12108 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12109 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12110 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12111 long arg8
= (long) wxSL_HORIZONTAL
;
12112 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12113 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12114 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12115 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12119 bool temp10
= False
;
12120 PyObject
* obj0
= 0 ;
12121 PyObject
* obj1
= 0 ;
12122 PyObject
* obj2
= 0 ;
12123 PyObject
* obj3
= 0 ;
12124 PyObject
* obj4
= 0 ;
12125 PyObject
* obj5
= 0 ;
12126 PyObject
* obj6
= 0 ;
12127 PyObject
* obj7
= 0 ;
12128 PyObject
* obj8
= 0 ;
12129 PyObject
* obj9
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12137 arg2
= (int) SWIG_AsInt(obj1
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12139 arg3
= (int) SWIG_AsInt(obj2
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12141 arg4
= (int) SWIG_AsInt(obj3
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12143 arg5
= (int) SWIG_AsInt(obj4
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12148 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12154 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12158 arg8
= (long) SWIG_AsLong(obj7
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12165 if (arg9
== NULL
) {
12166 PyErr_SetString(PyExc_TypeError
,"null reference");
12172 arg10
= wxString_in_helper(obj9
);
12173 if (arg10
== NULL
) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12199 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12202 char *kwnames
[] = {
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (wxSlider
*)new wxSlider();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12221 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxSlider
*arg1
= (wxSlider
*) 0 ;
12224 wxWindow
*arg2
= (wxWindow
*) 0 ;
12229 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12230 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12231 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12232 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12233 long arg9
= (long) wxSL_HORIZONTAL
;
12234 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12235 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12236 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12237 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12241 bool temp11
= False
;
12242 PyObject
* obj0
= 0 ;
12243 PyObject
* obj1
= 0 ;
12244 PyObject
* obj2
= 0 ;
12245 PyObject
* obj3
= 0 ;
12246 PyObject
* obj4
= 0 ;
12247 PyObject
* obj5
= 0 ;
12248 PyObject
* obj6
= 0 ;
12249 PyObject
* obj7
= 0 ;
12250 PyObject
* obj8
= 0 ;
12251 PyObject
* obj9
= 0 ;
12252 PyObject
* obj10
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12262 arg3
= (int) SWIG_AsInt(obj2
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12264 arg4
= (int) SWIG_AsInt(obj3
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12266 arg5
= (int) SWIG_AsInt(obj4
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12268 arg6
= (int) SWIG_AsInt(obj5
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12273 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12279 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12283 arg9
= (long) SWIG_AsLong(obj8
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12287 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12290 if (arg10
== NULL
) {
12291 PyErr_SetString(PyExc_TypeError
,"null reference");
12297 arg11
= wxString_in_helper(obj10
);
12298 if (arg11
== NULL
) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12326 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxSlider
*arg1
= (wxSlider
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= SWIG_FromInt((int)result
);
12352 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxSlider
*arg1
= (wxSlider
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 PyObject
* obj1
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self",(char *) "value", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12365 arg2
= (int) SWIG_AsInt(obj1
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 (arg1
)->SetValue(arg2
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 Py_INCREF(Py_None
); resultobj
= Py_None
;
12381 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxSlider
*arg1
= (wxSlider
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 PyObject
* obj1
= 0 ;
12388 PyObject
* obj2
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 arg2
= (int) SWIG_AsInt(obj1
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12398 arg3
= (int) SWIG_AsInt(obj2
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 (arg1
)->SetRange(arg2
,arg3
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 Py_INCREF(Py_None
); resultobj
= Py_None
;
12414 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxSlider
*arg1
= (wxSlider
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_FromInt((int)result
);
12440 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxSlider
*arg1
= (wxSlider
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 resultobj
= SWIG_FromInt((int)result
);
12466 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxSlider
*arg1
= (wxSlider
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "minValue", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12479 arg2
= (int) SWIG_AsInt(obj1
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->SetMin(arg2
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 Py_INCREF(Py_None
); resultobj
= Py_None
;
12495 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxSlider
*arg1
= (wxSlider
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self",(char *) "maxValue", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12508 arg2
= (int) SWIG_AsInt(obj1
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 (arg1
)->SetMax(arg2
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 Py_INCREF(Py_None
); resultobj
= Py_None
;
12524 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxSlider
*arg1
= (wxSlider
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self",(char *) "lineSize", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12537 arg2
= (int) SWIG_AsInt(obj1
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->SetLineSize(arg2
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 Py_INCREF(Py_None
); resultobj
= Py_None
;
12553 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxSlider
*arg1
= (wxSlider
*) 0 ;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self",(char *) "pageSize", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12566 arg2
= (int) SWIG_AsInt(obj1
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 (arg1
)->SetPageSize(arg2
);
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 Py_INCREF(Py_None
); resultobj
= Py_None
;
12582 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxSlider
*arg1
= (wxSlider
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_FromInt((int)result
);
12608 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 wxSlider
*arg1
= (wxSlider
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_FromInt((int)result
);
12634 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxSlider
*arg1
= (wxSlider
*) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 PyObject
* obj1
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self",(char *) "lenPixels", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12647 arg2
= (int) SWIG_AsInt(obj1
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 (arg1
)->SetThumbLength(arg2
);
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12656 Py_INCREF(Py_None
); resultobj
= Py_None
;
12663 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxSlider
*arg1
= (wxSlider
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= SWIG_FromInt((int)result
);
12689 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxSlider
*arg1
= (wxSlider
*) 0 ;
12693 int arg3
= (int) 1 ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self",(char *) "n",(char *) "pos", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 arg2
= (int) SWIG_AsInt(obj1
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 arg3
= (int) SWIG_AsInt(obj2
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 (arg1
)->SetTickFreq(arg2
,arg3
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 Py_INCREF(Py_None
); resultobj
= Py_None
;
12724 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxSlider
*arg1
= (wxSlider
*) 0 ;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= SWIG_FromInt((int)result
);
12750 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxSlider
*arg1
= (wxSlider
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 (arg1
)->ClearTicks();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 Py_INCREF(Py_None
); resultobj
= Py_None
;
12775 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxSlider
*arg1
= (wxSlider
*) 0 ;
12779 PyObject
* obj0
= 0 ;
12780 PyObject
* obj1
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self",(char *) "tickPos", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12788 arg2
= (int) SWIG_AsInt(obj1
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 (arg1
)->SetTick(arg2
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 Py_INCREF(Py_None
); resultobj
= Py_None
;
12804 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxSlider
*arg1
= (wxSlider
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->ClearSel();
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 Py_INCREF(Py_None
); resultobj
= Py_None
;
12829 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
;
12831 wxSlider
*arg1
= (wxSlider
*) 0 ;
12833 PyObject
* obj0
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= SWIG_FromInt((int)result
);
12855 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxSlider
*arg1
= (wxSlider
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= SWIG_FromInt((int)result
);
12881 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxSlider
*arg1
= (wxSlider
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 PyObject
* obj1
= 0 ;
12888 PyObject
* obj2
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self",(char *) "min",(char *) "max", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12896 arg2
= (int) SWIG_AsInt(obj1
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12898 arg3
= (int) SWIG_AsInt(obj2
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 (arg1
)->SetSelection(arg2
,arg3
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 Py_INCREF(Py_None
); resultobj
= Py_None
;
12914 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12917 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12919 return Py_BuildValue((char *)"");
12921 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12922 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12927 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12932 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12934 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12941 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxWindow
*arg1
= (wxWindow
*) 0 ;
12945 wxString
*arg3
= 0 ;
12946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12950 long arg6
= (long) 0 ;
12951 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12952 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12953 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12954 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12955 wxToggleButton
*result
;
12956 bool temp3
= False
;
12959 bool temp8
= False
;
12960 PyObject
* obj0
= 0 ;
12961 PyObject
* obj1
= 0 ;
12962 PyObject
* obj2
= 0 ;
12963 PyObject
* obj3
= 0 ;
12964 PyObject
* obj4
= 0 ;
12965 PyObject
* obj5
= 0 ;
12966 PyObject
* obj6
= 0 ;
12967 PyObject
* obj7
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12975 arg2
= (int) SWIG_AsInt(obj1
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 arg3
= wxString_in_helper(obj2
);
12979 if (arg3
== NULL
) SWIG_fail
;
12985 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12991 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12995 arg6
= (long) SWIG_AsLong(obj5
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13002 if (arg7
== NULL
) {
13003 PyErr_SetString(PyExc_TypeError
,"null reference");
13009 arg8
= wxString_in_helper(obj7
);
13010 if (arg8
== NULL
) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13044 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxToggleButton
*result
;
13047 char *kwnames
[] = {
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (wxToggleButton
*)new wxToggleButton();
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13066 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13069 wxWindow
*arg2
= (wxWindow
*) 0 ;
13071 wxString
*arg4
= 0 ;
13072 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13073 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13074 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13075 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13076 long arg7
= (long) 0 ;
13077 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13078 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13079 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13080 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13082 bool temp4
= False
;
13085 bool temp9
= False
;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 PyObject
* obj2
= 0 ;
13089 PyObject
* obj3
= 0 ;
13090 PyObject
* obj4
= 0 ;
13091 PyObject
* obj5
= 0 ;
13092 PyObject
* obj6
= 0 ;
13093 PyObject
* obj7
= 0 ;
13094 PyObject
* obj8
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13104 arg3
= (int) SWIG_AsInt(obj2
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 arg4
= wxString_in_helper(obj3
);
13108 if (arg4
== NULL
) SWIG_fail
;
13114 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13120 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13124 arg7
= (long) SWIG_AsLong(obj6
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13131 if (arg8
== NULL
) {
13132 PyErr_SetString(PyExc_TypeError
,"null reference");
13138 arg9
= wxString_in_helper(obj8
);
13139 if (arg9
== NULL
) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13175 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self",(char *) "value", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 arg2
= (bool) SWIG_AsBool(obj1
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->SetValue(arg2
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13204 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13208 PyObject
* obj0
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13232 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13235 wxString
*arg2
= 0 ;
13236 bool temp2
= False
;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self",(char *) "label", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13247 arg2
= wxString_in_helper(obj1
);
13248 if (arg2
== NULL
) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 (arg1
)->SetLabel((wxString
const &)*arg2
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 Py_INCREF(Py_None
); resultobj
= Py_None
;
13273 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13276 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13278 return Py_BuildValue((char *)"");
13280 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13281 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13286 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13291 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13293 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13300 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13326 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "n", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13340 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= wxPyMake_wxObject(result
);
13358 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_FromInt((int)result
);
13384 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13388 wxString
*arg3
= 0 ;
13390 bool temp3
= False
;
13391 PyObject
* obj0
= 0 ;
13392 PyObject
* obj1
= 0 ;
13393 PyObject
* obj2
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self",(char *) "n",(char *) "strText", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13401 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 arg3
= wxString_in_helper(obj2
);
13405 if (arg3
== NULL
) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13432 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self",(char *) "n", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13468 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13471 wxImageList
*arg2
= (wxImageList
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self",(char *) "imageList", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 (arg1
)->SetImageList(arg2
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 Py_INCREF(Py_None
); resultobj
= Py_None
;
13497 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13500 wxImageList
*arg2
= (wxImageList
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 PyObject
* obj1
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "self",(char *) "imageList", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13511 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 (arg1
)->AssignImageList(arg2
);
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 Py_INCREF(Py_None
); resultobj
= Py_None
;
13526 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13529 wxImageList
*result
;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= wxPyMake_wxObject(result
);
13554 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self",(char *) "n", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13568 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_FromInt((int)result
);
13584 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13590 PyObject
* obj0
= 0 ;
13591 PyObject
* obj1
= 0 ;
13592 PyObject
* obj2
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self",(char *) "n",(char *) "imageId", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13600 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13602 arg3
= (int) SWIG_AsInt(obj2
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13620 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self",(char *) "size", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13636 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 Py_INCREF(Py_None
); resultobj
= Py_None
;
13652 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self",(char *) "sizePage", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13669 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13679 wxSize
* resultptr
;
13680 resultptr
= new wxSize((wxSize
&) result
);
13681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13689 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self",(char *) "n", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13703 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (bool)(arg1
)->DeletePage(arg2
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13721 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
;
13723 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self",(char *) "n", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13735 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 result
= (bool)(arg1
)->RemovePage(arg2
);
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13753 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
;
13755 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (bool)(arg1
)->DeleteAllPages();
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13781 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13784 wxWindow
*arg2
= (wxWindow
*) 0 ;
13785 wxString
*arg3
= 0 ;
13786 bool arg4
= (bool) False
;
13787 int arg5
= (int) -1 ;
13789 bool temp3
= False
;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 PyObject
* obj2
= 0 ;
13793 PyObject
* obj3
= 0 ;
13794 PyObject
* obj4
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 arg3
= wxString_in_helper(obj2
);
13806 if (arg3
== NULL
) SWIG_fail
;
13810 arg4
= (bool) SWIG_AsBool(obj3
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13814 arg5
= (int) SWIG_AsInt(obj4
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13841 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13845 wxWindow
*arg3
= (wxWindow
*) 0 ;
13846 wxString
*arg4
= 0 ;
13847 bool arg5
= (bool) False
;
13848 int arg6
= (int) -1 ;
13850 bool temp4
= False
;
13851 PyObject
* obj0
= 0 ;
13852 PyObject
* obj1
= 0 ;
13853 PyObject
* obj2
= 0 ;
13854 PyObject
* obj3
= 0 ;
13855 PyObject
* obj4
= 0 ;
13856 PyObject
* obj5
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13864 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13866 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 arg4
= wxString_in_helper(obj3
);
13870 if (arg4
== NULL
) SWIG_fail
;
13874 arg5
= (bool) SWIG_AsBool(obj4
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 arg6
= (int) SWIG_AsInt(obj5
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13905 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self",(char *) "n", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (int)(arg1
)->SetSelection(arg2
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= SWIG_FromInt((int)result
);
13935 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13938 bool arg2
= (bool) True
;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self",(char *) "forward", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13949 arg2
= (bool) SWIG_AsBool(obj1
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 (arg1
)->AdvanceSelection(arg2
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 Py_INCREF(Py_None
); resultobj
= Py_None
;
13966 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13969 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13971 return Py_BuildValue((char *)"");
13973 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13976 int arg2
= (int) 0 ;
13977 int arg3
= (int) -1 ;
13978 int arg4
= (int) -1 ;
13979 wxBookCtrlEvent
*result
;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 PyObject
* obj2
= 0 ;
13983 PyObject
* obj3
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13990 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 arg2
= (int) SWIG_AsInt(obj1
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 arg3
= (int) SWIG_AsInt(obj2
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 arg4
= (int) SWIG_AsInt(obj3
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14019 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
;
14021 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= SWIG_FromInt((int)result
);
14045 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self",(char *) "nSel", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 arg2
= (int) SWIG_AsInt(obj1
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 (arg1
)->SetSelection(arg2
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14078 PyObject
* obj0
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_FromInt((int)result
);
14100 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14104 PyObject
* obj0
= 0 ;
14105 PyObject
* obj1
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self",(char *) "nOldSel", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14113 arg2
= (int) SWIG_AsInt(obj1
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->SetOldSelection(arg2
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14132 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14134 return Py_BuildValue((char *)"");
14136 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxWindow
*arg1
= (wxWindow
*) 0 ;
14139 int arg2
= (int) -1 ;
14140 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14141 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14142 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14143 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14144 long arg5
= (long) 0 ;
14145 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14146 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14147 wxNotebook
*result
;
14150 bool temp6
= False
;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 PyObject
* obj2
= 0 ;
14154 PyObject
* obj3
= 0 ;
14155 PyObject
* obj4
= 0 ;
14156 PyObject
* obj5
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14165 arg2
= (int) SWIG_AsInt(obj1
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14171 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14177 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14181 arg5
= (long) SWIG_AsLong(obj4
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14186 arg6
= wxString_in_helper(obj5
);
14187 if (arg6
== NULL
) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= wxPyMake_wxObject(result
);
14215 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxNotebook
*result
;
14218 char *kwnames
[] = {
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (wxNotebook
*)new wxNotebook();
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= wxPyMake_wxObject(result
);
14239 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
;
14241 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14242 wxWindow
*arg2
= (wxWindow
*) 0 ;
14244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14246 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14247 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14248 long arg6
= (long) 0 ;
14249 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14250 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14254 bool temp7
= False
;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 PyObject
* obj2
= 0 ;
14258 PyObject
* obj3
= 0 ;
14259 PyObject
* obj4
= 0 ;
14260 PyObject
* obj5
= 0 ;
14261 PyObject
* obj6
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14271 arg3
= (int) SWIG_AsInt(obj2
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14286 arg6
= (long) SWIG_AsLong(obj5
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14291 arg7
= wxString_in_helper(obj6
);
14292 if (arg7
== NULL
) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14320 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_FromInt((int)result
);
14346 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self",(char *) "padding", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14362 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 Py_INCREF(Py_None
); resultobj
= Py_None
;
14378 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "self",(char *) "sz", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14394 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 Py_INCREF(Py_None
); resultobj
= Py_None
;
14410 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
;
14412 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14413 wxPoint
*arg2
= 0 ;
14414 long *arg3
= (long *) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 PyObject
* obj1
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self",(char *) "pt", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_FromInt((int)result
);
14441 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14442 resultobj
= t_output_helper(resultobj
,o
);
14450 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14456 PyObject
* obj0
= 0 ;
14457 PyObject
* obj1
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "self",(char *) "sizePage", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14467 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14477 wxSize
* resultptr
;
14478 resultptr
= new wxSize((wxSize
&) result
);
14479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14487 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14490 wxWindow
*arg2
= (wxWindow
*) 0 ;
14491 wxColour
*arg3
= 0 ;
14493 PyObject
* obj0
= 0 ;
14494 PyObject
* obj1
= 0 ;
14495 PyObject
* obj2
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self",(char *) "window",(char *) "colour", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 Py_INCREF(Py_None
); resultobj
= Py_None
;
14523 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14526 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14528 return Py_BuildValue((char *)"");
14530 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14533 int arg2
= (int) 0 ;
14534 int arg3
= (int) -1 ;
14535 int arg4
= (int) -1 ;
14536 wxNotebookEvent
*result
;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 PyObject
* obj3
= 0 ;
14541 char *kwnames
[] = {
14542 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14547 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14551 arg2
= (int) SWIG_AsInt(obj1
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14555 arg3
= (int) SWIG_AsInt(obj2
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 arg4
= (int) SWIG_AsInt(obj3
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14576 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14579 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14581 return Py_BuildValue((char *)"");
14583 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
;
14585 wxWindow
*arg1
= (wxWindow
*) 0 ;
14586 int arg2
= (int) -1 ;
14587 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14588 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14589 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14590 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14591 long arg5
= (long) 0 ;
14592 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14593 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14594 wxListbook
*result
;
14597 bool temp6
= False
;
14598 PyObject
* obj0
= 0 ;
14599 PyObject
* obj1
= 0 ;
14600 PyObject
* obj2
= 0 ;
14601 PyObject
* obj3
= 0 ;
14602 PyObject
* obj4
= 0 ;
14603 PyObject
* obj5
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14612 arg2
= (int) SWIG_AsInt(obj1
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14624 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14628 arg5
= (long) SWIG_AsLong(obj4
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14633 arg6
= wxString_in_helper(obj5
);
14634 if (arg6
== NULL
) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14660 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxListbook
*result
;
14663 char *kwnames
[] = {
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (wxListbook
*)new wxListbook();
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14682 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxListbook
*arg1
= (wxListbook
*) 0 ;
14685 wxWindow
*arg2
= (wxWindow
*) 0 ;
14687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14691 long arg6
= (long) 0 ;
14692 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14697 bool temp7
= False
;
14698 PyObject
* obj0
= 0 ;
14699 PyObject
* obj1
= 0 ;
14700 PyObject
* obj2
= 0 ;
14701 PyObject
* obj3
= 0 ;
14702 PyObject
* obj4
= 0 ;
14703 PyObject
* obj5
= 0 ;
14704 PyObject
* obj6
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14714 arg3
= (int) SWIG_AsInt(obj2
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14719 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14725 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14729 arg6
= (long) SWIG_AsLong(obj5
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14734 arg7
= wxString_in_helper(obj6
);
14735 if (arg7
== NULL
) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14763 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
;
14765 wxListbook
*arg1
= (wxListbook
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 char *kwnames
[] = {
14769 (char *) "self", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14791 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14794 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14796 return Py_BuildValue((char *)"");
14798 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14801 int arg2
= (int) 0 ;
14802 int arg3
= (int) -1 ;
14803 int arg4
= (int) -1 ;
14804 wxListbookEvent
*result
;
14805 PyObject
* obj0
= 0 ;
14806 PyObject
* obj1
= 0 ;
14807 PyObject
* obj2
= 0 ;
14808 PyObject
* obj3
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14815 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14819 arg2
= (int) SWIG_AsInt(obj1
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14823 arg3
= (int) SWIG_AsInt(obj2
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 arg4
= (int) SWIG_AsInt(obj3
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14844 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14847 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14849 return Py_BuildValue((char *)"");
14851 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
;
14853 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14854 wxBookCtrlSizer
*result
;
14855 PyObject
* obj0
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "nb", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14877 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14878 PyObject
*resultobj
;
14879 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 (arg1
)->RecalcSizes();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 Py_INCREF(Py_None
); resultobj
= Py_None
;
14902 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14906 PyObject
* obj0
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (arg1
)->CalcMin();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14922 wxSize
* resultptr
;
14923 resultptr
= new wxSize((wxSize
&) result
);
14924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14932 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14935 wxBookCtrl
*result
;
14936 PyObject
* obj0
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14958 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14961 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14963 return Py_BuildValue((char *)"");
14965 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14968 wxNotebookSizer
*result
;
14969 PyObject
* obj0
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "nb", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14991 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14994 PyObject
* obj0
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 (arg1
)->RecalcSizes();
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 Py_INCREF(Py_None
); resultobj
= Py_None
;
15016 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (arg1
)->CalcMin();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15036 wxSize
* resultptr
;
15037 resultptr
= new wxSize((wxSize
&) result
);
15038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15046 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15049 wxNotebook
*result
;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= wxPyMake_wxObject(result
);
15074 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15077 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15079 return Py_BuildValue((char *)"");
15081 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (int)(arg1
)->GetId();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_FromInt((int)result
);
15107 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15108 PyObject
*resultobj
;
15109 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15111 PyObject
* obj0
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 result
= (wxControl
*)(arg1
)->GetControl();
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= wxPyMake_wxObject(result
);
15135 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15138 wxToolBarBase
*result
;
15139 PyObject
* obj0
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "self", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= wxPyMake_wxObject(result
);
15163 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (int)(arg1
)->IsButton();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_FromInt((int)result
);
15189 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "self", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (int)(arg1
)->IsControl();
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= SWIG_FromInt((int)result
);
15215 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (int)(arg1
)->IsSeparator();
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= SWIG_FromInt((int)result
);
15241 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (int)(arg1
)->GetStyle();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_FromInt((int)result
);
15267 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (int)(arg1
)->GetKind();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= SWIG_FromInt((int)result
);
15293 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (bool)(arg1
)->IsEnabled();
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15321 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (bool)(arg1
)->IsToggled();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15349 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (bool)(arg1
)->CanBeToggled();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15377 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15393 result
= (wxBitmap
*) &_result_ref
;
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15400 wxBitmap
* resultptr
= new wxBitmap(*result
);
15401 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15409 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15425 result
= (wxBitmap
*) &_result_ref
;
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15432 wxBitmap
* resultptr
= new wxBitmap(*result
);
15433 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15441 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (arg1
)->GetBitmap();
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15461 wxBitmap
* resultptr
;
15462 resultptr
= new wxBitmap((wxBitmap
&) result
);
15463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15471 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (arg1
)->GetLabel();
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15503 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (arg1
)->GetShortHelp();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15535 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (arg1
)->GetLongHelp();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15567 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 PyObject
* obj1
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self",(char *) "enable", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15581 arg2
= (bool) SWIG_AsBool(obj1
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (bool)(arg1
)->Enable(arg2
);
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 Py_INCREF(Py_None
); resultobj
= Py_None
;
15624 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "self",(char *) "toggle", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15638 arg2
= (bool) SWIG_AsBool(obj1
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (bool)(arg1
)->SetToggle(arg2
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15656 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15659 wxString
*arg2
= 0 ;
15661 bool temp2
= False
;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self",(char *) "help", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15672 arg2
= wxString_in_helper(obj1
);
15673 if (arg2
== NULL
) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15700 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15703 wxString
*arg2
= 0 ;
15705 bool temp2
= False
;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "self",(char *) "help", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 arg2
= wxString_in_helper(obj1
);
15717 if (arg2
== NULL
) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15744 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15747 wxBitmap
*arg2
= 0 ;
15748 PyObject
* obj0
= 0 ;
15749 PyObject
* obj1
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self",(char *) "bmp", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15760 if (arg2
== NULL
) {
15761 PyErr_SetString(PyExc_TypeError
,"null reference");
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 Py_INCREF(Py_None
); resultobj
= Py_None
;
15778 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15781 wxBitmap
*arg2
= 0 ;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self",(char *) "bmp", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15794 if (arg2
== NULL
) {
15795 PyErr_SetString(PyExc_TypeError
,"null reference");
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 Py_INCREF(Py_None
); resultobj
= Py_None
;
15812 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15815 wxString
*arg2
= 0 ;
15816 bool temp2
= False
;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self",(char *) "label", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15827 arg2
= wxString_in_helper(obj1
);
15828 if (arg2
== NULL
) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 (arg1
)->SetLabel((wxString
const &)*arg2
);
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 Py_INCREF(Py_None
); resultobj
= Py_None
;
15853 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 Py_INCREF(Py_None
); resultobj
= Py_None
;
15878 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15881 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self",(char *) "tbar", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 (arg1
)->Attach(arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 Py_INCREF(Py_None
); resultobj
= Py_None
;
15907 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15909 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= result
;
15933 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15936 PyObject
*arg2
= (PyObject
*) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "clientData", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 Py_INCREF(Py_None
); resultobj
= Py_None
;
15961 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15964 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15966 return Py_BuildValue((char *)"");
15968 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15972 wxString
*arg3
= 0 ;
15973 wxBitmap
*arg4
= 0 ;
15974 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15975 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15976 int arg6
= (int) wxITEM_NORMAL
;
15977 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15978 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15979 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15980 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15981 PyObject
*arg9
= (PyObject
*) NULL
;
15982 wxToolBarToolBase
*result
;
15983 bool temp3
= False
;
15984 bool temp7
= False
;
15985 bool temp8
= False
;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 PyObject
* obj2
= 0 ;
15989 PyObject
* obj3
= 0 ;
15990 PyObject
* obj4
= 0 ;
15991 PyObject
* obj5
= 0 ;
15992 PyObject
* obj6
= 0 ;
15993 PyObject
* obj7
= 0 ;
15994 PyObject
* obj8
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 arg2
= (int) SWIG_AsInt(obj1
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 arg3
= wxString_in_helper(obj2
);
16006 if (arg3
== NULL
) SWIG_fail
;
16009 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16012 if (arg4
== NULL
) {
16013 PyErr_SetString(PyExc_TypeError
,"null reference");
16017 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16020 if (arg5
== NULL
) {
16021 PyErr_SetString(PyExc_TypeError
,"null reference");
16026 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16031 arg7
= wxString_in_helper(obj6
);
16032 if (arg7
== NULL
) SWIG_fail
;
16038 arg8
= wxString_in_helper(obj7
);
16039 if (arg8
== NULL
) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= wxPyMake_wxObject(result
);
16086 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16091 wxString
*arg4
= 0 ;
16092 wxBitmap
*arg5
= 0 ;
16093 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16094 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16095 int arg7
= (int) wxITEM_NORMAL
;
16096 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16097 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16098 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16099 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16100 PyObject
*arg10
= (PyObject
*) NULL
;
16101 wxToolBarToolBase
*result
;
16102 bool temp4
= False
;
16103 bool temp8
= False
;
16104 bool temp9
= False
;
16105 PyObject
* obj0
= 0 ;
16106 PyObject
* obj1
= 0 ;
16107 PyObject
* obj2
= 0 ;
16108 PyObject
* obj3
= 0 ;
16109 PyObject
* obj4
= 0 ;
16110 PyObject
* obj5
= 0 ;
16111 PyObject
* obj6
= 0 ;
16112 PyObject
* obj7
= 0 ;
16113 PyObject
* obj8
= 0 ;
16114 PyObject
* obj9
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16122 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16124 arg3
= (int) SWIG_AsInt(obj2
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 arg4
= wxString_in_helper(obj3
);
16128 if (arg4
== NULL
) SWIG_fail
;
16131 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16134 if (arg5
== NULL
) {
16135 PyErr_SetString(PyExc_TypeError
,"null reference");
16139 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16142 if (arg6
== NULL
) {
16143 PyErr_SetString(PyExc_TypeError
,"null reference");
16148 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16153 arg8
= wxString_in_helper(obj7
);
16154 if (arg8
== NULL
) SWIG_fail
;
16160 arg9
= wxString_in_helper(obj8
);
16161 if (arg9
== NULL
) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 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
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= wxPyMake_wxObject(result
);
16208 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16211 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16212 wxToolBarToolBase
*result
;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self",(char *) "tool", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= wxPyMake_wxObject(result
);
16240 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16244 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16245 wxToolBarToolBase
*result
;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 PyObject
* obj2
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "pos",(char *) "tool", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16258 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= wxPyMake_wxObject(result
);
16276 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16279 wxControl
*arg2
= (wxControl
*) 0 ;
16280 wxToolBarToolBase
*result
;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "control", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= wxPyMake_wxObject(result
);
16308 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16312 wxControl
*arg3
= (wxControl
*) 0 ;
16313 wxToolBarToolBase
*result
;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 PyObject
* obj2
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self",(char *) "pos",(char *) "control", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16326 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= wxPyMake_wxObject(result
);
16344 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self",(char *) "id", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16358 arg2
= (int) SWIG_AsInt(obj1
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= wxPyMake_wxObject(result
);
16376 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16379 wxToolBarToolBase
*result
;
16380 PyObject
* obj0
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= wxPyMake_wxObject(result
);
16404 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16408 wxToolBarToolBase
*result
;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self",(char *) "pos", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= wxPyMake_wxObject(result
);
16436 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16440 wxToolBarToolBase
*result
;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self",(char *) "id", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16450 arg2
= (int) SWIG_AsInt(obj1
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= wxPyMake_wxObject(result
);
16468 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self",(char *) "pos", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16500 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "id", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 arg2
= (int) SWIG_AsInt(obj1
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 result
= (bool)(arg1
)->DeleteTool(arg2
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16532 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16535 PyObject
* obj0
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 (arg1
)->ClearTools();
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 Py_INCREF(Py_None
); resultobj
= Py_None
;
16557 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (bool)(arg1
)->Realize();
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16585 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 PyObject
* obj2
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self",(char *) "id",(char *) "enable", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16600 arg2
= (int) SWIG_AsInt(obj1
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16602 arg3
= (bool) SWIG_AsBool(obj2
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 (arg1
)->EnableTool(arg2
,arg3
);
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 Py_INCREF(Py_None
); resultobj
= Py_None
;
16618 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 PyObject
* obj2
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self",(char *) "id",(char *) "toggle", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 arg2
= (int) SWIG_AsInt(obj1
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16635 arg3
= (bool) SWIG_AsBool(obj2
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 (arg1
)->ToggleTool(arg2
,arg3
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 Py_INCREF(Py_None
); resultobj
= Py_None
;
16651 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 PyObject
* obj2
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self",(char *) "id",(char *) "toggle", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16666 arg2
= (int) SWIG_AsInt(obj1
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16668 arg3
= (bool) SWIG_AsBool(obj2
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 (arg1
)->SetToggle(arg2
,arg3
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 Py_INCREF(Py_None
); resultobj
= Py_None
;
16684 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self",(char *) "id", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16698 arg2
= (int) SWIG_AsInt(obj1
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= result
;
16714 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16718 PyObject
*arg3
= (PyObject
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 PyObject
* obj2
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "id",(char *) "clientData", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 arg2
= (int) SWIG_AsInt(obj1
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 Py_INCREF(Py_None
); resultobj
= Py_None
;
16746 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16751 PyObject
* obj0
= 0 ;
16752 PyObject
* obj1
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self",(char *) "id", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 arg2
= (int) SWIG_AsInt(obj1
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= SWIG_FromInt((int)result
);
16776 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
;
16778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self",(char *) "id", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16790 arg2
= (int) SWIG_AsInt(obj1
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (bool)(arg1
)->GetToolState(arg2
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16808 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 PyObject
* obj1
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self",(char *) "id", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16822 arg2
= (int) SWIG_AsInt(obj1
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16840 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16844 wxString
*arg3
= 0 ;
16845 bool temp3
= False
;
16846 PyObject
* obj0
= 0 ;
16847 PyObject
* obj1
= 0 ;
16848 PyObject
* obj2
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self",(char *) "id",(char *) "helpString", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16856 arg2
= (int) SWIG_AsInt(obj1
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 arg3
= wxString_in_helper(obj2
);
16860 if (arg3
== NULL
) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 Py_INCREF(Py_None
); resultobj
= Py_None
;
16885 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self",(char *) "id", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16899 arg2
= (int) SWIG_AsInt(obj1
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (arg1
)->GetToolShortHelp(arg2
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16921 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
;
16923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16925 wxString
*arg3
= 0 ;
16926 bool temp3
= False
;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 PyObject
* obj2
= 0 ;
16930 char *kwnames
[] = {
16931 (char *) "self",(char *) "id",(char *) "helpString", NULL
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16937 arg2
= (int) SWIG_AsInt(obj1
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 arg3
= wxString_in_helper(obj2
);
16941 if (arg3
== NULL
) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 Py_INCREF(Py_None
); resultobj
= Py_None
;
16966 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
;
16968 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 PyObject
* obj1
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "self",(char *) "id", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16980 arg2
= (int) SWIG_AsInt(obj1
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= (arg1
)->GetToolLongHelp(arg2
);
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17002 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 PyObject
* obj2
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "self",(char *) "x",(char *) "y", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 arg2
= (int) SWIG_AsInt(obj1
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17019 arg3
= (int) SWIG_AsInt(obj2
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 (arg1
)->SetMargins(arg2
,arg3
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 Py_INCREF(Py_None
); resultobj
= Py_None
;
17035 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self",(char *) "size", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17051 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 Py_INCREF(Py_None
); resultobj
= Py_None
;
17067 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "packing", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17080 arg2
= (int) SWIG_AsInt(obj1
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 (arg1
)->SetToolPacking(arg2
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 Py_INCREF(Py_None
); resultobj
= Py_None
;
17096 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self",(char *) "separation", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17109 arg2
= (int) SWIG_AsInt(obj1
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 (arg1
)->SetToolSeparation(arg2
);
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17118 Py_INCREF(Py_None
); resultobj
= Py_None
;
17125 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17129 PyObject
* obj0
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 result
= (arg1
)->GetToolMargins();
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17145 wxSize
* resultptr
;
17146 resultptr
= new wxSize((wxSize
&) result
);
17147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17155 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (arg1
)->GetMargins();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17175 wxSize
* resultptr
;
17176 resultptr
= new wxSize((wxSize
&) result
);
17177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17185 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (int)(arg1
)->GetToolPacking();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= SWIG_FromInt((int)result
);
17211 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17215 PyObject
* obj0
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= (int)(arg1
)->GetToolSeparation();
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_FromInt((int)result
);
17237 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self",(char *) "nRows", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17250 arg2
= (int) SWIG_AsInt(obj1
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 (arg1
)->SetRows(arg2
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 Py_INCREF(Py_None
); resultobj
= Py_None
;
17266 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 PyObject
* obj2
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self",(char *) "rows",(char *) "cols", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17281 arg2
= (int) SWIG_AsInt(obj1
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17283 arg3
= (int) SWIG_AsInt(obj2
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17292 Py_INCREF(Py_None
); resultobj
= Py_None
;
17299 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17301 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17303 PyObject
* obj0
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (int)(arg1
)->GetMaxRows();
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= SWIG_FromInt((int)result
);
17325 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (int)(arg1
)->GetMaxCols();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= SWIG_FromInt((int)result
);
17351 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self",(char *) "size", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 Py_INCREF(Py_None
); resultobj
= Py_None
;
17383 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (arg1
)->GetToolBitmapSize();
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17403 wxSize
* resultptr
;
17404 resultptr
= new wxSize((wxSize
&) result
);
17405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17413 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17417 PyObject
* obj0
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (arg1
)->GetToolSize();
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 wxSize
* resultptr
;
17434 resultptr
= new wxSize((wxSize
&) result
);
17435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17443 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17448 wxToolBarToolBase
*result
;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 PyObject
* obj2
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "x",(char *) "y", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 arg2
= (int) SWIG_AsInt(obj1
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17461 arg3
= (int) SWIG_AsInt(obj2
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= wxPyMake_wxObject(result
);
17479 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17483 wxToolBarToolBase
*result
;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self",(char *) "toolid", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17493 arg2
= (int) SWIG_AsInt(obj1
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= wxPyMake_wxObject(result
);
17511 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (bool)(arg1
)->IsVertical();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17539 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17542 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17544 return Py_BuildValue((char *)"");
17546 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxWindow
*arg1
= (wxWindow
*) 0 ;
17550 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17551 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17552 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17553 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17554 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17555 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17556 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17560 bool temp6
= False
;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 PyObject
* obj2
= 0 ;
17564 PyObject
* obj3
= 0 ;
17565 PyObject
* obj4
= 0 ;
17566 PyObject
* obj5
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 arg2
= (int) SWIG_AsInt(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17579 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17585 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17589 arg5
= (long) SWIG_AsLong(obj4
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17594 arg6
= wxString_in_helper(obj5
);
17595 if (arg6
== NULL
) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= wxPyMake_wxObject(result
);
17623 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17626 char *kwnames
[] = {
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (wxToolBar
*)new wxToolBar();
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= wxPyMake_wxObject(result
);
17647 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17650 wxWindow
*arg2
= (wxWindow
*) 0 ;
17652 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17653 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17654 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17655 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17656 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17657 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17658 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17662 bool temp7
= False
;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 PyObject
* obj2
= 0 ;
17666 PyObject
* obj3
= 0 ;
17667 PyObject
* obj4
= 0 ;
17668 PyObject
* obj5
= 0 ;
17669 PyObject
* obj6
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17679 arg3
= (int) SWIG_AsInt(obj2
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17684 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17690 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17694 arg6
= (long) SWIG_AsLong(obj5
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17699 arg7
= wxString_in_helper(obj6
);
17700 if (arg7
== NULL
) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17728 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17733 wxToolBarToolBase
*result
;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 PyObject
* obj2
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "x",(char *) "y", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 arg2
= (int) SWIG_AsInt(obj1
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17746 arg3
= (int) SWIG_AsInt(obj2
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= wxPyMake_wxObject(result
);
17764 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17767 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17769 return Py_BuildValue((char *)"");
17771 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17772 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17777 static PyObject
*_wrap_ListCtrlNameStr_get() {
17782 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17784 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17791 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxColour
const &arg1_defvalue
= wxNullColour
;
17794 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17795 wxColour
const &arg2_defvalue
= wxNullColour
;
17796 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17797 wxFont
const &arg3_defvalue
= wxNullFont
;
17798 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17799 wxListItemAttr
*result
;
17802 PyObject
* obj0
= 0 ;
17803 PyObject
* obj1
= 0 ;
17804 PyObject
* obj2
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17813 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17819 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17823 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17826 if (arg3
== NULL
) {
17827 PyErr_SetString(PyExc_TypeError
,"null reference");
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17845 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17848 wxColour
*arg2
= 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self",(char *) "colText", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 Py_INCREF(Py_None
); resultobj
= Py_None
;
17877 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17880 wxColour
*arg2
= 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self",(char *) "colBack", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 Py_INCREF(Py_None
); resultobj
= Py_None
;
17909 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self",(char *) "font", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17925 if (arg2
== NULL
) {
17926 PyErr_SetString(PyExc_TypeError
,"null reference");
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 (arg1
)->SetFont((wxFont
const &)*arg2
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 Py_INCREF(Py_None
); resultobj
= Py_None
;
17943 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17947 PyObject
* obj0
= 0 ;
17948 char *kwnames
[] = {
17949 (char *) "self", NULL
17952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 result
= (bool)(arg1
)->HasTextColour();
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17971 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17975 PyObject
* obj0
= 0 ;
17976 char *kwnames
[] = {
17977 (char *) "self", NULL
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 result
= (bool)(arg1
)->HasBackgroundColour();
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17999 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 result
= (bool)(arg1
)->HasFont();
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18027 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (arg1
)->GetTextColour();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 wxColour
* resultptr
;
18048 resultptr
= new wxColour((wxColour
&) result
);
18049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18057 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (arg1
)->GetBackgroundColour();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 wxColour
* resultptr
;
18078 resultptr
= new wxColour((wxColour
&) result
);
18079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18087 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (arg1
)->GetFont();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 wxFont
* resultptr
;
18108 resultptr
= new wxFont((wxFont
&) result
);
18109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18117 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 wxListItemAttr_Destroy(arg1
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 Py_INCREF(Py_None
); resultobj
= Py_None
;
18142 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18145 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18147 return Py_BuildValue((char *)"");
18149 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxListItem
*result
;
18152 char *kwnames
[] = {
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (wxListItem
*)new wxListItem();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= wxPyMake_wxObject(result
);
18173 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxListItem
*arg1
= (wxListItem
*) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 Py_INCREF(Py_None
); resultobj
= Py_None
;
18198 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxListItem
*arg1
= (wxListItem
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 Py_INCREF(Py_None
); resultobj
= Py_None
;
18223 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxListItem
*arg1
= (wxListItem
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 (arg1
)->ClearAttributes();
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 Py_INCREF(Py_None
); resultobj
= Py_None
;
18248 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18250 wxListItem
*arg1
= (wxListItem
*) 0 ;
18252 PyObject
* obj0
= 0 ;
18253 PyObject
* obj1
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self",(char *) "mask", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18261 arg2
= (long) SWIG_AsLong(obj1
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 (arg1
)->SetMask(arg2
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 Py_INCREF(Py_None
); resultobj
= Py_None
;
18277 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxListItem
*arg1
= (wxListItem
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 char *kwnames
[] = {
18284 (char *) "self",(char *) "id", NULL
18287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18290 arg2
= (long) SWIG_AsLong(obj1
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 (arg1
)->SetId(arg2
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 Py_INCREF(Py_None
); resultobj
= Py_None
;
18306 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 wxListItem
*arg1
= (wxListItem
*) 0 ;
18310 PyObject
* obj0
= 0 ;
18311 PyObject
* obj1
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self",(char *) "col", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18319 arg2
= (int) SWIG_AsInt(obj1
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 (arg1
)->SetColumn(arg2
);
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 Py_INCREF(Py_None
); resultobj
= Py_None
;
18335 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxListItem
*arg1
= (wxListItem
*) 0 ;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self",(char *) "state", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18348 arg2
= (long) SWIG_AsLong(obj1
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 (arg1
)->SetState(arg2
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 Py_INCREF(Py_None
); resultobj
= Py_None
;
18364 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxListItem
*arg1
= (wxListItem
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self",(char *) "stateMask", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18377 arg2
= (long) SWIG_AsLong(obj1
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 (arg1
)->SetStateMask(arg2
);
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 Py_INCREF(Py_None
); resultobj
= Py_None
;
18393 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxListItem
*arg1
= (wxListItem
*) 0 ;
18396 wxString
*arg2
= 0 ;
18397 bool temp2
= False
;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "text", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18408 arg2
= wxString_in_helper(obj1
);
18409 if (arg2
== NULL
) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 (arg1
)->SetText((wxString
const &)*arg2
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 Py_INCREF(Py_None
); resultobj
= Py_None
;
18434 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxListItem
*arg1
= (wxListItem
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self",(char *) "image", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 arg2
= (int) SWIG_AsInt(obj1
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->SetImage(arg2
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 Py_INCREF(Py_None
); resultobj
= Py_None
;
18463 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxListItem
*arg1
= (wxListItem
*) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self",(char *) "data", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18476 arg2
= (long) SWIG_AsLong(obj1
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 (arg1
)->SetData(arg2
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 Py_INCREF(Py_None
); resultobj
= Py_None
;
18492 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxListItem
*arg1
= (wxListItem
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 PyObject
* obj1
= 0 ;
18498 char *kwnames
[] = {
18499 (char *) "self",(char *) "width", NULL
18502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18505 arg2
= (int) SWIG_AsInt(obj1
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 (arg1
)->SetWidth(arg2
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 Py_INCREF(Py_None
); resultobj
= Py_None
;
18521 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
;
18523 wxListItem
*arg1
= (wxListItem
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self",(char *) "align", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18534 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 Py_INCREF(Py_None
); resultobj
= Py_None
;
18550 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxListItem
*arg1
= (wxListItem
*) 0 ;
18553 wxColour
*arg2
= 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self",(char *) "colText", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 Py_INCREF(Py_None
); resultobj
= Py_None
;
18582 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxListItem
*arg1
= (wxListItem
*) 0 ;
18585 wxColour
*arg2
= 0 ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self",(char *) "colBack", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18598 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 Py_INCREF(Py_None
); resultobj
= Py_None
;
18614 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxListItem
*arg1
= (wxListItem
*) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 PyObject
* obj1
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self",(char *) "font", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18630 if (arg2
== NULL
) {
18631 PyErr_SetString(PyExc_TypeError
,"null reference");
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 (arg1
)->SetFont((wxFont
const &)*arg2
);
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 Py_INCREF(Py_None
); resultobj
= Py_None
;
18648 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxListItem
*arg1
= (wxListItem
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (long)(arg1
)->GetMask();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_FromLong((long)result
);
18674 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxListItem
*arg1
= (wxListItem
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (long)(arg1
)->GetId();
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= SWIG_FromLong((long)result
);
18700 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxListItem
*arg1
= (wxListItem
*) 0 ;
18704 PyObject
* obj0
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (int)(arg1
)->GetColumn();
18716 wxPyEndAllowThreads(__tstate
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= SWIG_FromInt((int)result
);
18726 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxListItem
*arg1
= (wxListItem
*) 0 ;
18730 PyObject
* obj0
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "self", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= (long)(arg1
)->GetState();
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_FromLong((long)result
);
18752 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxListItem
*arg1
= (wxListItem
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "self", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 wxString
const &_result_ref
= (arg1
)->GetText();
18768 result
= (wxString
*) &_result_ref
;
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18776 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18778 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18787 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxListItem
*arg1
= (wxListItem
*) 0 ;
18791 PyObject
* obj0
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (int)(arg1
)->GetImage();
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= SWIG_FromInt((int)result
);
18813 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxListItem
*arg1
= (wxListItem
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "self", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (long)(arg1
)->GetData();
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= SWIG_FromLong((long)result
);
18839 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxListItem
*arg1
= (wxListItem
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (int)(arg1
)->GetWidth();
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= SWIG_FromInt((int)result
);
18865 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxListItem
*arg1
= (wxListItem
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= (int)(arg1
)->GetAlign();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_FromInt((int)result
);
18891 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxListItem
*arg1
= (wxListItem
*) 0 ;
18894 wxListItemAttr
*result
;
18895 PyObject
* obj0
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18917 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxListItem
*arg1
= (wxListItem
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (bool)(arg1
)->HasAttributes();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18945 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxListItem
*arg1
= (wxListItem
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18965 wxColour
* resultptr
;
18966 resultptr
= new wxColour((wxColour
&) result
);
18967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18975 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxListItem
*arg1
= (wxListItem
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18995 wxColour
* resultptr
;
18996 resultptr
= new wxColour((wxColour
&) result
);
18997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19005 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxListItem
*arg1
= (wxListItem
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "self", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 result
= ((wxListItem
const *)arg1
)->GetFont();
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19025 wxFont
* resultptr
;
19026 resultptr
= new wxFont((wxFont
&) result
);
19027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19035 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxListItem
*arg1
= (wxListItem
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "m_mask", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19048 arg2
= (long) SWIG_AsLong(obj1
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19050 if (arg1
) (arg1
)->m_mask
= arg2
;
19052 Py_INCREF(Py_None
); resultobj
= Py_None
;
19059 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxListItem
*arg1
= (wxListItem
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19071 result
= (long) ((arg1
)->m_mask
);
19073 resultobj
= SWIG_FromLong((long)result
);
19080 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxListItem
*arg1
= (wxListItem
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self",(char *) "m_itemId", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19093 arg2
= (long) SWIG_AsLong(obj1
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19095 if (arg1
) (arg1
)->m_itemId
= arg2
;
19097 Py_INCREF(Py_None
); resultobj
= Py_None
;
19104 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
;
19106 wxListItem
*arg1
= (wxListItem
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 char *kwnames
[] = {
19110 (char *) "self", NULL
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19116 result
= (long) ((arg1
)->m_itemId
);
19118 resultobj
= SWIG_FromLong((long)result
);
19125 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxListItem
*arg1
= (wxListItem
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self",(char *) "m_col", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19138 arg2
= (int) SWIG_AsInt(obj1
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19140 if (arg1
) (arg1
)->m_col
= arg2
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxListItem
*arg1
= (wxListItem
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19161 result
= (int) ((arg1
)->m_col
);
19163 resultobj
= SWIG_FromInt((int)result
);
19170 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxListItem
*arg1
= (wxListItem
*) 0 ;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "self",(char *) "m_state", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19183 arg2
= (long) SWIG_AsLong(obj1
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19185 if (arg1
) (arg1
)->m_state
= arg2
;
19187 Py_INCREF(Py_None
); resultobj
= Py_None
;
19194 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxListItem
*arg1
= (wxListItem
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19206 result
= (long) ((arg1
)->m_state
);
19208 resultobj
= SWIG_FromLong((long)result
);
19215 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxListItem
*arg1
= (wxListItem
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "m_stateMask", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 arg2
= (long) SWIG_AsLong(obj1
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19230 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19232 Py_INCREF(Py_None
); resultobj
= Py_None
;
19239 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxListItem
*arg1
= (wxListItem
*) 0 ;
19243 PyObject
* obj0
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19251 result
= (long) ((arg1
)->m_stateMask
);
19253 resultobj
= SWIG_FromLong((long)result
);
19260 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxListItem
*arg1
= (wxListItem
*) 0 ;
19263 wxString
*arg2
= (wxString
*) 0 ;
19264 bool temp2
= False
;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self",(char *) "m_text", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19275 arg2
= wxString_in_helper(obj1
);
19276 if (arg2
== NULL
) SWIG_fail
;
19279 if (arg1
) (arg1
)->m_text
= *arg2
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19296 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxListItem
*arg1
= (wxListItem
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19308 result
= (wxString
*)& ((arg1
)->m_text
);
19312 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19314 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19323 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxListItem
*arg1
= (wxListItem
*) 0 ;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self",(char *) "m_image", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19336 arg2
= (int) SWIG_AsInt(obj1
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19338 if (arg1
) (arg1
)->m_image
= arg2
;
19340 Py_INCREF(Py_None
); resultobj
= Py_None
;
19347 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxListItem
*arg1
= (wxListItem
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19359 result
= (int) ((arg1
)->m_image
);
19361 resultobj
= SWIG_FromInt((int)result
);
19368 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxListItem
*arg1
= (wxListItem
*) 0 ;
19372 PyObject
* obj0
= 0 ;
19373 PyObject
* obj1
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self",(char *) "m_data", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19381 arg2
= (long) SWIG_AsLong(obj1
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19383 if (arg1
) (arg1
)->m_data
= arg2
;
19385 Py_INCREF(Py_None
); resultobj
= Py_None
;
19392 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxListItem
*arg1
= (wxListItem
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19404 result
= (long) ((arg1
)->m_data
);
19406 resultobj
= SWIG_FromLong((long)result
);
19413 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
;
19415 wxListItem
*arg1
= (wxListItem
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "m_format", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19426 arg2
= (int) SWIG_AsInt(obj1
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19428 if (arg1
) (arg1
)->m_format
= arg2
;
19430 Py_INCREF(Py_None
); resultobj
= Py_None
;
19437 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxListItem
*arg1
= (wxListItem
*) 0 ;
19441 PyObject
* obj0
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 result
= (int) ((arg1
)->m_format
);
19451 resultobj
= SWIG_FromInt((int)result
);
19458 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxListItem
*arg1
= (wxListItem
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self",(char *) "m_width", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19471 arg2
= (int) SWIG_AsInt(obj1
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19473 if (arg1
) (arg1
)->m_width
= arg2
;
19475 Py_INCREF(Py_None
); resultobj
= Py_None
;
19482 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
;
19484 wxListItem
*arg1
= (wxListItem
*) 0 ;
19486 PyObject
* obj0
= 0 ;
19487 char *kwnames
[] = {
19488 (char *) "self", NULL
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19494 result
= (int) ((arg1
)->m_width
);
19496 resultobj
= SWIG_FromInt((int)result
);
19503 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19506 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19508 return Py_BuildValue((char *)"");
19510 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
;
19512 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19513 int arg2
= (int) 0 ;
19514 wxListEvent
*result
;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "commandType",(char *) "id", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19523 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19527 arg2
= (int) SWIG_AsInt(obj1
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19544 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
;
19546 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self",(char *) "m_code", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 arg2
= (int) SWIG_AsInt(obj1
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19559 if (arg1
) (arg1
)->m_code
= arg2
;
19561 Py_INCREF(Py_None
); resultobj
= Py_None
;
19568 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19580 result
= (int) ((arg1
)->m_code
);
19582 resultobj
= SWIG_FromInt((int)result
);
19589 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19593 PyObject
* obj0
= 0 ;
19594 PyObject
* obj1
= 0 ;
19595 char *kwnames
[] = {
19596 (char *) "self",(char *) "m_oldItemIndex", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19602 arg2
= (long) SWIG_AsLong(obj1
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19604 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19606 Py_INCREF(Py_None
); resultobj
= Py_None
;
19613 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19615 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19617 PyObject
* obj0
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19625 result
= (long) ((arg1
)->m_oldItemIndex
);
19627 resultobj
= SWIG_FromLong((long)result
);
19634 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self",(char *) "m_itemIndex", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19647 arg2
= (long) SWIG_AsLong(obj1
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19649 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19651 Py_INCREF(Py_None
); resultobj
= Py_None
;
19658 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19662 PyObject
* obj0
= 0 ;
19663 char *kwnames
[] = {
19664 (char *) "self", NULL
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19670 result
= (long) ((arg1
)->m_itemIndex
);
19672 resultobj
= SWIG_FromLong((long)result
);
19679 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19683 PyObject
* obj0
= 0 ;
19684 PyObject
* obj1
= 0 ;
19685 char *kwnames
[] = {
19686 (char *) "self",(char *) "m_col", NULL
19689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19692 arg2
= (int) SWIG_AsInt(obj1
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19694 if (arg1
) (arg1
)->m_col
= arg2
;
19696 Py_INCREF(Py_None
); resultobj
= Py_None
;
19703 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19715 result
= (int) ((arg1
)->m_col
);
19717 resultobj
= SWIG_FromInt((int)result
);
19724 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19727 wxPoint
*arg2
= (wxPoint
*) 0 ;
19728 PyObject
* obj0
= 0 ;
19729 PyObject
* obj1
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self",(char *) "m_pointDrag", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19739 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19741 Py_INCREF(Py_None
); resultobj
= Py_None
;
19748 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19760 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19769 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19770 PyObject
*resultobj
;
19771 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19772 wxListItem
*result
;
19773 PyObject
* obj0
= 0 ;
19774 char *kwnames
[] = {
19775 (char *) "self", NULL
19778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19781 result
= (wxListItem
*)& ((arg1
)->m_item
);
19784 resultobj
= wxPyMake_wxObject(result
);
19792 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 result
= (int)(arg1
)->GetKeyCode();
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 resultobj
= SWIG_FromInt((int)result
);
19818 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (long)(arg1
)->GetIndex();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_FromLong((long)result
);
19844 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 result
= (int)(arg1
)->GetColumn();
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= SWIG_FromInt((int)result
);
19870 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (arg1
)->GetPoint();
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 wxPoint
* resultptr
;
19891 resultptr
= new wxPoint((wxPoint
&) result
);
19892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19900 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 wxString
const &_result_ref
= (arg1
)->GetLabel();
19916 result
= (wxString
*) &_result_ref
;
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19926 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19935 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 char *kwnames
[] = {
19941 (char *) "self", NULL
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 wxString
const &_result_ref
= (arg1
)->GetText();
19951 result
= (wxString
*) &_result_ref
;
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19961 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19970 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (int)(arg1
)->GetImage();
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= SWIG_FromInt((int)result
);
19996 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 result
= (long)(arg1
)->GetData();
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= SWIG_FromLong((long)result
);
20022 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20026 PyObject
* obj0
= 0 ;
20027 char *kwnames
[] = {
20028 (char *) "self", NULL
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= (long)(arg1
)->GetMask();
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20041 resultobj
= SWIG_FromLong((long)result
);
20048 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20051 wxListItem
*result
;
20052 PyObject
* obj0
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20064 result
= (wxListItem
*) &_result_ref
;
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20077 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 char *kwnames
[] = {
20083 (char *) "self", NULL
20086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (long)(arg1
)->GetCacheFrom();
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= SWIG_FromLong((long)result
);
20103 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20107 PyObject
* obj0
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 result
= (long)(arg1
)->GetCacheTo();
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= SWIG_FromLong((long)result
);
20129 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20157 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self",(char *) "editCancelled", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20170 arg2
= (bool) SWIG_AsBool(obj1
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 (arg1
)->SetEditCanceled(arg2
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 Py_INCREF(Py_None
); resultobj
= Py_None
;
20186 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20189 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20191 return Py_BuildValue((char *)"");
20193 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxWindow
*arg1
= (wxWindow
*) 0 ;
20196 int arg2
= (int) -1 ;
20197 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20198 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20199 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20200 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20201 long arg5
= (long) wxLC_ICON
;
20202 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20203 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20204 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20205 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20206 wxPyListCtrl
*result
;
20209 bool temp7
= False
;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 PyObject
* obj2
= 0 ;
20213 PyObject
* obj3
= 0 ;
20214 PyObject
* obj4
= 0 ;
20215 PyObject
* obj5
= 0 ;
20216 PyObject
* obj6
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20225 arg2
= (int) SWIG_AsInt(obj1
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20231 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20237 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20241 arg5
= (long) SWIG_AsLong(obj4
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20245 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20248 if (arg6
== NULL
) {
20249 PyErr_SetString(PyExc_TypeError
,"null reference");
20255 arg7
= wxString_in_helper(obj6
);
20256 if (arg7
== NULL
) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20282 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20283 PyObject
*resultobj
;
20284 wxPyListCtrl
*result
;
20285 char *kwnames
[] = {
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20304 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20307 wxWindow
*arg2
= (wxWindow
*) 0 ;
20308 int arg3
= (int) -1 ;
20309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20313 long arg6
= (long) wxLC_ICON
;
20314 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20315 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20316 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20317 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20321 bool temp8
= False
;
20322 PyObject
* obj0
= 0 ;
20323 PyObject
* obj1
= 0 ;
20324 PyObject
* obj2
= 0 ;
20325 PyObject
* obj3
= 0 ;
20326 PyObject
* obj4
= 0 ;
20327 PyObject
* obj5
= 0 ;
20328 PyObject
* obj6
= 0 ;
20329 PyObject
* obj7
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20340 arg3
= (int) SWIG_AsInt(obj2
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20346 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20352 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20356 arg6
= (long) SWIG_AsLong(obj5
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20360 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20363 if (arg7
== NULL
) {
20364 PyErr_SetString(PyExc_TypeError
,"null reference");
20370 arg8
= wxString_in_helper(obj7
);
20371 if (arg8
== NULL
) SWIG_fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20399 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20402 PyObject
*arg2
= (PyObject
*) 0 ;
20403 PyObject
*arg3
= (PyObject
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20406 PyObject
* obj2
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self",(char *) "self",(char *) "_class", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 Py_INCREF(Py_None
); resultobj
= Py_None
;
20430 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
;
20432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20433 wxColour
*arg2
= 0 ;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self",(char *) "col", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20465 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20468 wxColour
*arg2
= 0 ;
20471 PyObject
* obj0
= 0 ;
20472 PyObject
* obj1
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self",(char *) "col", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20482 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20500 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20504 wxListItem
*result
;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self",(char *) "col", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20514 arg2
= (int) SWIG_AsInt(obj1
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= wxPyMake_wxObject(result
);
20532 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20536 wxListItem
*arg3
= 0 ;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 PyObject
* obj2
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self",(char *) "col",(char *) "item", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20548 arg2
= (int) SWIG_AsInt(obj1
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20550 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20553 if (arg3
== NULL
) {
20554 PyErr_SetString(PyExc_TypeError
,"null reference");
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20573 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "col", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 arg2
= (int) SWIG_AsInt(obj1
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_FromInt((int)result
);
20603 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 PyObject
* obj2
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self",(char *) "col",(char *) "width", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 arg2
= (int) SWIG_AsInt(obj1
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20621 arg3
= (int) SWIG_AsInt(obj2
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20639 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= SWIG_FromInt((int)result
);
20665 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20685 wxRect
* resultptr
;
20686 resultptr
= new wxRect((wxRect
&) result
);
20687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20695 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20698 wxTextCtrl
*result
;
20699 PyObject
* obj0
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= wxPyMake_wxObject(result
);
20723 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20727 int arg3
= (int) 0 ;
20728 wxListItem
*result
;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 PyObject
* obj2
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self",(char *) "itemId",(char *) "col", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20739 arg2
= (long) SWIG_AsLong(obj1
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 arg3
= (int) SWIG_AsInt(obj2
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20753 resultobj
= wxPyMake_wxObject(result
);
20761 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20764 wxListItem
*arg2
= 0 ;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self",(char *) "info", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20778 if (arg2
== NULL
) {
20779 PyErr_SetString(PyExc_TypeError
,"null reference");
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (bool)(arg1
)->SetItem(*arg2
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20798 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20803 wxString
*arg4
= 0 ;
20804 int arg5
= (int) -1 ;
20806 bool temp4
= False
;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20809 PyObject
* obj2
= 0 ;
20810 PyObject
* obj3
= 0 ;
20811 PyObject
* obj4
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20819 arg2
= (long) SWIG_AsLong(obj1
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20821 arg3
= (int) SWIG_AsInt(obj2
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 arg4
= wxString_in_helper(obj3
);
20825 if (arg4
== NULL
) SWIG_fail
;
20829 arg5
= (int) SWIG_AsInt(obj4
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_FromLong((long)result
);
20854 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20862 PyObject
* obj2
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20870 arg2
= (long) SWIG_AsLong(obj1
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20872 arg3
= (long) SWIG_AsLong(obj2
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= SWIG_FromInt((int)result
);
20888 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20895 PyObject
* obj0
= 0 ;
20896 PyObject
* obj1
= 0 ;
20897 PyObject
* obj2
= 0 ;
20898 PyObject
* obj3
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20906 arg2
= (long) SWIG_AsLong(obj1
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20908 arg3
= (long) SWIG_AsLong(obj2
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20910 arg4
= (long) SWIG_AsLong(obj3
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20928 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 PyObject
* obj2
= 0 ;
20938 PyObject
* obj3
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20946 arg2
= (long) SWIG_AsLong(obj1
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20948 arg3
= (int) SWIG_AsInt(obj2
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20950 arg4
= (int) SWIG_AsInt(obj3
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20968 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self",(char *) "item", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20982 arg2
= (long) SWIG_AsLong(obj1
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21004 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21008 wxString
*arg3
= 0 ;
21009 bool temp3
= False
;
21010 PyObject
* obj0
= 0 ;
21011 PyObject
* obj1
= 0 ;
21012 PyObject
* obj2
= 0 ;
21013 char *kwnames
[] = {
21014 (char *) "self",(char *) "item",(char *) "str", NULL
21017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21020 arg2
= (long) SWIG_AsLong(obj1
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 arg3
= wxString_in_helper(obj2
);
21024 if (arg3
== NULL
) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 Py_INCREF(Py_None
); resultobj
= Py_None
;
21049 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "item", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21063 arg2
= (long) SWIG_AsLong(obj1
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= SWIG_FromLong((long)result
);
21079 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 PyObject
* obj2
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self",(char *) "item",(char *) "data", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 arg2
= (long) SWIG_AsLong(obj1
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21097 arg3
= (long) SWIG_AsLong(obj2
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21103 wxPyEndAllowThreads(__tstate
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21115 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21122 char *kwnames
[] = {
21123 (char *) "self",(char *) "item", NULL
21126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21129 arg2
= (long) SWIG_AsLong(obj1
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 wxPoint
* resultptr
;
21140 resultptr
= new wxPoint((wxPoint
&) result
);
21141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21149 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21153 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21155 PyObject
* obj0
= 0 ;
21156 PyObject
* obj1
= 0 ;
21157 PyObject
* obj2
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self",(char *) "item",(char *) "code", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 arg2
= (long) SWIG_AsLong(obj1
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 arg3
= (int) SWIG_AsInt(obj2
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 wxRect
* resultptr
;
21180 resultptr
= new wxRect((wxRect
&) result
);
21181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21189 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21193 wxPoint
*arg3
= 0 ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 PyObject
* obj2
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self",(char *) "item",(char *) "pos", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21206 arg2
= (long) SWIG_AsLong(obj1
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21228 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21232 PyObject
* obj0
= 0 ;
21233 char *kwnames
[] = {
21234 (char *) "self", NULL
21237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_FromInt((int)result
);
21254 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21258 PyObject
* obj0
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "self", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21273 resultobj
= SWIG_FromInt((int)result
);
21280 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21300 wxSize
* resultptr
;
21301 resultptr
= new wxSize((wxSize
&) result
);
21302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21310 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_FromInt((int)result
);
21336 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 wxColour
* resultptr
;
21357 resultptr
= new wxColour((wxColour
&) result
);
21358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21366 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21369 wxColour
*arg2
= 0 ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self",(char *) "col", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21382 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 Py_INCREF(Py_None
); resultobj
= Py_None
;
21398 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_FromLong((long)result
);
21424 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21428 bool arg3
= (bool) True
;
21429 PyObject
* obj0
= 0 ;
21430 PyObject
* obj1
= 0 ;
21431 PyObject
* obj2
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self",(char *) "style",(char *) "add", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 arg2
= (long) SWIG_AsLong(obj1
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 arg3
= (bool) SWIG_AsBool(obj2
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 (arg1
)->SetSingleStyle(arg2
,arg3
);
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 Py_INCREF(Py_None
); resultobj
= Py_None
;
21459 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
;
21461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21463 PyObject
* obj0
= 0 ;
21464 PyObject
* obj1
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self",(char *) "style", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 arg2
= (long) SWIG_AsLong(obj1
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 (arg1
)->SetWindowStyleFlag(arg2
);
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 Py_INCREF(Py_None
); resultobj
= Py_None
;
21488 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21492 int arg3
= (int) wxLIST_NEXT_ALL
;
21493 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21495 PyObject
* obj0
= 0 ;
21496 PyObject
* obj1
= 0 ;
21497 PyObject
* obj2
= 0 ;
21498 PyObject
* obj3
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21506 arg2
= (long) SWIG_AsLong(obj1
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 arg3
= (int) SWIG_AsInt(obj2
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21513 arg4
= (int) SWIG_AsInt(obj3
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= SWIG_FromLong((long)result
);
21530 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21534 wxImageList
*result
;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "which", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21544 arg2
= (int) SWIG_AsInt(obj1
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21554 resultobj
= wxPyMake_wxObject(result
);
21562 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21565 wxImageList
*arg2
= (wxImageList
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 PyObject
* obj1
= 0 ;
21569 PyObject
* obj2
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "imageList",(char *) "which", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21579 arg3
= (int) SWIG_AsInt(obj2
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 (arg1
)->SetImageList(arg2
,arg3
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 Py_INCREF(Py_None
); resultobj
= Py_None
;
21595 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21598 wxImageList
*arg2
= (wxImageList
*) 0 ;
21600 PyObject
* obj0
= 0 ;
21601 PyObject
* obj1
= 0 ;
21602 PyObject
* obj2
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self",(char *) "imageList",(char *) "which", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21611 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21612 arg3
= (int) SWIG_AsInt(obj2
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 (arg1
)->AssignImageList(arg2
,arg3
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 Py_INCREF(Py_None
); resultobj
= Py_None
;
21628 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21632 PyObject
* obj0
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21656 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21684 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "self",(char *) "item", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 arg2
= (long) SWIG_AsLong(obj1
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 (arg1
)->RefreshItem(arg2
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 Py_INCREF(Py_None
); resultobj
= Py_None
;
21713 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 PyObject
* obj2
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 arg2
= (long) SWIG_AsLong(obj1
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21730 arg3
= (long) SWIG_AsLong(obj2
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 (arg1
)->RefreshItems(arg2
,arg3
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 Py_INCREF(Py_None
); resultobj
= Py_None
;
21746 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21749 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self",(char *) "flag", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 arg2
= (int) SWIG_AsInt(obj1
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (bool)(arg1
)->Arrange(arg2
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21780 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
;
21782 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21785 PyObject
* obj0
= 0 ;
21786 PyObject
* obj1
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "self",(char *) "item", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21794 arg2
= (long) SWIG_AsLong(obj1
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 result
= (bool)(arg1
)->DeleteItem(arg2
);
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21812 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= (bool)(arg1
)->DeleteAllItems();
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21840 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "col", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",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
= (int) SWIG_AsInt(obj1
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21872 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21876 PyObject
* obj0
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (bool)(arg1
)->DeleteAllColumns();
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21900 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 (arg1
)->ClearAll();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 Py_INCREF(Py_None
); resultobj
= Py_None
;
21925 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21929 wxTextCtrl
*result
;
21930 PyObject
* obj0
= 0 ;
21931 PyObject
* obj1
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self",(char *) "item", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21939 arg2
= (long) SWIG_AsLong(obj1
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= wxPyMake_wxObject(result
);
21957 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
;
21959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21962 PyObject
* obj0
= 0 ;
21963 PyObject
* obj1
= 0 ;
21964 char *kwnames
[] = {
21965 (char *) "self",(char *) "cancel", NULL
21968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21971 arg2
= (bool) SWIG_AsBool(obj1
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21989 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self",(char *) "item", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22003 arg2
= (long) SWIG_AsLong(obj1
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22021 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22025 wxString
*arg3
= 0 ;
22026 bool arg4
= (bool) False
;
22028 bool temp3
= False
;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 PyObject
* obj2
= 0 ;
22032 PyObject
* obj3
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 arg2
= (long) SWIG_AsLong(obj1
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 arg3
= wxString_in_helper(obj2
);
22044 if (arg3
== NULL
) SWIG_fail
;
22048 arg4
= (bool) SWIG_AsBool(obj3
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= SWIG_FromLong((long)result
);
22073 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 PyObject
* obj2
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self",(char *) "start",(char *) "data", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 arg2
= (long) SWIG_AsLong(obj1
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22091 arg3
= (long) SWIG_AsLong(obj2
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= SWIG_FromLong((long)result
);
22107 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22111 wxPoint
*arg3
= 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 PyObject
* obj2
= 0 ;
22118 PyObject
* obj3
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 arg2
= (long) SWIG_AsLong(obj1
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22132 arg4
= (int) SWIG_AsInt(obj3
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 resultobj
= SWIG_FromLong((long)result
);
22148 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22151 wxPoint
*arg2
= 0 ;
22156 PyObject
* obj0
= 0 ;
22157 PyObject
* obj1
= 0 ;
22158 char *kwnames
[] = {
22159 (char *) "self",(char *) "point", NULL
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22168 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_FromLong((long)result
);
22179 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22180 resultobj
= t_output_helper(resultobj
,o
);
22188 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22191 wxListItem
*arg2
= 0 ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self",(char *) "info", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22205 if (arg2
== NULL
) {
22206 PyErr_SetString(PyExc_TypeError
,"null reference");
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 result
= (long)(arg1
)->InsertItem(*arg2
);
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= SWIG_FromLong((long)result
);
22223 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22227 wxString
*arg3
= 0 ;
22229 bool temp3
= False
;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 PyObject
* obj2
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self",(char *) "index",(char *) "label", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22240 arg2
= (long) SWIG_AsLong(obj1
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 arg3
= wxString_in_helper(obj2
);
22244 if (arg3
== NULL
) SWIG_fail
;
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= SWIG_FromLong((long)result
);
22269 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 PyObject
* obj2
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22285 arg2
= (long) SWIG_AsLong(obj1
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22287 arg3
= (int) SWIG_AsInt(obj2
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_FromLong((long)result
);
22303 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22307 wxString
*arg3
= 0 ;
22310 bool temp3
= False
;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 PyObject
* obj2
= 0 ;
22314 PyObject
* obj3
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22322 arg2
= (long) SWIG_AsLong(obj1
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 arg3
= wxString_in_helper(obj2
);
22326 if (arg3
== NULL
) SWIG_fail
;
22329 arg4
= (int) SWIG_AsInt(obj3
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22338 resultobj
= SWIG_FromLong((long)result
);
22353 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22357 wxListItem
*arg3
= 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 PyObject
* obj2
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self",(char *) "col",(char *) "info", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 arg2
= (long) SWIG_AsLong(obj1
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22371 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22374 if (arg3
== NULL
) {
22375 PyErr_SetString(PyExc_TypeError
,"null reference");
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_FromLong((long)result
);
22392 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22393 PyObject
*resultobj
;
22394 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22396 wxString
*arg3
= 0 ;
22397 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22398 int arg5
= (int) -1 ;
22400 bool temp3
= False
;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 PyObject
* obj2
= 0 ;
22404 PyObject
* obj3
= 0 ;
22405 PyObject
* obj4
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22413 arg2
= (long) SWIG_AsLong(obj1
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 arg3
= wxString_in_helper(obj2
);
22417 if (arg3
== NULL
) SWIG_fail
;
22421 arg4
= (int) SWIG_AsInt(obj3
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 arg5
= (int) SWIG_AsInt(obj4
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= SWIG_FromLong((long)result
);
22450 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self",(char *) "count", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22463 arg2
= (long) SWIG_AsLong(obj1
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 (arg1
)->SetItemCount(arg2
);
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 Py_INCREF(Py_None
); resultobj
= Py_None
;
22479 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22487 PyObject
* obj2
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self",(char *) "dx",(char *) "dy", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22495 arg2
= (int) SWIG_AsInt(obj1
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22497 arg3
= (int) SWIG_AsInt(obj2
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22515 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22519 wxColour
*arg3
= 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 PyObject
* obj2
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self",(char *) "item",(char *) "col", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22531 arg2
= (long) SWIG_AsLong(obj1
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22535 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 Py_INCREF(Py_None
); resultobj
= Py_None
;
22551 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self",(char *) "item", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22565 arg2
= (long) SWIG_AsLong(obj1
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 wxColour
* resultptr
;
22576 resultptr
= new wxColour((wxColour
&) result
);
22577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22585 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22589 wxColour
*arg3
= 0 ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 PyObject
* obj2
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "item",(char *) "col", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 arg2
= (long) SWIG_AsLong(obj1
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22605 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 char *kwnames
[] = {
22629 (char *) "self",(char *) "item", NULL
22632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22635 arg2
= (long) SWIG_AsLong(obj1
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 wxColour
* resultptr
;
22646 resultptr
= new wxColour((wxColour
&) result
);
22647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22655 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22658 PyObject
*arg2
= (PyObject
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self",(char *) "func", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22686 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22706 resultobj
= wxPyMake_wxObject(result
);
22714 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22717 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22719 return Py_BuildValue((char *)"");
22721 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxWindow
*arg1
= (wxWindow
*) 0 ;
22724 int arg2
= (int) -1 ;
22725 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22726 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22727 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22728 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22729 long arg5
= (long) wxLC_REPORT
;
22730 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22731 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22732 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22733 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22734 wxListView
*result
;
22737 bool temp7
= False
;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 PyObject
* obj2
= 0 ;
22741 PyObject
* obj3
= 0 ;
22742 PyObject
* obj4
= 0 ;
22743 PyObject
* obj5
= 0 ;
22744 PyObject
* obj6
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22753 arg2
= (int) SWIG_AsInt(obj1
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22765 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22769 arg5
= (long) SWIG_AsLong(obj4
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22776 if (arg6
== NULL
) {
22777 PyErr_SetString(PyExc_TypeError
,"null reference");
22783 arg7
= wxString_in_helper(obj6
);
22784 if (arg7
== NULL
) SWIG_fail
;
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22810 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22811 PyObject
*resultobj
;
22812 wxListView
*result
;
22813 char *kwnames
[] = {
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= (wxListView
*)new wxListView();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22832 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
;
22834 wxListView
*arg1
= (wxListView
*) 0 ;
22835 wxWindow
*arg2
= (wxWindow
*) 0 ;
22836 int arg3
= (int) -1 ;
22837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22841 long arg6
= (long) wxLC_REPORT
;
22842 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22843 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22844 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22845 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22849 bool temp8
= False
;
22850 PyObject
* obj0
= 0 ;
22851 PyObject
* obj1
= 0 ;
22852 PyObject
* obj2
= 0 ;
22853 PyObject
* obj3
= 0 ;
22854 PyObject
* obj4
= 0 ;
22855 PyObject
* obj5
= 0 ;
22856 PyObject
* obj6
= 0 ;
22857 PyObject
* obj7
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22868 arg3
= (int) SWIG_AsInt(obj2
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22874 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22880 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22884 arg6
= (long) SWIG_AsLong(obj5
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22888 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22891 if (arg7
== NULL
) {
22892 PyErr_SetString(PyExc_TypeError
,"null reference");
22898 arg8
= wxString_in_helper(obj7
);
22899 if (arg8
== NULL
) SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22927 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
;
22929 wxListView
*arg1
= (wxListView
*) 0 ;
22931 bool arg3
= (bool) True
;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 PyObject
* obj2
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self",(char *) "n",(char *) "on", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22942 arg2
= (long) SWIG_AsLong(obj1
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 arg3
= (bool) SWIG_AsBool(obj2
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->Select(arg2
,arg3
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 Py_INCREF(Py_None
); resultobj
= Py_None
;
22962 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxListView
*arg1
= (wxListView
*) 0 ;
22966 PyObject
* obj0
= 0 ;
22967 PyObject
* obj1
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self",(char *) "index", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22975 arg2
= (long) SWIG_AsLong(obj1
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 (arg1
)->Focus(arg2
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 Py_INCREF(Py_None
); resultobj
= Py_None
;
22991 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxListView
*arg1
= (wxListView
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_FromLong((long)result
);
23017 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
;
23019 wxListView
*arg1
= (wxListView
*) 0 ;
23022 PyObject
* obj0
= 0 ;
23023 PyObject
* obj1
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "self",(char *) "item", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23031 arg2
= (long) SWIG_AsLong(obj1
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_FromLong((long)result
);
23047 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxListView
*arg1
= (wxListView
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= SWIG_FromLong((long)result
);
23073 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxListView
*arg1
= (wxListView
*) 0 ;
23078 PyObject
* obj0
= 0 ;
23079 PyObject
* obj1
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self",(char *) "index", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23087 arg2
= (long) SWIG_AsLong(obj1
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 result
= (bool)(arg1
)->IsSelected(arg2
);
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23105 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
;
23107 wxListView
*arg1
= (wxListView
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 PyObject
* obj1
= 0 ;
23112 PyObject
* obj2
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self",(char *) "col",(char *) "image", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23120 arg2
= (int) SWIG_AsInt(obj1
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23122 arg3
= (int) SWIG_AsInt(obj2
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 (arg1
)->SetColumnImage(arg2
,arg3
);
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 Py_INCREF(Py_None
); resultobj
= Py_None
;
23138 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxListView
*arg1
= (wxListView
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 PyObject
* obj1
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "self",(char *) "col", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23151 arg2
= (int) SWIG_AsInt(obj1
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 (arg1
)->ClearColumnImage(arg2
);
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 Py_INCREF(Py_None
); resultobj
= Py_None
;
23167 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23170 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23172 return Py_BuildValue((char *)"");
23174 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23175 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23180 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23185 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23187 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23194 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxTreeItemId
*result
;
23197 char *kwnames
[] = {
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= (wxTreeItemId
*)new wxTreeItemId();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23216 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23219 PyObject
* obj0
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "self", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 wxPyEndAllowThreads(__tstate
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23234 Py_INCREF(Py_None
); resultobj
= Py_None
;
23241 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
;
23243 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23245 PyObject
* obj0
= 0 ;
23246 char *kwnames
[] = {
23247 (char *) "self", NULL
23250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23269 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23272 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23274 PyObject
* obj0
= 0 ;
23275 PyObject
* obj1
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self",(char *) "other", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23301 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23304 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 char *kwnames
[] = {
23309 (char *) "self",(char *) "other", NULL
23312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23333 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
;
23335 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23336 void *arg2
= (void *) 0 ;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 char *kwnames
[] = {
23340 (char *) "self",(char *) "m_pItem", NULL
23343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23346 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23347 if (arg1
) (arg1
)->m_pItem
= arg2
;
23349 Py_INCREF(Py_None
); resultobj
= Py_None
;
23356 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23368 result
= (void *) ((arg1
)->m_pItem
);
23370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23377 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23380 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23382 return Py_BuildValue((char *)"");
23384 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 PyObject
*arg1
= (PyObject
*) NULL
;
23387 wxPyTreeItemData
*result
;
23388 PyObject
* obj0
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "obj", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23411 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
;
23413 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23415 PyObject
* obj0
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= (PyObject
*)(arg1
)->GetData();
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 resultobj
= result
;
23437 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23440 PyObject
*arg2
= (PyObject
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self",(char *) "obj", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 (arg1
)->SetData(arg2
);
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 Py_INCREF(Py_None
); resultobj
= Py_None
;
23465 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23468 wxTreeItemId
*result
;
23469 PyObject
* obj0
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23481 result
= (wxTreeItemId
*) &_result_ref
;
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23494 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
;
23496 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23497 wxTreeItemId
*arg2
= 0 ;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self",(char *) "id", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23510 if (arg2
== NULL
) {
23511 PyErr_SetString(PyExc_TypeError
,"null reference");
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 Py_INCREF(Py_None
); resultobj
= Py_None
;
23528 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23531 PyObject
* obj0
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "self", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 wxPyTreeItemData_Destroy(arg1
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 Py_INCREF(Py_None
); resultobj
= Py_None
;
23553 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23556 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23558 return Py_BuildValue((char *)"");
23560 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23563 int arg2
= (int) 0 ;
23564 wxTreeEvent
*result
;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "commandType",(char *) "id", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23573 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23577 arg2
= (int) SWIG_AsInt(obj1
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23594 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23597 wxTreeItemId result
;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 wxTreeItemId
* resultptr
;
23615 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23624 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23627 wxTreeItemId
*arg2
= 0 ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self",(char *) "item", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23640 if (arg2
== NULL
) {
23641 PyErr_SetString(PyExc_TypeError
,"null reference");
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 Py_INCREF(Py_None
); resultobj
= Py_None
;
23658 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23661 wxTreeItemId result
;
23662 PyObject
* obj0
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 wxTreeItemId
* resultptr
;
23679 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23688 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23691 wxTreeItemId
*arg2
= 0 ;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "item", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23704 if (arg2
== NULL
) {
23705 PyErr_SetString(PyExc_TypeError
,"null reference");
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 Py_INCREF(Py_None
); resultobj
= Py_None
;
23722 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23726 PyObject
* obj0
= 0 ;
23727 char *kwnames
[] = {
23728 (char *) "self", NULL
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23742 wxPoint
* resultptr
;
23743 resultptr
= new wxPoint((wxPoint
&) result
);
23744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23752 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23755 wxPoint
*arg2
= 0 ;
23757 PyObject
* obj0
= 0 ;
23758 PyObject
* obj1
= 0 ;
23759 char *kwnames
[] = {
23760 (char *) "self",(char *) "pt", NULL
23763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 Py_INCREF(Py_None
); resultobj
= Py_None
;
23784 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23787 wxKeyEvent
*result
;
23788 PyObject
* obj0
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23800 result
= (wxKeyEvent
*) &_result_ref
;
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23813 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 char *kwnames
[] = {
23819 (char *) "self", NULL
23822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= SWIG_FromInt((int)result
);
23839 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23842 wxKeyEvent
*arg2
= 0 ;
23843 PyObject
* obj0
= 0 ;
23844 PyObject
* obj1
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "self",(char *) "evt", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23855 if (arg2
== NULL
) {
23856 PyErr_SetString(PyExc_TypeError
,"null reference");
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 Py_INCREF(Py_None
); resultobj
= Py_None
;
23873 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
;
23875 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23877 PyObject
* obj0
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23889 result
= (wxString
*) &_result_ref
;
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23899 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23908 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23911 wxString
*arg2
= 0 ;
23912 bool temp2
= False
;
23913 PyObject
* obj0
= 0 ;
23914 PyObject
* obj1
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self",(char *) "label", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23923 arg2
= wxString_in_helper(obj1
);
23924 if (arg2
== NULL
) SWIG_fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 (arg1
)->SetLabel((wxString
const &)*arg2
);
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 Py_INCREF(Py_None
); resultobj
= Py_None
;
23949 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23953 PyObject
* obj0
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23977 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self",(char *) "editCancelled", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 arg2
= (bool) SWIG_AsBool(obj1
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 (arg1
)->SetEditCanceled(arg2
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 Py_INCREF(Py_None
); resultobj
= Py_None
;
24006 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24009 wxString
*arg2
= 0 ;
24010 bool temp2
= False
;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 char *kwnames
[] = {
24014 (char *) "self",(char *) "toolTip", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 arg2
= wxString_in_helper(obj1
);
24022 if (arg2
== NULL
) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 Py_INCREF(Py_None
); resultobj
= Py_None
;
24047 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24050 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24052 return Py_BuildValue((char *)"");
24054 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxWindow
*arg1
= (wxWindow
*) 0 ;
24057 int arg2
= (int) -1 ;
24058 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24059 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24060 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24061 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24062 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24063 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24064 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24065 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24067 wxPyTreeCtrl
*result
;
24070 bool temp7
= False
;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 PyObject
* obj2
= 0 ;
24074 PyObject
* obj3
= 0 ;
24075 PyObject
* obj4
= 0 ;
24076 PyObject
* obj5
= 0 ;
24077 PyObject
* obj6
= 0 ;
24078 char *kwnames
[] = {
24079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24086 arg2
= (int) SWIG_AsInt(obj1
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24092 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24098 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24102 arg5
= (long) SWIG_AsLong(obj4
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24106 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24109 if (arg6
== NULL
) {
24110 PyErr_SetString(PyExc_TypeError
,"null reference");
24116 arg7
= wxString_in_helper(obj6
);
24117 if (arg7
== NULL
) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= wxPyMake_wxObject(result
);
24145 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24147 wxPyTreeCtrl
*result
;
24148 char *kwnames
[] = {
24152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= wxPyMake_wxObject(result
);
24169 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24172 wxWindow
*arg2
= (wxWindow
*) 0 ;
24173 int arg3
= (int) -1 ;
24174 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24175 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24176 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24177 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24178 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24179 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24180 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24181 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24182 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24186 bool temp8
= False
;
24187 PyObject
* obj0
= 0 ;
24188 PyObject
* obj1
= 0 ;
24189 PyObject
* obj2
= 0 ;
24190 PyObject
* obj3
= 0 ;
24191 PyObject
* obj4
= 0 ;
24192 PyObject
* obj5
= 0 ;
24193 PyObject
* obj6
= 0 ;
24194 PyObject
* obj7
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 arg3
= (int) SWIG_AsInt(obj2
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24211 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24217 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24221 arg6
= (long) SWIG_AsLong(obj5
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24225 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24228 if (arg7
== NULL
) {
24229 PyErr_SetString(PyExc_TypeError
,"null reference");
24235 arg8
= wxString_in_helper(obj7
);
24236 if (arg8
== NULL
) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24264 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24267 PyObject
*arg2
= (PyObject
*) 0 ;
24268 PyObject
*arg3
= (PyObject
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 PyObject
* obj2
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self",(char *) "self",(char *) "_class", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 Py_INCREF(Py_None
); resultobj
= Py_None
;
24295 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24321 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24324 unsigned int result
;
24325 PyObject
* obj0
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24347 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
;
24349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24350 unsigned int arg2
;
24351 PyObject
* obj0
= 0 ;
24352 PyObject
* obj1
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "self",(char *) "indent", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24360 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 (arg1
)->SetIndent(arg2
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 Py_INCREF(Py_None
); resultobj
= Py_None
;
24376 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24379 unsigned int result
;
24380 PyObject
* obj0
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24402 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24405 unsigned int arg2
;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self",(char *) "spacing", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24415 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 (arg1
)->SetSpacing(arg2
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 Py_INCREF(Py_None
); resultobj
= Py_None
;
24431 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24434 wxImageList
*result
;
24435 PyObject
* obj0
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= wxPyMake_wxObject(result
);
24459 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24462 wxImageList
*result
;
24463 PyObject
* obj0
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= wxPyMake_wxObject(result
);
24487 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24490 wxImageList
*arg2
= (wxImageList
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "imageList", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 (arg1
)->SetImageList(arg2
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24509 Py_INCREF(Py_None
); resultobj
= Py_None
;
24516 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24519 wxImageList
*arg2
= (wxImageList
*) 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "imageList", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 (arg1
)->SetStateImageList(arg2
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 Py_INCREF(Py_None
); resultobj
= Py_None
;
24545 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
;
24547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24548 wxImageList
*arg2
= (wxImageList
*) 0 ;
24549 PyObject
* obj0
= 0 ;
24550 PyObject
* obj1
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "self",(char *) "imageList", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24559 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 (arg1
)->AssignImageList(arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 Py_INCREF(Py_None
); resultobj
= Py_None
;
24574 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24577 wxImageList
*arg2
= (wxImageList
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self",(char *) "imageList", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24588 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 (arg1
)->AssignStateImageList(arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 Py_INCREF(Py_None
); resultobj
= Py_None
;
24603 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24606 wxTreeItemId
*arg2
= 0 ;
24608 PyObject
* obj0
= 0 ;
24609 PyObject
* obj1
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self",(char *) "item", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24620 if (arg2
== NULL
) {
24621 PyErr_SetString(PyExc_TypeError
,"null reference");
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24644 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24647 wxTreeItemId
*arg2
= 0 ;
24648 int arg3
= (int) wxTreeItemIcon_Normal
;
24650 PyObject
* obj0
= 0 ;
24651 PyObject
* obj1
= 0 ;
24652 PyObject
* obj2
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self",(char *) "item",(char *) "which", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24663 if (arg2
== NULL
) {
24664 PyErr_SetString(PyExc_TypeError
,"null reference");
24668 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= SWIG_FromInt((int)result
);
24685 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24688 wxTreeItemId
*arg2
= 0 ;
24689 wxPyTreeItemData
*result
;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "item", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24702 if (arg2
== NULL
) {
24703 PyErr_SetString(PyExc_TypeError
,"null reference");
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24720 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24723 wxTreeItemId
*arg2
= 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self",(char *) "item", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24737 if (arg2
== NULL
) {
24738 PyErr_SetString(PyExc_TypeError
,"null reference");
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= result
;
24755 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
;
24757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24758 wxTreeItemId
*arg2
= 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self",(char *) "item", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24772 if (arg2
== NULL
) {
24773 PyErr_SetString(PyExc_TypeError
,"null reference");
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24784 wxColour
* resultptr
;
24785 resultptr
= new wxColour((wxColour
&) result
);
24786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24794 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24797 wxTreeItemId
*arg2
= 0 ;
24799 PyObject
* obj0
= 0 ;
24800 PyObject
* obj1
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self",(char *) "item", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24811 if (arg2
== NULL
) {
24812 PyErr_SetString(PyExc_TypeError
,"null reference");
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 wxColour
* resultptr
;
24824 resultptr
= new wxColour((wxColour
&) result
);
24825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24833 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24836 wxTreeItemId
*arg2
= 0 ;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "item", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24850 if (arg2
== NULL
) {
24851 PyErr_SetString(PyExc_TypeError
,"null reference");
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 wxFont
* resultptr
;
24863 resultptr
= new wxFont((wxFont
&) result
);
24864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24872 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
;
24874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24875 wxTreeItemId
*arg2
= 0 ;
24876 wxString
*arg3
= 0 ;
24877 bool temp3
= False
;
24878 PyObject
* obj0
= 0 ;
24879 PyObject
* obj1
= 0 ;
24880 PyObject
* obj2
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "self",(char *) "item",(char *) "text", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24891 if (arg2
== NULL
) {
24892 PyErr_SetString(PyExc_TypeError
,"null reference");
24896 arg3
= wxString_in_helper(obj2
);
24897 if (arg3
== NULL
) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 Py_INCREF(Py_None
); resultobj
= Py_None
;
24922 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
;
24924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24925 wxTreeItemId
*arg2
= 0 ;
24927 int arg4
= (int) wxTreeItemIcon_Normal
;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 PyObject
* obj2
= 0 ;
24931 PyObject
* obj3
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24942 if (arg2
== NULL
) {
24943 PyErr_SetString(PyExc_TypeError
,"null reference");
24946 arg3
= (int) SWIG_AsInt(obj2
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 Py_INCREF(Py_None
); resultobj
= Py_None
;
24966 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
;
24968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24969 wxTreeItemId
*arg2
= 0 ;
24970 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 PyObject
* obj2
= 0 ;
24974 char *kwnames
[] = {
24975 (char *) "self",(char *) "item",(char *) "data", NULL
24978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24984 if (arg2
== NULL
) {
24985 PyErr_SetString(PyExc_TypeError
,"null reference");
24988 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 Py_INCREF(Py_None
); resultobj
= Py_None
;
25004 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
;
25006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25007 wxTreeItemId
*arg2
= 0 ;
25008 PyObject
*arg3
= (PyObject
*) 0 ;
25009 PyObject
* obj0
= 0 ;
25010 PyObject
* obj1
= 0 ;
25011 PyObject
* obj2
= 0 ;
25012 char *kwnames
[] = {
25013 (char *) "self",(char *) "item",(char *) "obj", NULL
25016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25022 if (arg2
== NULL
) {
25023 PyErr_SetString(PyExc_TypeError
,"null reference");
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 Py_INCREF(Py_None
); resultobj
= Py_None
;
25041 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
;
25043 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25044 wxTreeItemId
*arg2
= 0 ;
25045 bool arg3
= (bool) True
;
25046 PyObject
* obj0
= 0 ;
25047 PyObject
* obj1
= 0 ;
25048 PyObject
* obj2
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self",(char *) "item",(char *) "has", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25059 if (arg2
== NULL
) {
25060 PyErr_SetString(PyExc_TypeError
,"null reference");
25064 arg3
= (bool) SWIG_AsBool(obj2
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 Py_INCREF(Py_None
); resultobj
= Py_None
;
25081 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25084 wxTreeItemId
*arg2
= 0 ;
25085 bool arg3
= (bool) True
;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 PyObject
* obj2
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "self",(char *) "item",(char *) "bold", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25099 if (arg2
== NULL
) {
25100 PyErr_SetString(PyExc_TypeError
,"null reference");
25104 arg3
= (bool) SWIG_AsBool(obj2
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 Py_INCREF(Py_None
); resultobj
= Py_None
;
25121 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25124 wxTreeItemId
*arg2
= 0 ;
25125 bool arg3
= (bool) True
;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 PyObject
* obj2
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self",(char *) "item",(char *) "highlight", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25139 if (arg2
== NULL
) {
25140 PyErr_SetString(PyExc_TypeError
,"null reference");
25144 arg3
= (bool) SWIG_AsBool(obj2
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25154 Py_INCREF(Py_None
); resultobj
= Py_None
;
25161 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25162 PyObject
*resultobj
;
25163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25164 wxTreeItemId
*arg2
= 0 ;
25165 wxColour
*arg3
= 0 ;
25167 PyObject
* obj0
= 0 ;
25168 PyObject
* obj1
= 0 ;
25169 PyObject
* obj2
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self",(char *) "item",(char *) "col", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25180 if (arg2
== NULL
) {
25181 PyErr_SetString(PyExc_TypeError
,"null reference");
25186 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 Py_INCREF(Py_None
); resultobj
= Py_None
;
25202 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25205 wxTreeItemId
*arg2
= 0 ;
25206 wxColour
*arg3
= 0 ;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 PyObject
* obj2
= 0 ;
25211 char *kwnames
[] = {
25212 (char *) "self",(char *) "item",(char *) "col", NULL
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25221 if (arg2
== NULL
) {
25222 PyErr_SetString(PyExc_TypeError
,"null reference");
25227 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 Py_INCREF(Py_None
); resultobj
= Py_None
;
25243 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25246 wxTreeItemId
*arg2
= 0 ;
25248 PyObject
* obj0
= 0 ;
25249 PyObject
* obj1
= 0 ;
25250 PyObject
* obj2
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "item",(char *) "font", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25261 if (arg2
== NULL
) {
25262 PyErr_SetString(PyExc_TypeError
,"null reference");
25265 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25268 if (arg3
== NULL
) {
25269 PyErr_SetString(PyExc_TypeError
,"null reference");
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 Py_INCREF(Py_None
); resultobj
= Py_None
;
25286 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25289 wxTreeItemId
*arg2
= 0 ;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "item", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25303 if (arg2
== NULL
) {
25304 PyErr_SetString(PyExc_TypeError
,"null reference");
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25323 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25326 wxTreeItemId
*arg2
= 0 ;
25328 PyObject
* obj0
= 0 ;
25329 PyObject
* obj1
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self",(char *) "item", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25340 if (arg2
== NULL
) {
25341 PyErr_SetString(PyExc_TypeError
,"null reference");
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25360 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
;
25362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25363 wxTreeItemId
*arg2
= 0 ;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self",(char *) "item", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25377 if (arg2
== NULL
) {
25378 PyErr_SetString(PyExc_TypeError
,"null reference");
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25397 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
;
25399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25400 wxTreeItemId
*arg2
= 0 ;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 char *kwnames
[] = {
25405 (char *) "self",(char *) "item", NULL
25408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25414 if (arg2
== NULL
) {
25415 PyErr_SetString(PyExc_TypeError
,"null reference");
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25434 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25437 wxTreeItemId
*arg2
= 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self",(char *) "item", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25451 if (arg2
== NULL
) {
25452 PyErr_SetString(PyExc_TypeError
,"null reference");
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25471 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25474 wxTreeItemId
*arg2
= 0 ;
25475 bool arg3
= (bool) True
;
25477 PyObject
* obj0
= 0 ;
25478 PyObject
* obj1
= 0 ;
25479 PyObject
* obj2
= 0 ;
25480 char *kwnames
[] = {
25481 (char *) "self",(char *) "item",(char *) "recursively", NULL
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25490 if (arg2
== NULL
) {
25491 PyErr_SetString(PyExc_TypeError
,"null reference");
25495 arg3
= (bool) SWIG_AsBool(obj2
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25512 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25515 wxTreeItemId result
;
25516 PyObject
* obj0
= 0 ;
25517 char *kwnames
[] = {
25518 (char *) "self", NULL
25521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25532 wxTreeItemId
* resultptr
;
25533 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25542 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25543 PyObject
*resultobj
;
25544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25545 wxTreeItemId result
;
25546 PyObject
* obj0
= 0 ;
25547 char *kwnames
[] = {
25548 (char *) "self", NULL
25551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25562 wxTreeItemId
* resultptr
;
25563 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25572 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25576 PyObject
* obj0
= 0 ;
25577 char *kwnames
[] = {
25578 (char *) "self", NULL
25581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 resultobj
= result
;
25598 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25601 wxTreeItemId
*arg2
= 0 ;
25602 wxTreeItemId result
;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self",(char *) "item", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25615 if (arg2
== NULL
) {
25616 PyErr_SetString(PyExc_TypeError
,"null reference");
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25627 wxTreeItemId
* resultptr
;
25628 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25637 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25640 wxTreeItemId
*arg2
= 0 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 char *kwnames
[] = {
25645 (char *) "self",(char *) "item", NULL
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25654 if (arg2
== NULL
) {
25655 PyErr_SetString(PyExc_TypeError
,"null reference");
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= result
;
25672 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25675 wxTreeItemId
*arg2
= 0 ;
25676 void *arg3
= (void *) 0 ;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 PyObject
* obj2
= 0 ;
25681 char *kwnames
[] = {
25682 (char *) "self",(char *) "item",(char *) "cookie", NULL
25685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25691 if (arg2
== NULL
) {
25692 PyErr_SetString(PyExc_TypeError
,"null reference");
25695 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 resultobj
= result
;
25710 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
;
25712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25713 wxTreeItemId
*arg2
= 0 ;
25714 wxTreeItemId result
;
25715 PyObject
* obj0
= 0 ;
25716 PyObject
* obj1
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "item", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25727 if (arg2
== NULL
) {
25728 PyErr_SetString(PyExc_TypeError
,"null reference");
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25739 wxTreeItemId
* resultptr
;
25740 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25749 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25752 wxTreeItemId
*arg2
= 0 ;
25753 wxTreeItemId result
;
25754 PyObject
* obj0
= 0 ;
25755 PyObject
* obj1
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self",(char *) "item", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25766 if (arg2
== NULL
) {
25767 PyErr_SetString(PyExc_TypeError
,"null reference");
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25778 wxTreeItemId
* resultptr
;
25779 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25788 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25791 wxTreeItemId
*arg2
= 0 ;
25792 wxTreeItemId result
;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 char *kwnames
[] = {
25796 (char *) "self",(char *) "item", NULL
25799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25805 if (arg2
== NULL
) {
25806 PyErr_SetString(PyExc_TypeError
,"null reference");
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 wxTreeItemId
* resultptr
;
25818 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25827 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25830 wxTreeItemId result
;
25831 PyObject
* obj0
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25847 wxTreeItemId
* resultptr
;
25848 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25857 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25860 wxTreeItemId
*arg2
= 0 ;
25861 wxTreeItemId result
;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 char *kwnames
[] = {
25865 (char *) "self",(char *) "item", NULL
25868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25874 if (arg2
== NULL
) {
25875 PyErr_SetString(PyExc_TypeError
,"null reference");
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 wxTreeItemId
* resultptr
;
25887 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25896 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25899 wxTreeItemId
*arg2
= 0 ;
25900 wxTreeItemId result
;
25901 PyObject
* obj0
= 0 ;
25902 PyObject
* obj1
= 0 ;
25903 char *kwnames
[] = {
25904 (char *) "self",(char *) "item", NULL
25907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25913 if (arg2
== NULL
) {
25914 PyErr_SetString(PyExc_TypeError
,"null reference");
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25925 wxTreeItemId
* resultptr
;
25926 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25935 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25938 wxString
*arg2
= 0 ;
25939 int arg3
= (int) -1 ;
25940 int arg4
= (int) -1 ;
25941 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25942 wxTreeItemId result
;
25943 bool temp2
= False
;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 PyObject
* obj2
= 0 ;
25947 PyObject
* obj3
= 0 ;
25948 PyObject
* obj4
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 arg2
= wxString_in_helper(obj1
);
25958 if (arg2
== NULL
) SWIG_fail
;
25962 arg3
= (int) SWIG_AsInt(obj2
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25966 arg4
= (int) SWIG_AsInt(obj3
);
25967 if (PyErr_Occurred()) SWIG_fail
;
25970 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25981 wxTreeItemId
* resultptr
;
25982 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25999 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
;
26001 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26002 wxTreeItemId
*arg2
= 0 ;
26003 wxString
*arg3
= 0 ;
26004 int arg4
= (int) -1 ;
26005 int arg5
= (int) -1 ;
26006 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26007 wxTreeItemId result
;
26008 bool temp3
= False
;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 PyObject
* obj2
= 0 ;
26012 PyObject
* obj3
= 0 ;
26013 PyObject
* obj4
= 0 ;
26014 PyObject
* obj5
= 0 ;
26015 char *kwnames
[] = {
26016 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26025 if (arg2
== NULL
) {
26026 PyErr_SetString(PyExc_TypeError
,"null reference");
26030 arg3
= wxString_in_helper(obj2
);
26031 if (arg3
== NULL
) SWIG_fail
;
26035 arg4
= (int) SWIG_AsInt(obj3
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26039 arg5
= (int) SWIG_AsInt(obj4
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26043 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26054 wxTreeItemId
* resultptr
;
26055 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26072 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26075 wxTreeItemId
*arg2
= 0 ;
26076 wxTreeItemId
*arg3
= 0 ;
26077 wxString
*arg4
= 0 ;
26078 int arg5
= (int) -1 ;
26079 int arg6
= (int) -1 ;
26080 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26081 wxTreeItemId result
;
26082 bool temp4
= False
;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 PyObject
* obj2
= 0 ;
26086 PyObject
* obj3
= 0 ;
26087 PyObject
* obj4
= 0 ;
26088 PyObject
* obj5
= 0 ;
26089 PyObject
* obj6
= 0 ;
26090 char *kwnames
[] = {
26091 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26100 if (arg2
== NULL
) {
26101 PyErr_SetString(PyExc_TypeError
,"null reference");
26104 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26107 if (arg3
== NULL
) {
26108 PyErr_SetString(PyExc_TypeError
,"null reference");
26112 arg4
= wxString_in_helper(obj3
);
26113 if (arg4
== NULL
) SWIG_fail
;
26117 arg5
= (int) SWIG_AsInt(obj4
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26121 arg6
= (int) SWIG_AsInt(obj5
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26125 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26136 wxTreeItemId
* resultptr
;
26137 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26154 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26157 wxTreeItemId
*arg2
= 0 ;
26159 wxString
*arg4
= 0 ;
26160 int arg5
= (int) -1 ;
26161 int arg6
= (int) -1 ;
26162 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26163 wxTreeItemId result
;
26164 bool temp4
= False
;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 PyObject
* obj2
= 0 ;
26168 PyObject
* obj3
= 0 ;
26169 PyObject
* obj4
= 0 ;
26170 PyObject
* obj5
= 0 ;
26171 PyObject
* obj6
= 0 ;
26172 char *kwnames
[] = {
26173 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26182 if (arg2
== NULL
) {
26183 PyErr_SetString(PyExc_TypeError
,"null reference");
26186 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 arg4
= wxString_in_helper(obj3
);
26190 if (arg4
== NULL
) SWIG_fail
;
26194 arg5
= (int) SWIG_AsInt(obj4
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26198 arg6
= (int) SWIG_AsInt(obj5
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26202 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26213 wxTreeItemId
* resultptr
;
26214 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26231 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
;
26233 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26234 wxTreeItemId
*arg2
= 0 ;
26235 wxString
*arg3
= 0 ;
26236 int arg4
= (int) -1 ;
26237 int arg5
= (int) -1 ;
26238 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26239 wxTreeItemId result
;
26240 bool temp3
= False
;
26241 PyObject
* obj0
= 0 ;
26242 PyObject
* obj1
= 0 ;
26243 PyObject
* obj2
= 0 ;
26244 PyObject
* obj3
= 0 ;
26245 PyObject
* obj4
= 0 ;
26246 PyObject
* obj5
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26257 if (arg2
== NULL
) {
26258 PyErr_SetString(PyExc_TypeError
,"null reference");
26262 arg3
= wxString_in_helper(obj2
);
26263 if (arg3
== NULL
) SWIG_fail
;
26267 arg4
= (int) SWIG_AsInt(obj3
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26271 arg5
= (int) SWIG_AsInt(obj4
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26275 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26286 wxTreeItemId
* resultptr
;
26287 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26304 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26307 wxTreeItemId
*arg2
= 0 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 char *kwnames
[] = {
26311 (char *) "self",(char *) "item", NULL
26314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26320 if (arg2
== NULL
) {
26321 PyErr_SetString(PyExc_TypeError
,"null reference");
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 Py_INCREF(Py_None
); resultobj
= Py_None
;
26338 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26341 wxTreeItemId
*arg2
= 0 ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self",(char *) "item", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26354 if (arg2
== NULL
) {
26355 PyErr_SetString(PyExc_TypeError
,"null reference");
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 Py_INCREF(Py_None
); resultobj
= Py_None
;
26372 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26375 PyObject
* obj0
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 (arg1
)->DeleteAllItems();
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 Py_INCREF(Py_None
); resultobj
= Py_None
;
26397 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26400 wxTreeItemId
*arg2
= 0 ;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self",(char *) "item", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26413 if (arg2
== NULL
) {
26414 PyErr_SetString(PyExc_TypeError
,"null reference");
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 Py_INCREF(Py_None
); resultobj
= Py_None
;
26431 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26434 wxTreeItemId
*arg2
= 0 ;
26435 PyObject
* obj0
= 0 ;
26436 PyObject
* obj1
= 0 ;
26437 char *kwnames
[] = {
26438 (char *) "self",(char *) "item", NULL
26441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26447 if (arg2
== NULL
) {
26448 PyErr_SetString(PyExc_TypeError
,"null reference");
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 Py_INCREF(Py_None
); resultobj
= Py_None
;
26465 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26468 wxTreeItemId
*arg2
= 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self",(char *) "item", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26481 if (arg2
== NULL
) {
26482 PyErr_SetString(PyExc_TypeError
,"null reference");
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 Py_INCREF(Py_None
); resultobj
= Py_None
;
26499 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
;
26501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26502 wxTreeItemId
*arg2
= 0 ;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self",(char *) "item", NULL
26509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26515 if (arg2
== NULL
) {
26516 PyErr_SetString(PyExc_TypeError
,"null reference");
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 Py_INCREF(Py_None
); resultobj
= Py_None
;
26533 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
;
26535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26536 PyObject
* obj0
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "self", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 (arg1
)->Unselect();
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 Py_INCREF(Py_None
); resultobj
= Py_None
;
26558 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
;
26560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26561 wxTreeItemId
*arg2
= 0 ;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "self",(char *) "item", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26574 if (arg2
== NULL
) {
26575 PyErr_SetString(PyExc_TypeError
,"null reference");
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26585 Py_INCREF(Py_None
); resultobj
= Py_None
;
26592 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
;
26594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26595 PyObject
* obj0
= 0 ;
26596 char *kwnames
[] = {
26597 (char *) "self", NULL
26600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 (arg1
)->UnselectAll();
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26610 Py_INCREF(Py_None
); resultobj
= Py_None
;
26617 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
;
26619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26620 wxTreeItemId
*arg2
= 0 ;
26621 bool arg3
= (bool) True
;
26622 PyObject
* obj0
= 0 ;
26623 PyObject
* obj1
= 0 ;
26624 PyObject
* obj2
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "self",(char *) "item",(char *) "select", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26635 if (arg2
== NULL
) {
26636 PyErr_SetString(PyExc_TypeError
,"null reference");
26640 arg3
= (bool) SWIG_AsBool(obj2
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 Py_INCREF(Py_None
); resultobj
= Py_None
;
26657 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26660 wxTreeItemId
*arg2
= 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self",(char *) "item", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26673 if (arg2
== NULL
) {
26674 PyErr_SetString(PyExc_TypeError
,"null reference");
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 Py_INCREF(Py_None
); resultobj
= Py_None
;
26691 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26694 wxTreeItemId
*arg2
= 0 ;
26695 PyObject
* obj0
= 0 ;
26696 PyObject
* obj1
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self",(char *) "item", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26707 if (arg2
== NULL
) {
26708 PyErr_SetString(PyExc_TypeError
,"null reference");
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 Py_INCREF(Py_None
); resultobj
= Py_None
;
26725 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
;
26727 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26728 wxTreeItemId
*arg2
= 0 ;
26729 PyObject
* obj0
= 0 ;
26730 PyObject
* obj1
= 0 ;
26731 char *kwnames
[] = {
26732 (char *) "self",(char *) "item", NULL
26735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26741 if (arg2
== NULL
) {
26742 PyErr_SetString(PyExc_TypeError
,"null reference");
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 Py_INCREF(Py_None
); resultobj
= Py_None
;
26759 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
;
26761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26762 wxTreeItemId
*arg2
= 0 ;
26763 PyObject
* obj0
= 0 ;
26764 PyObject
* obj1
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self",(char *) "item", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26775 if (arg2
== NULL
) {
26776 PyErr_SetString(PyExc_TypeError
,"null reference");
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 Py_INCREF(Py_None
); resultobj
= Py_None
;
26793 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
;
26795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26796 wxTextCtrl
*result
;
26797 PyObject
* obj0
= 0 ;
26798 char *kwnames
[] = {
26799 (char *) "self", NULL
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= wxPyMake_wxObject(result
);
26821 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26824 wxTreeItemId
*arg2
= 0 ;
26825 bool arg3
= (bool) False
;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 PyObject
* obj2
= 0 ;
26829 char *kwnames
[] = {
26830 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26839 if (arg2
== NULL
) {
26840 PyErr_SetString(PyExc_TypeError
,"null reference");
26844 arg3
= (bool) SWIG_AsBool(obj2
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 Py_INCREF(Py_None
); resultobj
= Py_None
;
26861 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
;
26863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26864 wxTreeItemId
*arg2
= 0 ;
26865 PyObject
* obj0
= 0 ;
26866 PyObject
* obj1
= 0 ;
26867 char *kwnames
[] = {
26868 (char *) "self",(char *) "item", NULL
26871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26877 if (arg2
== NULL
) {
26878 PyErr_SetString(PyExc_TypeError
,"null reference");
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 Py_INCREF(Py_None
); resultobj
= Py_None
;
26895 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26898 wxPoint
*arg2
= 0 ;
26900 wxTreeItemId result
;
26903 PyObject
* obj0
= 0 ;
26904 PyObject
* obj1
= 0 ;
26905 char *kwnames
[] = {
26906 (char *) "self",(char *) "point", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26925 wxTreeItemId
* resultptr
;
26926 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26930 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26931 resultobj
= t_output_helper(resultobj
,o
);
26939 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
;
26941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26942 wxTreeItemId
*arg2
= 0 ;
26943 bool arg3
= (bool) False
;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 PyObject
* obj2
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26958 if (arg2
== NULL
) {
26959 PyErr_SetString(PyExc_TypeError
,"null reference");
26963 arg3
= (bool) SWIG_AsBool(obj2
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26973 resultobj
= result
;
26980 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26983 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26985 return Py_BuildValue((char *)"");
26987 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26988 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26993 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26998 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27000 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27007 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxWindow
*arg1
= (wxWindow
*) 0 ;
27010 int arg2
= (int) (int)-1 ;
27011 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27012 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27017 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27018 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27019 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27020 int arg8
= (int) 0 ;
27021 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27022 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27023 wxGenericDirCtrl
*result
;
27024 bool temp3
= False
;
27027 bool temp7
= False
;
27028 bool temp9
= False
;
27029 PyObject
* obj0
= 0 ;
27030 PyObject
* obj1
= 0 ;
27031 PyObject
* obj2
= 0 ;
27032 PyObject
* obj3
= 0 ;
27033 PyObject
* obj4
= 0 ;
27034 PyObject
* obj5
= 0 ;
27035 PyObject
* obj6
= 0 ;
27036 PyObject
* obj7
= 0 ;
27037 PyObject
* obj8
= 0 ;
27038 char *kwnames
[] = {
27039 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27046 arg2
= (int const) SWIG_AsInt(obj1
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27051 arg3
= wxString_in_helper(obj2
);
27052 if (arg3
== NULL
) SWIG_fail
;
27059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27069 arg6
= (long) SWIG_AsLong(obj5
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27074 arg7
= wxString_in_helper(obj6
);
27075 if (arg7
== NULL
) SWIG_fail
;
27080 arg8
= (int) SWIG_AsInt(obj7
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27085 arg9
= wxString_in_helper(obj8
);
27086 if (arg9
== NULL
) SWIG_fail
;
27091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27092 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27094 wxPyEndAllowThreads(__tstate
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27128 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxGenericDirCtrl
*result
;
27131 char *kwnames
[] = {
27135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27150 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27153 wxWindow
*arg2
= (wxWindow
*) 0 ;
27154 int arg3
= (int) (int)-1 ;
27155 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27156 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27157 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27158 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27159 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27160 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27161 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27162 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27163 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27164 int arg9
= (int) 0 ;
27165 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27166 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27168 bool temp4
= False
;
27171 bool temp8
= False
;
27172 bool temp10
= False
;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 PyObject
* obj2
= 0 ;
27176 PyObject
* obj3
= 0 ;
27177 PyObject
* obj4
= 0 ;
27178 PyObject
* obj5
= 0 ;
27179 PyObject
* obj6
= 0 ;
27180 PyObject
* obj7
= 0 ;
27181 PyObject
* obj8
= 0 ;
27182 PyObject
* obj9
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27193 arg3
= (int const) SWIG_AsInt(obj2
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27198 arg4
= wxString_in_helper(obj3
);
27199 if (arg4
== NULL
) SWIG_fail
;
27206 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27212 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27216 arg7
= (long) SWIG_AsLong(obj6
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27221 arg8
= wxString_in_helper(obj7
);
27222 if (arg8
== NULL
) SWIG_fail
;
27227 arg9
= (int) SWIG_AsInt(obj8
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27232 arg10
= wxString_in_helper(obj9
);
27233 if (arg10
== NULL
) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27277 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27280 wxString
*arg2
= 0 ;
27282 bool temp2
= False
;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 char *kwnames
[] = {
27286 (char *) "self",(char *) "path", NULL
27289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27293 arg2
= wxString_in_helper(obj1
);
27294 if (arg2
== NULL
) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27321 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
;
27323 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27325 PyObject
* obj0
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self", NULL
27330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27353 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27356 wxString
*arg2
= 0 ;
27357 bool temp2
= False
;
27358 PyObject
* obj0
= 0 ;
27359 PyObject
* obj1
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self",(char *) "path", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27368 arg2
= wxString_in_helper(obj1
);
27369 if (arg2
== NULL
) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 Py_INCREF(Py_None
); resultobj
= Py_None
;
27394 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27426 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27427 PyObject
*resultobj
;
27428 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27430 PyObject
* obj0
= 0 ;
27431 char *kwnames
[] = {
27432 (char *) "self", NULL
27435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27458 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27461 wxString
*arg2
= 0 ;
27462 bool temp2
= False
;
27463 PyObject
* obj0
= 0 ;
27464 PyObject
* obj1
= 0 ;
27465 char *kwnames
[] = {
27466 (char *) "self",(char *) "path", NULL
27469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27473 arg2
= wxString_in_helper(obj1
);
27474 if (arg2
== NULL
) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 (arg1
)->SetPath((wxString
const &)*arg2
);
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27484 Py_INCREF(Py_None
); resultobj
= Py_None
;
27499 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27503 PyObject
* obj0
= 0 ;
27504 PyObject
* obj1
= 0 ;
27505 char *kwnames
[] = {
27506 (char *) "self",(char *) "show", NULL
27509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27512 arg2
= (bool) SWIG_AsBool(obj1
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 (arg1
)->ShowHidden(arg2
);
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 Py_INCREF(Py_None
); resultobj
= Py_None
;
27528 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27532 PyObject
* obj0
= 0 ;
27533 char *kwnames
[] = {
27534 (char *) "self", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 result
= (bool)(arg1
)->GetShowHidden();
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27556 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
;
27558 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27560 PyObject
* obj0
= 0 ;
27561 char *kwnames
[] = {
27562 (char *) "self", NULL
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27570 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27572 wxPyEndAllowThreads(__tstate
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27588 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27589 PyObject
*resultobj
;
27590 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27591 wxString
*arg2
= 0 ;
27592 bool temp2
= False
;
27593 PyObject
* obj0
= 0 ;
27594 PyObject
* obj1
= 0 ;
27595 char *kwnames
[] = {
27596 (char *) "self",(char *) "filter", NULL
27599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27603 arg2
= wxString_in_helper(obj1
);
27604 if (arg2
== NULL
) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 (arg1
)->SetFilter((wxString
const &)*arg2
);
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27614 Py_INCREF(Py_None
); resultobj
= Py_None
;
27629 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "self", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= SWIG_FromInt((int)result
);
27655 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27659 PyObject
* obj0
= 0 ;
27660 PyObject
* obj1
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "self",(char *) "n", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27668 arg2
= (int) SWIG_AsInt(obj1
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 (arg1
)->SetFilterIndex(arg2
);
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 Py_INCREF(Py_None
); resultobj
= Py_None
;
27684 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
;
27686 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27687 wxTreeItemId result
;
27688 PyObject
* obj0
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "self", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 result
= (arg1
)->GetRootId();
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27704 wxTreeItemId
* resultptr
;
27705 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27714 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
;
27716 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27717 wxPyTreeCtrl
*result
;
27718 PyObject
* obj0
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= wxPyMake_wxObject(result
);
27742 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
;
27744 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27745 wxDirFilterListCtrl
*result
;
27746 PyObject
* obj0
= 0 ;
27747 char *kwnames
[] = {
27748 (char *) "self", NULL
27751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27756 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27758 wxPyEndAllowThreads(__tstate
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27768 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27769 PyObject
*resultobj
;
27770 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27771 wxTreeItemId arg2
;
27772 wxString
*arg3
= 0 ;
27774 wxTreeItemId result
;
27775 wxTreeItemId
*argp2
;
27776 bool temp3
= False
;
27778 PyObject
* obj0
= 0 ;
27779 PyObject
* obj1
= 0 ;
27780 PyObject
* obj2
= 0 ;
27781 char *kwnames
[] = {
27782 (char *) "self",(char *) "parentId",(char *) "path", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27789 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27790 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27793 arg3
= wxString_in_helper(obj2
);
27794 if (arg3
== NULL
) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27805 wxTreeItemId
* resultptr
;
27806 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27810 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27811 resultobj
= t_output_helper(resultobj
,o
);
27827 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27830 PyObject
* obj0
= 0 ;
27831 char *kwnames
[] = {
27832 (char *) "self", NULL
27835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27840 (arg1
)->DoResize();
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27845 Py_INCREF(Py_None
); resultobj
= Py_None
;
27852 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27853 PyObject
*resultobj
;
27854 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27855 PyObject
* obj0
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "self", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 (arg1
)->ReCreateTree();
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 Py_INCREF(Py_None
); resultobj
= Py_None
;
27877 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27880 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27882 return Py_BuildValue((char *)"");
27884 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27885 PyObject
*resultobj
;
27886 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27887 int arg2
= (int) (int)-1 ;
27888 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27889 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27890 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27891 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27892 long arg5
= (long) 0 ;
27893 wxDirFilterListCtrl
*result
;
27896 PyObject
* obj0
= 0 ;
27897 PyObject
* obj1
= 0 ;
27898 PyObject
* obj2
= 0 ;
27899 PyObject
* obj3
= 0 ;
27900 PyObject
* obj4
= 0 ;
27901 char *kwnames
[] = {
27902 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27909 arg2
= (int const) SWIG_AsInt(obj1
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27921 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27925 arg5
= (long) SWIG_AsLong(obj4
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27942 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxDirFilterListCtrl
*result
;
27945 char *kwnames
[] = {
27949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27964 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27967 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27968 int arg3
= (int) (int)-1 ;
27969 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27970 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27971 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27972 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27973 long arg6
= (long) 0 ;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 PyObject
* obj2
= 0 ;
27980 PyObject
* obj3
= 0 ;
27981 PyObject
* obj4
= 0 ;
27982 PyObject
* obj5
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27993 arg3
= (int const) SWIG_AsInt(obj2
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27999 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28005 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28009 arg6
= (long) SWIG_AsLong(obj5
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28028 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
;
28030 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28031 wxString
*arg2
= 0 ;
28033 bool temp2
= False
;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 PyObject
* obj2
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28045 arg2
= wxString_in_helper(obj1
);
28046 if (arg2
== NULL
) SWIG_fail
;
28049 arg3
= (int) SWIG_AsInt(obj2
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 Py_INCREF(Py_None
); resultobj
= Py_None
;
28073 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28076 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28078 return Py_BuildValue((char *)"");
28080 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28081 PyObject
*resultobj
;
28082 wxWindow
*arg1
= (wxWindow
*) 0 ;
28084 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28085 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28086 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28087 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28088 long arg5
= (long) 0 ;
28089 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28090 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28091 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28093 wxPyControl
*result
;
28096 bool temp7
= False
;
28097 PyObject
* obj0
= 0 ;
28098 PyObject
* obj1
= 0 ;
28099 PyObject
* obj2
= 0 ;
28100 PyObject
* obj3
= 0 ;
28101 PyObject
* obj4
= 0 ;
28102 PyObject
* obj5
= 0 ;
28103 PyObject
* obj6
= 0 ;
28104 char *kwnames
[] = {
28105 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28111 arg2
= (int const) SWIG_AsInt(obj1
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28116 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28122 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28126 arg5
= (long) SWIG_AsLong(obj4
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28130 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28133 if (arg6
== NULL
) {
28134 PyErr_SetString(PyExc_TypeError
,"null reference");
28140 arg7
= wxString_in_helper(obj6
);
28141 if (arg7
== NULL
) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28167 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
;
28169 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28170 PyObject
*arg2
= (PyObject
*) 0 ;
28171 PyObject
*arg3
= (PyObject
*) 0 ;
28172 PyObject
* obj0
= 0 ;
28173 PyObject
* obj1
= 0 ;
28174 PyObject
* obj2
= 0 ;
28175 char *kwnames
[] = {
28176 (char *) "self",(char *) "self",(char *) "_class", NULL
28179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28191 Py_INCREF(Py_None
); resultobj
= Py_None
;
28198 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
;
28200 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28205 PyObject
* obj0
= 0 ;
28206 PyObject
* obj1
= 0 ;
28207 PyObject
* obj2
= 0 ;
28208 PyObject
* obj3
= 0 ;
28209 PyObject
* obj4
= 0 ;
28210 char *kwnames
[] = {
28211 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28217 arg2
= (int) SWIG_AsInt(obj1
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28219 arg3
= (int) SWIG_AsInt(obj2
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28221 arg4
= (int) SWIG_AsInt(obj3
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28223 arg5
= (int) SWIG_AsInt(obj4
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 Py_INCREF(Py_None
); resultobj
= Py_None
;
28239 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28246 int arg6
= (int) wxSIZE_AUTO
;
28247 PyObject
* obj0
= 0 ;
28248 PyObject
* obj1
= 0 ;
28249 PyObject
* obj2
= 0 ;
28250 PyObject
* obj3
= 0 ;
28251 PyObject
* obj4
= 0 ;
28252 PyObject
* obj5
= 0 ;
28253 char *kwnames
[] = {
28254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28260 arg2
= (int) SWIG_AsInt(obj1
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28262 arg3
= (int) SWIG_AsInt(obj2
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28264 arg4
= (int) SWIG_AsInt(obj3
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28266 arg5
= (int) SWIG_AsInt(obj4
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28269 arg6
= (int) SWIG_AsInt(obj5
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28279 Py_INCREF(Py_None
); resultobj
= Py_None
;
28286 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28291 PyObject
* obj0
= 0 ;
28292 PyObject
* obj1
= 0 ;
28293 PyObject
* obj2
= 0 ;
28294 char *kwnames
[] = {
28295 (char *) "self",(char *) "width",(char *) "height", NULL
28298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28301 arg2
= (int) SWIG_AsInt(obj1
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28303 arg3
= (int) SWIG_AsInt(obj2
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28312 Py_INCREF(Py_None
); resultobj
= Py_None
;
28319 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28320 PyObject
*resultobj
;
28321 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 PyObject
* obj2
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self",(char *) "x",(char *) "y", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28334 arg2
= (int) SWIG_AsInt(obj1
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28336 arg3
= (int) SWIG_AsInt(obj2
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 Py_INCREF(Py_None
); resultobj
= Py_None
;
28352 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28355 int *arg2
= (int *) 0 ;
28356 int *arg3
= (int *) 0 ;
28359 PyObject
* obj0
= 0 ;
28360 char *kwnames
[] = {
28361 (char *) "self", NULL
28366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 Py_INCREF(Py_None
); resultobj
= Py_None
;
28378 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28379 resultobj
= t_output_helper(resultobj
,o
);
28382 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28383 resultobj
= t_output_helper(resultobj
,o
);
28391 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
;
28393 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28394 int *arg2
= (int *) 0 ;
28395 int *arg3
= (int *) 0 ;
28398 PyObject
* obj0
= 0 ;
28399 char *kwnames
[] = {
28400 (char *) "self", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 Py_INCREF(Py_None
); resultobj
= Py_None
;
28417 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28418 resultobj
= t_output_helper(resultobj
,o
);
28421 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28422 resultobj
= t_output_helper(resultobj
,o
);
28430 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28433 int *arg2
= (int *) 0 ;
28434 int *arg3
= (int *) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 char *kwnames
[] = {
28439 (char *) "self", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 Py_INCREF(Py_None
); resultobj
= Py_None
;
28456 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28457 resultobj
= t_output_helper(resultobj
,o
);
28460 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28461 resultobj
= t_output_helper(resultobj
,o
);
28469 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28473 PyObject
* obj0
= 0 ;
28474 char *kwnames
[] = {
28475 (char *) "self", NULL
28478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28489 wxSize
* resultptr
;
28490 resultptr
= new wxSize((wxSize
&) result
);
28491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28499 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
;
28501 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28503 PyObject
* obj0
= 0 ;
28504 char *kwnames
[] = {
28505 (char *) "self", NULL
28508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28519 wxSize
* resultptr
;
28520 resultptr
= new wxSize((wxSize
&) result
);
28521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28529 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28530 PyObject
*resultobj
;
28531 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 char *kwnames
[] = {
28534 (char *) "self", NULL
28537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 (arg1
)->base_InitDialog();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 Py_INCREF(Py_None
); resultobj
= Py_None
;
28554 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
;
28556 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28558 PyObject
* obj0
= 0 ;
28559 char *kwnames
[] = {
28560 (char *) "self", NULL
28563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= (bool)(arg1
)->base_TransferDataToWindow();
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28582 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
;
28584 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28586 PyObject
* obj0
= 0 ;
28587 char *kwnames
[] = {
28588 (char *) "self", NULL
28591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28610 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
;
28612 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28614 PyObject
* obj0
= 0 ;
28615 char *kwnames
[] = {
28616 (char *) "self", NULL
28619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 result
= (bool)(arg1
)->base_Validate();
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28638 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28642 PyObject
* obj0
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28666 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28667 PyObject
*resultobj
;
28668 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28670 PyObject
* obj0
= 0 ;
28671 char *kwnames
[] = {
28672 (char *) "self", NULL
28675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28694 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28695 PyObject
*resultobj
;
28696 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28698 PyObject
* obj0
= 0 ;
28699 char *kwnames
[] = {
28700 (char *) "self", NULL
28703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28708 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28714 wxSize
* resultptr
;
28715 resultptr
= new wxSize((wxSize
&) result
);
28716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28724 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28727 wxWindow
*arg2
= (wxWindow
*) 0 ;
28728 PyObject
* obj0
= 0 ;
28729 PyObject
* obj1
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "child", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28741 (arg1
)->base_AddChild(arg2
);
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28746 Py_INCREF(Py_None
); resultobj
= Py_None
;
28753 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28754 PyObject
*resultobj
;
28755 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28756 wxWindow
*arg2
= (wxWindow
*) 0 ;
28757 PyObject
* obj0
= 0 ;
28758 PyObject
* obj1
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self",(char *) "child", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 (arg1
)->base_RemoveChild(arg2
);
28772 wxPyEndAllowThreads(__tstate
);
28773 if (PyErr_Occurred()) SWIG_fail
;
28775 Py_INCREF(Py_None
); resultobj
= Py_None
;
28782 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28785 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28787 return Py_BuildValue((char *)"");
28789 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
;
28791 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28792 int arg2
= (int) 0 ;
28793 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28794 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28795 wxHelpEvent
*result
;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 PyObject
* obj2
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "type",(char *) "winid",(char *) "pt", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28806 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28810 arg2
= (int) SWIG_AsInt(obj1
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28833 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28835 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28837 PyObject
* obj0
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28853 wxPoint
* resultptr
;
28854 resultptr
= new wxPoint((wxPoint
&) result
);
28855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28863 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
;
28865 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28866 wxPoint
*arg2
= 0 ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 char *kwnames
[] = {
28871 (char *) "self",(char *) "pos", NULL
28874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 Py_INCREF(Py_None
); resultobj
= Py_None
;
28895 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28896 PyObject
*resultobj
;
28897 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28899 PyObject
* obj0
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "self", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28911 result
= (wxString
*) &_result_ref
;
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28921 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28930 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
;
28932 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28933 wxString
*arg2
= 0 ;
28934 bool temp2
= False
;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self",(char *) "link", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28945 arg2
= wxString_in_helper(obj1
);
28946 if (arg2
== NULL
) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 (arg1
)->SetLink((wxString
const &)*arg2
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 Py_INCREF(Py_None
); resultobj
= Py_None
;
28971 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
;
28973 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28975 PyObject
* obj0
= 0 ;
28976 char *kwnames
[] = {
28977 (char *) "self", NULL
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28987 result
= (wxString
*) &_result_ref
;
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28997 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29006 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29009 wxString
*arg2
= 0 ;
29010 bool temp2
= False
;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "self",(char *) "target", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29021 arg2
= wxString_in_helper(obj1
);
29022 if (arg2
== NULL
) SWIG_fail
;
29026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 (arg1
)->SetTarget((wxString
const &)*arg2
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 Py_INCREF(Py_None
); resultobj
= Py_None
;
29047 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29050 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29052 return Py_BuildValue((char *)"");
29054 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29055 PyObject
*resultobj
;
29056 wxWindow
*arg1
= (wxWindow
*) NULL
;
29057 bool arg2
= (bool) True
;
29058 wxContextHelp
*result
;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 char *kwnames
[] = {
29062 (char *) "window",(char *) "doNow", NULL
29065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29071 arg2
= (bool) SWIG_AsBool(obj1
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29088 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
;
29090 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29091 PyObject
* obj0
= 0 ;
29092 char *kwnames
[] = {
29093 (char *) "self", NULL
29096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 Py_INCREF(Py_None
); resultobj
= Py_None
;
29113 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29114 PyObject
*resultobj
;
29115 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29116 wxWindow
*arg2
= (wxWindow
*) NULL
;
29118 PyObject
* obj0
= 0 ;
29119 PyObject
* obj1
= 0 ;
29120 char *kwnames
[] = {
29121 (char *) "self",(char *) "window", NULL
29124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29147 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29149 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29151 PyObject
* obj0
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "self", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 result
= (bool)(arg1
)->EndContextHelp();
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29175 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29178 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29180 return Py_BuildValue((char *)"");
29182 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29183 PyObject
*resultobj
;
29184 wxWindow
*arg1
= (wxWindow
*) 0 ;
29185 int arg2
= (int) wxID_CONTEXT_HELP
;
29186 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29187 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29188 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29189 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29190 long arg5
= (long) wxBU_AUTODRAW
;
29191 wxContextHelpButton
*result
;
29194 PyObject
* obj0
= 0 ;
29195 PyObject
* obj1
= 0 ;
29196 PyObject
* obj2
= 0 ;
29197 PyObject
* obj3
= 0 ;
29198 PyObject
* obj4
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29207 arg2
= (int) SWIG_AsInt(obj1
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29219 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29223 arg5
= (long) SWIG_AsLong(obj4
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29240 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29243 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29245 return Py_BuildValue((char *)"");
29247 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
;
29249 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29250 wxHelpProvider
*result
;
29251 PyObject
* obj0
= 0 ;
29252 char *kwnames
[] = {
29253 (char *) "helpProvider", NULL
29256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29273 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
;
29275 wxHelpProvider
*result
;
29276 char *kwnames
[] = {
29280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29295 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29296 PyObject
*resultobj
;
29297 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29298 wxWindow
*arg2
= (wxWindow
*) 0 ;
29300 PyObject
* obj0
= 0 ;
29301 PyObject
* obj1
= 0 ;
29302 char *kwnames
[] = {
29303 (char *) "self",(char *) "window", NULL
29306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29331 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29332 PyObject
*resultobj
;
29333 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29334 wxWindow
*arg2
= (wxWindow
*) 0 ;
29336 PyObject
* obj0
= 0 ;
29337 PyObject
* obj1
= 0 ;
29338 char *kwnames
[] = {
29339 (char *) "self",(char *) "window", NULL
29342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 result
= (bool)(arg1
)->ShowHelp(arg2
);
29351 wxPyEndAllowThreads(__tstate
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29363 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
;
29365 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29366 wxWindow
*arg2
= (wxWindow
*) 0 ;
29367 wxString
*arg3
= 0 ;
29368 bool temp3
= False
;
29369 PyObject
* obj0
= 0 ;
29370 PyObject
* obj1
= 0 ;
29371 PyObject
* obj2
= 0 ;
29372 char *kwnames
[] = {
29373 (char *) "self",(char *) "window",(char *) "text", NULL
29376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29382 arg3
= wxString_in_helper(obj2
);
29383 if (arg3
== NULL
) SWIG_fail
;
29387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29388 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 Py_INCREF(Py_None
); resultobj
= Py_None
;
29408 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
;
29410 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29412 wxString
*arg3
= 0 ;
29413 bool temp3
= False
;
29414 PyObject
* obj0
= 0 ;
29415 PyObject
* obj1
= 0 ;
29416 PyObject
* obj2
= 0 ;
29417 char *kwnames
[] = {
29418 (char *) "self",(char *) "id",(char *) "text", NULL
29421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29424 arg2
= (int) SWIG_AsInt(obj1
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29427 arg3
= wxString_in_helper(obj2
);
29428 if (arg3
== NULL
) SWIG_fail
;
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 Py_INCREF(Py_None
); resultobj
= Py_None
;
29453 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29456 wxWindow
*arg2
= (wxWindow
*) 0 ;
29457 PyObject
* obj0
= 0 ;
29458 PyObject
* obj1
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self",(char *) "window", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 (arg1
)->RemoveHelp(arg2
);
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 Py_INCREF(Py_None
); resultobj
= Py_None
;
29482 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29485 PyObject
* obj0
= 0 ;
29486 char *kwnames
[] = {
29487 (char *) "self", NULL
29490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 wxHelpProvider_Destroy(arg1
);
29497 wxPyEndAllowThreads(__tstate
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29500 Py_INCREF(Py_None
); resultobj
= Py_None
;
29507 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29510 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29512 return Py_BuildValue((char *)"");
29514 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29515 PyObject
*resultobj
;
29516 wxSimpleHelpProvider
*result
;
29517 char *kwnames
[] = {
29521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29524 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29526 wxPyEndAllowThreads(__tstate
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29536 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29539 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29541 return Py_BuildValue((char *)"");
29543 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29544 PyObject
*resultobj
;
29545 wxBitmap
*arg1
= 0 ;
29546 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29547 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29548 wxGenericDragImage
*result
;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 char *kwnames
[] = {
29552 (char *) "image",(char *) "cursor", NULL
29555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29559 if (arg1
== NULL
) {
29560 PyErr_SetString(PyExc_TypeError
,"null reference");
29564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29567 if (arg2
== NULL
) {
29568 PyErr_SetString(PyExc_TypeError
,"null reference");
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29586 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29589 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29590 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29591 wxGenericDragImage
*result
;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "image",(char *) "cursor", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29602 if (arg1
== NULL
) {
29603 PyErr_SetString(PyExc_TypeError
,"null reference");
29607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29610 if (arg2
== NULL
) {
29611 PyErr_SetString(PyExc_TypeError
,"null reference");
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29629 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxString
*arg1
= 0 ;
29632 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29633 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29634 wxGenericDragImage
*result
;
29635 bool temp1
= False
;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 char *kwnames
[] = {
29639 (char *) "str",(char *) "cursor", NULL
29642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29644 arg1
= wxString_in_helper(obj0
);
29645 if (arg1
== NULL
) SWIG_fail
;
29649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29652 if (arg2
== NULL
) {
29653 PyErr_SetString(PyExc_TypeError
,"null reference");
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29661 wxPyEndAllowThreads(__tstate
);
29662 if (PyErr_Occurred()) SWIG_fail
;
29664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29679 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxPyTreeCtrl
*arg1
= 0 ;
29682 wxTreeItemId
*arg2
= 0 ;
29683 wxGenericDragImage
*result
;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "treeCtrl",(char *) "id", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29694 if (arg1
== NULL
) {
29695 PyErr_SetString(PyExc_TypeError
,"null reference");
29698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29701 if (arg2
== NULL
) {
29702 PyErr_SetString(PyExc_TypeError
,"null reference");
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29719 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxPyListCtrl
*arg1
= 0 ;
29723 wxGenericDragImage
*result
;
29724 PyObject
* obj0
= 0 ;
29725 PyObject
* obj1
= 0 ;
29726 char *kwnames
[] = {
29727 (char *) "listCtrl",(char *) "id", NULL
29730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29734 if (arg1
== NULL
) {
29735 PyErr_SetString(PyExc_TypeError
,"null reference");
29738 arg2
= (long) SWIG_AsLong(obj1
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29744 wxPyEndAllowThreads(__tstate
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29754 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29757 PyObject
* obj0
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 Py_INCREF(Py_None
); resultobj
= Py_None
;
29779 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29782 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29783 PyObject
* obj0
= 0 ;
29784 PyObject
* obj1
= 0 ;
29785 char *kwnames
[] = {
29786 (char *) "self",(char *) "bitmap", NULL
29789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 (arg1
)->SetBackingBitmap(arg2
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 Py_INCREF(Py_None
); resultobj
= Py_None
;
29808 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
;
29810 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29811 wxPoint
*arg2
= 0 ;
29812 wxWindow
*arg3
= (wxWindow
*) 0 ;
29813 bool arg4
= (bool) False
;
29814 wxRect
*arg5
= (wxRect
*) NULL
;
29817 PyObject
* obj0
= 0 ;
29818 PyObject
* obj1
= 0 ;
29819 PyObject
* obj2
= 0 ;
29820 PyObject
* obj3
= 0 ;
29821 PyObject
* obj4
= 0 ;
29822 char *kwnames
[] = {
29823 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29833 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29836 arg4
= (bool) SWIG_AsBool(obj3
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29840 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29845 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29859 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29862 wxPoint
*arg2
= 0 ;
29863 wxWindow
*arg3
= (wxWindow
*) 0 ;
29864 wxWindow
*arg4
= (wxWindow
*) 0 ;
29867 PyObject
* obj0
= 0 ;
29868 PyObject
* obj1
= 0 ;
29869 PyObject
* obj2
= 0 ;
29870 PyObject
* obj3
= 0 ;
29871 char *kwnames
[] = {
29872 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29880 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29882 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29884 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29902 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
;
29904 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29906 PyObject
* obj0
= 0 ;
29907 char *kwnames
[] = {
29908 (char *) "self", NULL
29911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 result
= (bool)(arg1
)->EndDrag();
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29930 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
;
29932 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29933 wxPoint
*arg2
= 0 ;
29936 PyObject
* obj0
= 0 ;
29937 PyObject
* obj1
= 0 ;
29938 char *kwnames
[] = {
29939 (char *) "self",(char *) "pt", NULL
29942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29947 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29965 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
;
29967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29969 PyObject
* obj0
= 0 ;
29970 char *kwnames
[] = {
29971 (char *) "self", NULL
29974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 result
= (bool)(arg1
)->Show();
29981 wxPyEndAllowThreads(__tstate
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29993 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
;
29995 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29997 PyObject
* obj0
= 0 ;
29998 char *kwnames
[] = {
29999 (char *) "self", NULL
30002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 result
= (bool)(arg1
)->Hide();
30009 wxPyEndAllowThreads(__tstate
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30021 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30022 PyObject
*resultobj
;
30023 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30024 wxPoint
*arg2
= 0 ;
30027 PyObject
* obj0
= 0 ;
30028 PyObject
* obj1
= 0 ;
30029 char *kwnames
[] = {
30030 (char *) "self",(char *) "pos", NULL
30033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30048 wxRect
* resultptr
;
30049 resultptr
= new wxRect((wxRect
&) result
);
30050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30058 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
;
30060 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30062 wxPoint
*arg3
= 0 ;
30065 PyObject
* obj0
= 0 ;
30066 PyObject
* obj1
= 0 ;
30067 PyObject
* obj2
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self",(char *) "dc",(char *) "pos", NULL
30072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30078 if (arg2
== NULL
) {
30079 PyErr_SetString(PyExc_TypeError
,"null reference");
30084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30088 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30090 wxPyEndAllowThreads(__tstate
);
30091 if (PyErr_Occurred()) SWIG_fail
;
30094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30102 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30103 PyObject
*resultobj
;
30104 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30106 wxMemoryDC
*arg3
= 0 ;
30112 PyObject
* obj0
= 0 ;
30113 PyObject
* obj1
= 0 ;
30114 PyObject
* obj2
= 0 ;
30115 PyObject
* obj3
= 0 ;
30116 PyObject
* obj4
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30127 if (arg2
== NULL
) {
30128 PyErr_SetString(PyExc_TypeError
,"null reference");
30131 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30134 if (arg3
== NULL
) {
30135 PyErr_SetString(PyExc_TypeError
,"null reference");
30140 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30144 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30148 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30162 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30165 wxPoint
*arg2
= 0 ;
30166 wxPoint
*arg3
= 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 PyObject
* obj2
= 0 ;
30175 PyObject
* obj3
= 0 ;
30176 PyObject
* obj4
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30186 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30190 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30192 arg4
= (bool) SWIG_AsBool(obj3
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30194 arg5
= (bool) SWIG_AsBool(obj4
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30212 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30215 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30217 return Py_BuildValue((char *)"");
30219 static PyMethodDef SwigMethods
[] = {
30220 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30226 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30241 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30252 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30259 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30277 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30290 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30294 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30300 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30304 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30311 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30333 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30342 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30343 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30372 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30428 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30433 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30444 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30456 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30467 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30471 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30488 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30494 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30519 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30526 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30546 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30552 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30562 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30564 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30569 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30571 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30576 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30581 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30611 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30656 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30661 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30673 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30725 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30748 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30752 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30823 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30835 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30839 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30843 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30844 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30847 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30850 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30866 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30868 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30875 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30876 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30883 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30915 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30919 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30920 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30921 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30922 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30923 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30924 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30925 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30926 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30927 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30928 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30929 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30933 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30934 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30935 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30936 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30937 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30941 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30942 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30945 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30948 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30950 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30951 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30954 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30958 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30964 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30965 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30969 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30990 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30992 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30998 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31003 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31005 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31014 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31016 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31038 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31040 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31041 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31043 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31044 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31046 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31047 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31049 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31050 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31052 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31053 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31055 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31056 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31058 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31059 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31061 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31062 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31064 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31065 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31067 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31068 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31070 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31071 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31073 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31074 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31076 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31077 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31079 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31080 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31082 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31083 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31085 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31086 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31088 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31089 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31091 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31092 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31094 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31095 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31097 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31100 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31101 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31103 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31104 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31106 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31107 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31109 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31110 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31112 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31113 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31115 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31116 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31118 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31119 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31121 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31122 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31124 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31125 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31127 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31128 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31130 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31131 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31133 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31134 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31136 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31137 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31139 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31140 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31142 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31143 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31145 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31146 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31148 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31149 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31151 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31152 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31154 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31155 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31157 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31158 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31160 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31161 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31163 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31164 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31166 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31167 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31169 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31170 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31172 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31173 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31175 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31176 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31178 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31179 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31181 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31182 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31184 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31185 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31187 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31188 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31190 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31191 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31193 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31194 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31196 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31197 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31199 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31200 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31202 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31203 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31205 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31206 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31208 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31209 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31211 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31212 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31214 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31215 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31217 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31218 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31220 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31221 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31223 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31224 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31226 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31227 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31229 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31230 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31232 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31233 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31235 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31236 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31238 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31239 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31241 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31242 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31244 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31245 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31247 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31248 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31250 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31251 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31253 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31254 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31256 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31257 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31259 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31260 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31262 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31263 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31265 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31266 return (void *)((wxControl
*) ((wxGauge
*) x
));
31268 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31269 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31271 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31272 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31274 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31275 return (void *)((wxControl
*) ((wxButton
*) x
));
31277 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31278 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31280 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31281 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31283 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31284 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31286 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31287 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31289 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31290 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31292 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31293 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31295 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31296 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31298 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31299 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31301 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31302 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31304 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31305 return (void *)((wxControl
*) ((wxSlider
*) x
));
31307 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31308 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31310 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31311 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31313 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31314 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31316 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31317 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31319 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31320 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31322 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
31323 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
31325 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31326 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31328 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31329 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31331 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31332 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31334 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31335 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31337 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31338 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31340 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31341 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31343 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31344 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31346 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31349 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31350 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31352 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31353 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31355 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31356 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31358 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31361 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31362 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31364 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31367 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31370 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31371 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31373 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31374 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31376 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31379 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31382 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31385 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31388 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31391 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31392 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31394 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31397 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31400 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31403 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31406 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31409 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31412 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31415 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31418 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31421 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31424 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31427 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31430 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31433 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31436 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31439 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31442 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31445 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31448 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31451 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31454 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31457 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31460 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31463 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31466 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31467 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31469 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31470 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31472 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31473 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31475 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31476 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31478 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31479 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31481 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31482 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31484 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31485 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31487 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31488 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31490 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31491 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31493 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31494 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31496 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31499 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31500 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31502 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31505 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31508 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31509 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31511 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31512 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31514 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31515 return (void *)((wxObject
*) ((wxSizer
*) x
));
31517 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31518 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31520 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31523 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31526 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31529 static void *_p_wxEventTo_p_wxObject(void *x
) {
31530 return (void *)((wxObject
*) ((wxEvent
*) x
));
31532 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31533 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31535 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31536 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31538 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31539 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31541 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31544 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31547 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31550 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31551 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31553 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31554 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31556 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31557 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31559 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31560 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31562 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31563 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31565 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31566 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31568 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31571 static void *_p_wxControlTo_p_wxObject(void *x
) {
31572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31574 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31577 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31580 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31583 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31586 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31589 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31590 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31592 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31595 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31596 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31598 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31599 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31601 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31604 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31607 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31610 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31611 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31613 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31616 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31619 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31620 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31622 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31625 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31628 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31629 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31631 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31632 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31634 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31635 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31637 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31638 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31640 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31641 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31643 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31644 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31646 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31647 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31649 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31650 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31652 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31653 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31655 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31658 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31659 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31661 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31662 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31664 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31665 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31667 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31670 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31673 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31674 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31676 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31679 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31680 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31682 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31683 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31685 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31686 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31688 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31689 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31691 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31692 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31694 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31697 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31698 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31700 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31703 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31706 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31709 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31712 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31715 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31718 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31721 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31724 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31725 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31727 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31730 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31733 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31736 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31739 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31740 return (void *)((wxObject
*) ((wxListItem
*) x
));
31742 static void *_p_wxImageTo_p_wxObject(void *x
) {
31743 return (void *)((wxObject
*) ((wxImage
*) x
));
31745 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31746 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31748 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31749 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31751 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31754 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31755 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31757 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31760 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31763 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31764 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31766 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31769 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31772 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31775 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31778 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31779 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31781 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31784 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31785 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31787 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31790 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31791 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31793 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31794 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31796 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31799 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31802 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31805 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31808 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31811 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31814 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31817 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31820 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31823 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31826 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31829 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31832 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31835 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31838 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31841 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31844 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31845 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31847 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31848 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31850 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31851 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31853 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31854 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31856 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31857 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31859 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31860 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31862 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31863 return (void *)((wxWindow
*) ((wxControl
*) x
));
31865 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31866 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31868 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31869 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31871 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31872 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31874 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31875 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31877 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31878 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31880 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31881 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31883 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31884 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31886 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31887 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31889 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31890 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31892 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31893 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31895 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31896 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31898 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31899 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31901 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31902 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31904 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31905 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31907 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31908 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31910 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31911 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31913 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31914 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31916 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31917 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31919 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31920 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31922 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31923 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31925 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31926 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31928 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31929 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31931 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31932 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31934 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31935 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31937 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31938 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31940 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31941 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31943 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31944 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31946 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31947 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31949 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31950 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31952 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31953 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31955 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31956 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31958 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31959 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31961 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31962 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31964 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31965 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31967 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31968 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31970 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31971 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31973 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31974 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31976 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31977 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31979 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31980 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31982 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31983 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31985 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31986 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31988 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31989 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31991 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31992 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31994 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31995 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31997 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
31998 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
32000 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32001 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32003 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32004 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32006 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32007 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32009 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32010 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32012 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32013 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32015 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}};
32016 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}};
32017 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}};
32018 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}};
32019 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}};
32020 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}};
32021 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}};
32022 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}};
32023 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}};
32024 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}};
32025 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}};
32026 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}};
32027 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}};
32028 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}};
32029 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}};
32030 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}};
32031 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}};
32032 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}};
32033 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}};
32034 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}};
32035 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32036 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}};
32037 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}};
32038 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}};
32039 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}};
32040 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}};
32041 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}};
32042 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}};
32043 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}};
32044 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}};
32045 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}};
32046 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}};
32047 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}};
32048 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}};
32049 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}};
32050 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}};
32051 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}};
32052 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}};
32053 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}};
32054 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}};
32055 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}};
32056 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}};
32057 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}};
32058 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}};
32059 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}};
32060 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}};
32061 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}};
32062 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}};
32063 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}};
32064 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}};
32065 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}};
32066 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}};
32067 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}};
32068 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}};
32069 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}};
32070 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}};
32071 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}};
32072 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}};
32073 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}};
32074 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}};
32075 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}};
32076 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}};
32077 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}};
32078 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}};
32079 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}};
32080 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}};
32081 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}};
32082 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}};
32083 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}};
32084 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}};
32085 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}};
32086 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}};
32087 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}};
32088 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}};
32089 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}};
32090 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}};
32091 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}};
32092 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}};
32093 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32094 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}};
32095 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}};
32096 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}};
32097 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}};
32098 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}};
32100 static swig_type_info
*swig_types_initial
[] = {
32101 _swigt__p_wxTextUrlEvent
,
32102 _swigt__p_wxBookCtrlEvent
,
32104 _swigt__p_wxCheckBox
,
32105 _swigt__p_wxPyTreeCtrl
,
32107 _swigt__p_wxGenericDirCtrl
,
32109 _swigt__p_wxPyTreeItemData
,
32110 _swigt__p_wxItemContainer
,
32111 _swigt__p_wxDirFilterListCtrl
,
32112 _swigt__p_wxPyListCtrl
,
32113 _swigt__p_wxStaticLine
,
32114 _swigt__p_wxControl
,
32115 _swigt__p_wxPyControl
,
32117 _swigt__p_wxToolBarBase
,
32119 _swigt__p_wxToggleButton
,
32120 _swigt__p_wxRadioButton
,
32121 _swigt__p_wxChoice
,
32122 _swigt__p_wxMemoryDC
,
32123 _swigt__p_wxListItemAttr
,
32128 _swigt__p_wxListView
,
32130 _swigt__p_wxTextCtrl
,
32131 _swigt__p_wxNotebook
,
32132 _swigt__p_wxNotifyEvent
,
32133 _swigt__p_wxArrayString
,
32134 _swigt__p_wxListbook
,
32135 _swigt__p_wxStaticBitmap
,
32136 _swigt__p_wxSlider
,
32137 _swigt__p_wxStaticBox
,
32138 _swigt__p_wxArrayInt
,
32139 _swigt__p_wxContextHelp
,
32141 _swigt__p_wxEvtHandler
,
32142 _swigt__p_wxListEvent
,
32143 _swigt__p_wxListBox
,
32144 _swigt__p_wxCheckListBox
,
32145 _swigt__p_wxBookCtrl
,
32146 _swigt__p_wxSpinButton
,
32147 _swigt__p_wxButton
,
32148 _swigt__p_wxBitmapButton
,
32150 _swigt__p_wxContextHelpButton
,
32151 _swigt__p_wxRadioBox
,
32152 _swigt__p_wxScrollBar
,
32154 _swigt__p_wxTreeItemId
,
32155 _swigt__p_wxComboBox
,
32156 _swigt__p_wxHelpEvent
,
32157 _swigt__p_wxListItem
,
32158 _swigt__p_wxNotebookSizer
,
32159 _swigt__p_wxSpinEvent
,
32160 _swigt__p_wxGenericDragImage
,
32161 _swigt__p_wxSpinCtrl
,
32162 _swigt__p_wxImageList
,
32163 _swigt__p_wxHelpProvider
,
32164 _swigt__p_wxTextAttr
,
32165 _swigt__p_wxSimpleHelpProvider
,
32167 _swigt__p_wxListbookEvent
,
32168 _swigt__p_wxNotebookEvent
,
32169 _swigt__p_wxObject
,
32170 _swigt__p_wxCursor
,
32171 _swigt__p_wxKeyEvent
,
32172 _swigt__p_wxWindow
,
32173 _swigt__p_wxString
,
32174 _swigt__p_wxBitmap
,
32175 _swigt__p_wxTreeEvent
,
32176 _swigt__p_wxMouseEvent
,
32177 _swigt__p_wxCommandEvent
,
32178 _swigt__p_wxStaticText
,
32179 _swigt__p_wxControlWithItems
,
32180 _swigt__p_wxToolBarToolBase
,
32181 _swigt__p_wxColour
,
32182 _swigt__p_wxToolBar
,
32183 _swigt__p_wxBookCtrlSizer
,
32184 _swigt__p_wxValidator
,
32189 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32191 static swig_const_info swig_const_table
[] = {
32201 SWIGEXPORT(void) SWIG_init(void) {
32202 static PyObject
*SWIG_globals
= 0;
32203 static int typeinit
= 0;
32206 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32207 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32208 d
= PyModule_GetDict(m
);
32211 for (i
= 0; swig_types_initial
[i
]; i
++) {
32212 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32216 SWIG_InstallConstants(d
,swig_const_table
);
32218 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32219 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32220 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32221 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32222 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32223 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32224 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32225 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32226 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32227 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32228 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32229 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32230 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32231 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32232 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32233 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32234 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32235 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32236 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32237 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32238 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32239 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32240 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32241 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32242 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32243 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32244 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32245 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32246 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32247 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32248 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32249 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32250 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32251 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32252 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32253 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32254 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32255 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32256 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32257 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32258 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32259 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32260 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32261 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32262 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32263 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32264 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32265 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32266 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32267 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32268 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32269 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32270 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32271 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32272 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32273 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32274 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32275 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32276 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32277 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32278 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32279 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32280 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32281 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32282 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32283 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32284 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32285 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32286 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32287 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32289 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32290 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32291 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32292 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32293 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32294 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32295 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32296 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32297 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32298 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32299 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32300 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32301 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32303 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32304 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32305 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32306 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32307 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32308 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32309 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32310 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32311 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32312 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32313 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32314 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32315 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32316 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32317 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32318 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32319 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32320 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32321 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32322 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32323 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32324 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32325 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32326 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32327 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32328 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32329 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32330 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32331 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32332 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32333 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32334 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32335 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32336 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32337 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32338 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32339 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32340 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32341 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32342 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32343 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32344 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32345 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32346 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32347 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32348 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32349 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32350 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32351 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32352 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32353 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32354 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32355 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32356 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32357 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32358 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32359 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32360 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32361 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32362 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32363 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32364 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32365 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32366 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32367 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32368 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32369 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32370 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32371 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32372 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32373 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32374 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32375 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32376 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32377 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32378 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32379 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32380 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32381 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32382 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32383 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32384 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32385 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32386 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32387 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32388 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32389 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32390 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32391 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32392 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32393 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32394 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32395 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32396 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32397 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32398 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32399 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32400 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32401 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32402 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32403 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32404 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32405 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32406 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32407 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32408 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32409 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32410 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32411 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32413 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32414 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32415 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32416 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32417 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32418 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32419 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32420 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32421 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32422 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32423 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32424 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32425 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32426 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32427 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32428 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32430 // Map renamed classes back to their common name for OOR
32431 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32433 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32434 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32435 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32436 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32437 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32438 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32439 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32440 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32441 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32442 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32443 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32444 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32445 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32446 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32447 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32448 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32449 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32450 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32451 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32452 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32453 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32454 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32455 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32456 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32457 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32458 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32459 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32460 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32461 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32462 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32463 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32464 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32465 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32466 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32467 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32468 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32470 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32471 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32472 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32473 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32474 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32475 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32476 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32477 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32478 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32479 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32480 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32481 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32482 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32483 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32484 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32485 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32486 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32487 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32488 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32490 // Map renamed classes back to their common name for OOR
32491 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32492 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32494 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32495 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32496 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32497 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32498 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32499 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32500 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32501 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32502 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32503 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32505 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");