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 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject
* obj
)
431 if (PyErr_Occurred()) {
439 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
460 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
461 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
462 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
463 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
464 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
465 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
467 #include <wx/checklst.h>
470 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
471 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
473 wxPyClientData
* data
= new wxPyClientData(clientData
);
474 self
->Insert(item
, pos
, data
);
476 self
->Insert(item
, pos
);
478 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
480 self
->GetSelections(lst
);
481 PyObject
*tup
= PyTuple_New(lst
.GetCount());
482 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
483 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
487 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
489 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
490 self
->GetItem(item
)->SetTextColour(c
);
493 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
495 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
496 self
->GetItem(item
)->SetBackgroundColour(c
);
499 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
501 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
502 self
->GetItem(item
)->SetFont(f
);
505 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
534 SWIGSTATICINLINE(unsigned long)
535 SWIG_AsUnsignedLong(PyObject
* obj
)
537 if (PyLong_Check(obj
)) {
538 return PyLong_AsUnsignedLong(obj
);
540 long i
= SWIG_AsLong(obj
);
541 if ( !PyErr_Occurred() && (i
< 0)) {
542 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
549 SWIGSTATICINLINE(int)
550 SWIG_CheckUnsignedLong(PyObject
* obj
)
552 SWIG_AsUnsignedLong(obj
);
553 if (PyErr_Occurred()) {
561 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
562 self
->AppendText(text
);
564 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
565 return self
->GetValue().Mid(from
, to
- from
);
567 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
568 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
569 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
570 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
571 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
572 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
573 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
574 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
576 #include <wx/slider.h>
579 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
580 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
583 // implement dummy items for platforms that don't have this class
585 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
587 class wxToggleButton
: public wxControl
590 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
591 const wxPoint
&, const wxSize
&, long,
592 const wxValidator
&, const wxString
&)
593 { wxPyRaiseNotImplemented(); }
596 { wxPyRaiseNotImplemented(); }
600 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
602 SWIGSTATICINLINE(PyObject
* )
603 SWIG_FromUnsignedLong(unsigned long value
)
605 return (value
> LONG_MAX
) ?
606 PyLong_FromUnsignedLong(value
)
607 : PyInt_FromLong(swig_numeric_cast(long,value
));
610 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
611 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
612 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
614 Py_INCREF(udata
->m_obj
);
621 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
622 self
->SetClientData(new wxPyUserData(clientData
));
624 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
){
625 wxPyUserData
* udata
= NULL
;
626 if (clientData
&& clientData
!= Py_None
)
627 udata
= new wxPyUserData(clientData
);
628 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
629 shortHelp
, longHelp
, udata
);
631 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
){
632 wxPyUserData
* udata
= NULL
;
633 if (clientData
&& clientData
!= Py_None
)
634 udata
= new wxPyUserData(clientData
);
635 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
636 shortHelp
, longHelp
, udata
);
638 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
639 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
641 Py_INCREF(udata
->m_obj
);
648 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
649 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
652 #include <wx/listctrl.h>
655 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
656 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
657 // Python aware sorting function for wxPyListCtrl
658 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
660 PyObject
* func
= (PyObject
*)funcPtr
;
661 bool blocked
= wxPyBeginBlockThreads();
663 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
664 PyObject
* result
= PyEval_CallObject(func
, args
);
667 retval
= PyInt_AsLong(result
);
671 wxPyEndBlockThreads(blocked
);
675 // C++ Version of a Python aware class
676 class wxPyListCtrl
: public wxListCtrl
{
677 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
679 wxPyListCtrl() : wxListCtrl() {}
680 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
684 const wxValidator
& validator
,
685 const wxString
& name
) :
686 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
688 bool Create(wxWindow
* parent
, wxWindowID id
,
692 const wxValidator
& validator
,
693 const wxString
& name
) {
694 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
697 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
698 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
699 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
704 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
706 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
707 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
708 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
710 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
712 item
.SetMask( wxLIST_MASK_STATE
|
720 if (self
->GetColumn(col
, item
))
721 return new wxListItem(item
);
725 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
726 wxListItem
* info
= new wxListItem
;
727 info
->m_itemId
= itemId
;
729 info
->m_mask
= 0xFFFF;
730 self
->GetItem(*info
);
733 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
735 self
->GetItemPosition(item
, pos
);
738 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
740 self
->GetItemRect(item
, rect
, code
);
743 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
744 if (!PyCallable_Check(func
))
746 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
748 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
752 return (wxWindow
*)self
->m_mainWin
;
756 #include <wx/treectrl.h>
757 #include "wx/wxPython/pytree.h"
759 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
760 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
761 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
762 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
763 // C++ version of Python aware wxTreeCtrl
764 class wxPyTreeCtrl
: public wxTreeCtrl
{
765 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
767 wxPyTreeCtrl() : wxTreeCtrl() {}
768 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
772 const wxValidator
& validator
,
773 const wxString
& name
) :
774 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
776 bool Create(wxWindow
*parent
, wxWindowID id
,
780 const wxValidator
& validator
,
781 const wxString
& name
) {
782 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
786 int OnCompareItems(const wxTreeItemId
& item1
,
787 const wxTreeItemId
& item2
) {
790 bool blocked
= wxPyBeginBlockThreads();
791 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
792 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
793 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
794 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
798 wxPyEndBlockThreads(blocked
);
800 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
806 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
810 #if UINT_MAX < LONG_MAX
811 #define SWIG_FromUnsignedInt SWIG_FromLong
813 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
817 SWIGSTATICINLINE(unsigned long)
818 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
819 unsigned long max_value
)
821 if (!PyErr_Occurred()) {
822 if (value
> max_value
) {
824 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
825 value
, type
, max_value
);
826 PyErr_SetObject(PyExc_OverflowError
, err
);
834 #if UINT_MAX != ULONG_MAX
835 SWIGSTATICINLINE(unsigned int)
836 SWIG_AsUnsignedInt(PyObject
*obj
)
838 return swig_numeric_cast(unsigned int,
839 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
840 "unsigned int", UINT_MAX
));
843 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
847 SWIGSTATICINLINE(int)
848 SWIG_CheckUnsignedInt(PyObject
* obj
)
850 SWIG_AsUnsignedInt(obj
);
851 if (PyErr_Occurred()) {
859 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
860 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
862 data
= new wxPyTreeItemData();
863 data
->SetId(item
); // set the id
864 self
->SetItemData(item
, data
);
868 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
869 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
871 data
= new wxPyTreeItemData();
872 data
->SetId(item
); // set the id
873 self
->SetItemData(item
, data
);
875 return data
->GetData();
877 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
878 data
->SetId(item
); // set the id
879 self
->SetItemData(item
, data
);
881 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
882 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
884 data
= new wxPyTreeItemData(obj
);
885 data
->SetId(item
); // set the id
886 self
->SetItemData(item
, data
);
890 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
891 bool blocked
= wxPyBeginBlockThreads();
892 PyObject
* rval
= PyList_New(0);
893 wxArrayTreeItemIds array
;
895 num
= self
->GetSelections(array
);
896 for (x
=0; x
< num
; x
++) {
897 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
898 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
899 PyList_Append(rval
, item
);
901 wxPyEndBlockThreads(blocked
);
904 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
906 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
907 bool blocked
= wxPyBeginBlockThreads();
908 PyObject
* tup
= PyTuple_New(2);
909 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
910 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
911 wxPyEndBlockThreads(blocked
);
914 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
915 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
916 bool blocked
= wxPyBeginBlockThreads();
917 PyObject
* tup
= PyTuple_New(2);
918 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
919 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
920 wxPyEndBlockThreads(blocked
);
923 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
925 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
926 bool blocked
= wxPyBeginBlockThreads();
927 wxRect
* r
= new wxRect(rect
);
928 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
929 wxPyEndBlockThreads(blocked
);
935 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
936 // C++ version of Python aware wxControl
937 class wxPyControl
: public wxControl
939 DECLARE_DYNAMIC_CLASS(wxPyControl
)
941 wxPyControl() : wxControl() {}
942 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
943 const wxPoint
& pos
= wxDefaultPosition
,
944 const wxSize
& size
= wxDefaultSize
,
946 const wxValidator
& validator
=wxDefaultValidator
,
947 const wxString
& name
= wxPyControlNameStr
)
948 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
951 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
952 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
954 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
960 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
961 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
963 DEC_PYCALLBACK__(InitDialog
);
964 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
965 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
966 DEC_PYCALLBACK_BOOL_(Validate
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
969 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
970 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
973 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
975 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
976 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
992 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
995 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1007 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1012 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1014 #include <wx/generic/dragimgg.h>
1019 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1020 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1025 static PyObject
*_wrap_ButtonNameStr_get() {
1030 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1032 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1039 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
*resultobj
;
1041 wxWindow
*arg1
= (wxWindow
*) 0 ;
1043 wxString
*arg3
= 0 ;
1044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1048 long arg6
= (long) 0 ;
1049 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1050 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1051 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1052 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1054 bool temp3
= False
;
1057 bool temp8
= False
;
1058 PyObject
* obj0
= 0 ;
1059 PyObject
* obj1
= 0 ;
1060 PyObject
* obj2
= 0 ;
1061 PyObject
* obj3
= 0 ;
1062 PyObject
* obj4
= 0 ;
1063 PyObject
* obj5
= 0 ;
1064 PyObject
* obj6
= 0 ;
1065 PyObject
* obj7
= 0 ;
1067 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1073 arg2
= (int) SWIG_AsInt(obj1
);
1074 if (PyErr_Occurred()) SWIG_fail
;
1076 arg3
= wxString_in_helper(obj2
);
1077 if (arg3
== NULL
) SWIG_fail
;
1083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1093 arg6
= (long) SWIG_AsLong(obj5
);
1094 if (PyErr_Occurred()) SWIG_fail
;
1097 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1101 PyErr_SetString(PyExc_TypeError
,"null reference");
1107 arg8
= wxString_in_helper(obj7
);
1108 if (arg8
== NULL
) SWIG_fail
;
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) SWIG_fail
;
1120 resultobj
= wxPyMake_wxObject(result
);
1144 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 result
= (wxButton
*)new wxButton();
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) SWIG_fail
;
1160 resultobj
= wxPyMake_wxObject(result
);
1168 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
*resultobj
;
1170 wxButton
*arg1
= (wxButton
*) 0 ;
1171 wxWindow
*arg2
= (wxWindow
*) 0 ;
1173 wxString
*arg4
= 0 ;
1174 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1175 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1176 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1177 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1178 long arg7
= (long) 0 ;
1179 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1180 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1181 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1182 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1184 bool temp4
= False
;
1187 bool temp9
= False
;
1188 PyObject
* obj0
= 0 ;
1189 PyObject
* obj1
= 0 ;
1190 PyObject
* obj2
= 0 ;
1191 PyObject
* obj3
= 0 ;
1192 PyObject
* obj4
= 0 ;
1193 PyObject
* obj5
= 0 ;
1194 PyObject
* obj6
= 0 ;
1195 PyObject
* obj7
= 0 ;
1196 PyObject
* obj8
= 0 ;
1198 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1206 arg3
= (int) SWIG_AsInt(obj2
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1209 arg4
= wxString_in_helper(obj3
);
1210 if (arg4
== NULL
) SWIG_fail
;
1216 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1222 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1226 arg7
= (long) SWIG_AsLong(obj6
);
1227 if (PyErr_Occurred()) SWIG_fail
;
1230 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1234 PyErr_SetString(PyExc_TypeError
,"null reference");
1240 arg9
= wxString_in_helper(obj8
);
1241 if (arg9
== NULL
) SWIG_fail
;
1246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1247 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1249 wxPyEndAllowThreads(__tstate
);
1250 if (PyErr_Occurred()) SWIG_fail
;
1253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1277 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
*resultobj
;
1279 wxButton
*arg1
= (wxButton
*) 0 ;
1280 PyObject
* obj0
= 0 ;
1282 (char *) "self", NULL
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 (arg1
)->SetDefault();
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) SWIG_fail
;
1295 Py_INCREF(Py_None
); resultobj
= Py_None
;
1302 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
*resultobj
;
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1312 result
= wxButton::GetDefaultSize();
1314 wxPyEndAllowThreads(__tstate
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1319 resultptr
= new wxSize((wxSize
&) result
);
1320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1328 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1331 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1333 return Py_BuildValue((char *)"");
1335 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
*resultobj
;
1337 wxWindow
*arg1
= (wxWindow
*) 0 ;
1339 wxBitmap
*arg3
= 0 ;
1340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1344 long arg6
= (long) wxBU_AUTODRAW
;
1345 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1346 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1347 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1348 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1349 wxBitmapButton
*result
;
1352 bool temp8
= False
;
1353 PyObject
* obj0
= 0 ;
1354 PyObject
* obj1
= 0 ;
1355 PyObject
* obj2
= 0 ;
1356 PyObject
* obj3
= 0 ;
1357 PyObject
* obj4
= 0 ;
1358 PyObject
* obj5
= 0 ;
1359 PyObject
* obj6
= 0 ;
1360 PyObject
* obj7
= 0 ;
1362 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1368 arg2
= (int) SWIG_AsInt(obj1
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1370 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1374 PyErr_SetString(PyExc_TypeError
,"null reference");
1380 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1386 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1390 arg6
= (long) SWIG_AsLong(obj5
);
1391 if (PyErr_Occurred()) SWIG_fail
;
1394 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1398 PyErr_SetString(PyExc_TypeError
,"null reference");
1404 arg8
= wxString_in_helper(obj7
);
1405 if (arg8
== NULL
) SWIG_fail
;
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1417 resultobj
= wxPyMake_wxObject(result
);
1433 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
*resultobj
;
1435 wxBitmapButton
*result
;
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 result
= (wxBitmapButton
*)new wxBitmapButton();
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) SWIG_fail
;
1449 resultobj
= wxPyMake_wxObject(result
);
1457 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
*resultobj
;
1459 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1460 wxWindow
*arg2
= (wxWindow
*) 0 ;
1462 wxBitmap
*arg4
= 0 ;
1463 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1464 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1465 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1466 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1467 long arg7
= (long) wxBU_AUTODRAW
;
1468 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1469 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1470 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1471 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1475 bool temp9
= False
;
1476 PyObject
* obj0
= 0 ;
1477 PyObject
* obj1
= 0 ;
1478 PyObject
* obj2
= 0 ;
1479 PyObject
* obj3
= 0 ;
1480 PyObject
* obj4
= 0 ;
1481 PyObject
* obj5
= 0 ;
1482 PyObject
* obj6
= 0 ;
1483 PyObject
* obj7
= 0 ;
1484 PyObject
* obj8
= 0 ;
1486 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1494 arg3
= (int) SWIG_AsInt(obj2
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1496 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1500 PyErr_SetString(PyExc_TypeError
,"null reference");
1506 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1512 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1516 arg7
= (long) SWIG_AsLong(obj6
);
1517 if (PyErr_Occurred()) SWIG_fail
;
1520 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1524 PyErr_SetString(PyExc_TypeError
,"null reference");
1530 arg9
= wxString_in_helper(obj8
);
1531 if (arg9
== NULL
) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1559 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
*resultobj
;
1561 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1563 PyObject
* obj0
= 0 ;
1565 (char *) "self", NULL
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 result
= (arg1
)->GetBitmapLabel();
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1579 wxBitmap
* resultptr
;
1580 resultptr
= new wxBitmap((wxBitmap
&) result
);
1581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1589 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1591 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1593 PyObject
* obj0
= 0 ;
1595 (char *) "self", NULL
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 result
= (arg1
)->GetBitmapDisabled();
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1609 wxBitmap
* resultptr
;
1610 resultptr
= new wxBitmap((wxBitmap
&) result
);
1611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1619 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= (arg1
)->GetBitmapFocus();
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1639 wxBitmap
* resultptr
;
1640 resultptr
= new wxBitmap((wxBitmap
&) result
);
1641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1649 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
*resultobj
;
1651 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1653 PyObject
* obj0
= 0 ;
1655 (char *) "self", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 result
= (arg1
)->GetBitmapSelected();
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1669 wxBitmap
* resultptr
;
1670 resultptr
= new wxBitmap((wxBitmap
&) result
);
1671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1679 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
*resultobj
;
1681 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1682 wxBitmap
*arg2
= 0 ;
1683 PyObject
* obj0
= 0 ;
1684 PyObject
* obj1
= 0 ;
1686 (char *) "self",(char *) "bitmap", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1696 PyErr_SetString(PyExc_TypeError
,"null reference");
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 Py_INCREF(Py_None
); resultobj
= Py_None
;
1713 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1716 wxBitmap
*arg2
= 0 ;
1717 PyObject
* obj0
= 0 ;
1718 PyObject
* obj1
= 0 ;
1720 (char *) "self",(char *) "bitmap", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1730 PyErr_SetString(PyExc_TypeError
,"null reference");
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1735 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1740 Py_INCREF(Py_None
); resultobj
= Py_None
;
1747 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
*resultobj
;
1749 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1750 wxBitmap
*arg2
= 0 ;
1751 PyObject
* obj0
= 0 ;
1752 PyObject
* obj1
= 0 ;
1754 (char *) "self",(char *) "bitmap", NULL
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1764 PyErr_SetString(PyExc_TypeError
,"null reference");
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1784 wxBitmap
*arg2
= 0 ;
1785 PyObject
* obj0
= 0 ;
1786 PyObject
* obj1
= 0 ;
1788 (char *) "self",(char *) "bitmap", NULL
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1798 PyErr_SetString(PyExc_TypeError
,"null reference");
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 Py_INCREF(Py_None
); resultobj
= Py_None
;
1815 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1820 PyObject
* obj0
= 0 ;
1821 PyObject
* obj1
= 0 ;
1822 PyObject
* obj2
= 0 ;
1824 (char *) "self",(char *) "x",(char *) "y", NULL
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 arg2
= (int) SWIG_AsInt(obj1
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1832 arg3
= (int) SWIG_AsInt(obj2
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 (arg1
)->SetMargins(arg2
,arg3
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 Py_INCREF(Py_None
); resultobj
= Py_None
;
1848 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1854 (char *) "self", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1867 resultobj
= SWIG_FromInt((int)result
);
1874 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1880 (char *) "self", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 resultobj
= SWIG_FromInt((int)result
);
1900 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1903 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1905 return Py_BuildValue((char *)"");
1907 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1908 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1913 static PyObject
*_wrap_CheckBoxNameStr_get() {
1918 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1920 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1927 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxWindow
*arg1
= (wxWindow
*) 0 ;
1931 wxString
*arg3
= 0 ;
1932 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1933 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1934 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1935 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1936 long arg6
= (long) 0 ;
1937 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1938 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1939 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1940 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1942 bool temp3
= False
;
1945 bool temp8
= False
;
1946 PyObject
* obj0
= 0 ;
1947 PyObject
* obj1
= 0 ;
1948 PyObject
* obj2
= 0 ;
1949 PyObject
* obj3
= 0 ;
1950 PyObject
* obj4
= 0 ;
1951 PyObject
* obj5
= 0 ;
1952 PyObject
* obj6
= 0 ;
1953 PyObject
* obj7
= 0 ;
1955 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1961 arg2
= (int) SWIG_AsInt(obj1
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 arg3
= wxString_in_helper(obj2
);
1965 if (arg3
== NULL
) SWIG_fail
;
1971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1981 arg6
= (long) SWIG_AsLong(obj5
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1985 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1989 PyErr_SetString(PyExc_TypeError
,"null reference");
1995 arg8
= wxString_in_helper(obj7
);
1996 if (arg8
== NULL
) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2030 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2040 result
= (wxCheckBox
*)new wxCheckBox();
2042 wxPyEndAllowThreads(__tstate
);
2043 if (PyErr_Occurred()) SWIG_fail
;
2045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2052 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
*resultobj
;
2054 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2055 wxWindow
*arg2
= (wxWindow
*) 0 ;
2057 wxString
*arg4
= 0 ;
2058 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2059 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2060 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2061 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2062 long arg7
= (long) 0 ;
2063 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2064 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2065 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2066 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2068 bool temp4
= False
;
2071 bool temp9
= False
;
2072 PyObject
* obj0
= 0 ;
2073 PyObject
* obj1
= 0 ;
2074 PyObject
* obj2
= 0 ;
2075 PyObject
* obj3
= 0 ;
2076 PyObject
* obj4
= 0 ;
2077 PyObject
* obj5
= 0 ;
2078 PyObject
* obj6
= 0 ;
2079 PyObject
* obj7
= 0 ;
2080 PyObject
* obj8
= 0 ;
2082 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2090 arg3
= (int) SWIG_AsInt(obj2
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2093 arg4
= wxString_in_helper(obj3
);
2094 if (arg4
== NULL
) SWIG_fail
;
2100 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2106 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2110 arg7
= (long) SWIG_AsLong(obj6
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2114 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2118 PyErr_SetString(PyExc_TypeError
,"null reference");
2124 arg9
= wxString_in_helper(obj8
);
2125 if (arg9
== NULL
) SWIG_fail
;
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2161 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
*resultobj
;
2163 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2165 PyObject
* obj0
= 0 ;
2167 (char *) "self", NULL
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 result
= (bool)(arg1
)->GetValue();
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2189 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2195 (char *) "self", NULL
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 result
= (bool)(arg1
)->IsChecked();
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2217 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
*resultobj
;
2219 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2221 PyObject
* obj0
= 0 ;
2222 PyObject
* obj1
= 0 ;
2224 (char *) "self",(char *) "state", NULL
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2230 arg2
= (bool const) SWIG_AsBool(obj1
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 (arg1
)->SetValue(arg2
);
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2239 Py_INCREF(Py_None
); resultobj
= Py_None
;
2246 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
*resultobj
;
2248 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2250 PyObject
* obj0
= 0 ;
2252 (char *) "self", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2260 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2262 wxPyEndAllowThreads(__tstate
);
2263 if (PyErr_Occurred()) SWIG_fail
;
2265 resultobj
= SWIG_FromInt((int)result
);
2272 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2276 PyObject
* obj0
= 0 ;
2277 PyObject
* obj1
= 0 ;
2279 (char *) "self",(char *) "state", NULL
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2285 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2294 Py_INCREF(Py_None
); resultobj
= Py_None
;
2301 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
*resultobj
;
2303 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2305 PyObject
* obj0
= 0 ;
2307 (char *) "self", NULL
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2329 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
*resultobj
;
2331 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2333 PyObject
* obj0
= 0 ;
2335 (char *) "self", NULL
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) SWIG_fail
;
2349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2357 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2360 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2362 return Py_BuildValue((char *)"");
2364 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2365 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2370 static PyObject
*_wrap_ChoiceNameStr_get() {
2375 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2377 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2384 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxWindow
*arg1
= (wxWindow
*) 0 ;
2388 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2389 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2390 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2391 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2392 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2393 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2394 long arg6
= (long) 0 ;
2395 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2396 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2397 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2398 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2402 bool temp5
= False
;
2403 bool temp8
= False
;
2404 PyObject
* obj0
= 0 ;
2405 PyObject
* obj1
= 0 ;
2406 PyObject
* obj2
= 0 ;
2407 PyObject
* obj3
= 0 ;
2408 PyObject
* obj4
= 0 ;
2409 PyObject
* obj5
= 0 ;
2410 PyObject
* obj6
= 0 ;
2411 PyObject
* obj7
= 0 ;
2413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2419 arg2
= (int) SWIG_AsInt(obj1
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2435 if (! PySequence_Check(obj4
)) {
2436 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2439 arg5
= new wxArrayString
;
2441 int i
, len
=PySequence_Length(obj4
);
2442 for (i
=0; i
<len
; i
++) {
2443 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2445 PyObject
* str
= PyObject_Unicode(item
);
2447 PyObject
* str
= PyObject_Str(item
);
2449 arg5
->Add(Py2wxString(str
));
2456 arg6
= (long) SWIG_AsLong(obj5
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2460 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2464 PyErr_SetString(PyExc_TypeError
,"null reference");
2470 arg8
= wxString_in_helper(obj7
);
2471 if (arg8
== NULL
) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2484 if (temp5
) delete arg5
;
2493 if (temp5
) delete arg5
;
2503 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 result
= (wxChoice
*)new wxChoice();
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2525 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxChoice
*arg1
= (wxChoice
*) 0 ;
2528 wxWindow
*arg2
= (wxWindow
*) 0 ;
2530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2534 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2535 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2536 long arg7
= (long) 0 ;
2537 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2538 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2539 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2540 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2544 bool temp6
= False
;
2545 bool temp9
= False
;
2546 PyObject
* obj0
= 0 ;
2547 PyObject
* obj1
= 0 ;
2548 PyObject
* obj2
= 0 ;
2549 PyObject
* obj3
= 0 ;
2550 PyObject
* obj4
= 0 ;
2551 PyObject
* obj5
= 0 ;
2552 PyObject
* obj6
= 0 ;
2553 PyObject
* obj7
= 0 ;
2554 PyObject
* obj8
= 0 ;
2556 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2564 arg3
= (int) SWIG_AsInt(obj2
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2569 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2575 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2580 if (! PySequence_Check(obj5
)) {
2581 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2584 arg6
= new wxArrayString
;
2586 int i
, len
=PySequence_Length(obj5
);
2587 for (i
=0; i
<len
; i
++) {
2588 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2590 PyObject
* str
= PyObject_Unicode(item
);
2592 PyObject
* str
= PyObject_Str(item
);
2594 arg6
->Add(Py2wxString(str
));
2601 arg7
= (long) SWIG_AsLong(obj6
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2605 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2609 PyErr_SetString(PyExc_TypeError
,"null reference");
2615 arg9
= wxString_in_helper(obj8
);
2616 if (arg9
== NULL
) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2631 if (temp6
) delete arg6
;
2640 if (temp6
) delete arg6
;
2650 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxChoice
*arg1
= (wxChoice
*) 0 ;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2657 (char *) "self",(char *) "n", NULL
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2663 arg2
= (int const) SWIG_AsInt(obj1
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->SetSelection(arg2
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxChoice
*arg1
= (wxChoice
*) 0 ;
2682 wxString
*arg2
= 0 ;
2683 bool temp2
= False
;
2684 PyObject
* obj0
= 0 ;
2685 PyObject
* obj1
= 0 ;
2687 (char *) "self",(char *) "string", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 arg2
= wxString_in_helper(obj1
);
2695 if (arg2
== NULL
) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2705 Py_INCREF(Py_None
); resultobj
= Py_None
;
2720 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxChoice
*arg1
= (wxChoice
*) 0 ;
2724 wxString
*arg3
= 0 ;
2725 bool temp3
= False
;
2726 PyObject
* obj0
= 0 ;
2727 PyObject
* obj1
= 0 ;
2728 PyObject
* obj2
= 0 ;
2730 (char *) "self",(char *) "n",(char *) "string", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2736 arg2
= (int) SWIG_AsInt(obj1
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2739 arg3
= wxString_in_helper(obj2
);
2740 if (arg3
== NULL
) SWIG_fail
;
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2750 Py_INCREF(Py_None
); resultobj
= Py_None
;
2765 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2768 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2770 return Py_BuildValue((char *)"");
2772 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2773 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2778 static PyObject
*_wrap_ComboBoxNameStr_get() {
2783 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2785 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2792 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
;
2794 wxWindow
*arg1
= (wxWindow
*) 0 ;
2796 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2797 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2798 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2799 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2800 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2801 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2802 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2803 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2804 long arg7
= (long) 0 ;
2805 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2806 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2807 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2808 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2810 bool temp3
= False
;
2813 bool temp6
= False
;
2814 bool temp9
= False
;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2817 PyObject
* obj2
= 0 ;
2818 PyObject
* obj3
= 0 ;
2819 PyObject
* obj4
= 0 ;
2820 PyObject
* obj5
= 0 ;
2821 PyObject
* obj6
= 0 ;
2822 PyObject
* obj7
= 0 ;
2823 PyObject
* obj8
= 0 ;
2825 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 arg2
= (int) SWIG_AsInt(obj1
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 arg3
= wxString_in_helper(obj2
);
2836 if (arg3
== NULL
) SWIG_fail
;
2843 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2849 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2854 if (! PySequence_Check(obj5
)) {
2855 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2858 arg6
= new wxArrayString
;
2860 int i
, len
=PySequence_Length(obj5
);
2861 for (i
=0; i
<len
; i
++) {
2862 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2864 PyObject
* str
= PyObject_Unicode(item
);
2866 PyObject
* str
= PyObject_Str(item
);
2868 arg6
->Add(Py2wxString(str
));
2875 arg7
= (long) SWIG_AsLong(obj6
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2879 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2883 PyErr_SetString(PyExc_TypeError
,"null reference");
2889 arg9
= wxString_in_helper(obj8
);
2890 if (arg9
== NULL
) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 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
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2907 if (temp6
) delete arg6
;
2920 if (temp6
) delete arg6
;
2930 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 result
= (wxComboBox
*)new wxComboBox();
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2952 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2955 wxWindow
*arg2
= (wxWindow
*) 0 ;
2957 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2958 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2959 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2960 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2961 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2962 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2963 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2964 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2965 long arg8
= (long) 0 ;
2966 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2967 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2968 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2969 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2971 bool temp4
= False
;
2974 bool temp7
= False
;
2975 bool temp10
= False
;
2976 PyObject
* obj0
= 0 ;
2977 PyObject
* obj1
= 0 ;
2978 PyObject
* obj2
= 0 ;
2979 PyObject
* obj3
= 0 ;
2980 PyObject
* obj4
= 0 ;
2981 PyObject
* obj5
= 0 ;
2982 PyObject
* obj6
= 0 ;
2983 PyObject
* obj7
= 0 ;
2984 PyObject
* obj8
= 0 ;
2985 PyObject
* obj9
= 0 ;
2987 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2995 arg3
= (int) SWIG_AsInt(obj2
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2999 arg4
= wxString_in_helper(obj3
);
3000 if (arg4
== NULL
) SWIG_fail
;
3007 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3013 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3018 if (! PySequence_Check(obj6
)) {
3019 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3022 arg7
= new wxArrayString
;
3024 int i
, len
=PySequence_Length(obj6
);
3025 for (i
=0; i
<len
; i
++) {
3026 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3028 PyObject
* str
= PyObject_Unicode(item
);
3030 PyObject
* str
= PyObject_Str(item
);
3032 arg7
->Add(Py2wxString(str
));
3039 arg8
= (long) SWIG_AsLong(obj7
);
3040 if (PyErr_Occurred()) SWIG_fail
;
3043 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3047 PyErr_SetString(PyExc_TypeError
,"null reference");
3053 arg10
= wxString_in_helper(obj9
);
3054 if (arg10
== NULL
) SWIG_fail
;
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 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
);
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3073 if (temp7
) delete arg7
;
3086 if (temp7
) delete arg7
;
3096 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3100 PyObject
* obj0
= 0 ;
3102 (char *) "self", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 result
= ((wxComboBox
const *)arg1
)->GetValue();
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3128 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3131 wxString
*arg2
= 0 ;
3132 bool temp2
= False
;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3136 (char *) "self",(char *) "value", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3143 arg2
= wxString_in_helper(obj1
);
3144 if (arg2
== NULL
) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 (arg1
)->SetValue((wxString
const &)*arg2
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3154 Py_INCREF(Py_None
); resultobj
= Py_None
;
3169 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3174 (char *) "self", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3187 Py_INCREF(Py_None
); resultobj
= Py_None
;
3194 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
*resultobj
;
3196 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "self", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3212 Py_INCREF(Py_None
); resultobj
= Py_None
;
3219 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3222 PyObject
* obj0
= 0 ;
3224 (char *) "self", NULL
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3237 Py_INCREF(Py_None
); resultobj
= Py_None
;
3244 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3251 (char *) "self",(char *) "pos", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3257 arg2
= (long) SWIG_AsLong(obj1
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SetInsertionPoint(arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3273 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3277 PyObject
* obj0
= 0 ;
3279 (char *) "self", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= SWIG_FromLong((long)result
);
3299 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3303 PyObject
* obj0
= 0 ;
3305 (char *) "self", NULL
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 resultobj
= SWIG_FromLong((long)result
);
3325 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3330 wxString
*arg4
= 0 ;
3331 bool temp4
= False
;
3332 PyObject
* obj0
= 0 ;
3333 PyObject
* obj1
= 0 ;
3334 PyObject
* obj2
= 0 ;
3335 PyObject
* obj3
= 0 ;
3337 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 arg2
= (long) SWIG_AsLong(obj1
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3345 arg3
= (long) SWIG_AsLong(obj2
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 arg4
= wxString_in_helper(obj3
);
3349 if (arg4
== NULL
) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "n", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 arg2
= (int) SWIG_AsInt(obj1
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 (arg1
)->SetSelection(arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3408 PyObject
* obj0
= 0 ;
3409 PyObject
* obj1
= 0 ;
3410 PyObject
* obj2
= 0 ;
3412 (char *) "self",(char *) "from",(char *) "to", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3418 arg2
= (long) SWIG_AsLong(obj1
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3420 arg3
= (long) SWIG_AsLong(obj2
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 (arg1
)->SetSelection(arg2
,arg3
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3429 Py_INCREF(Py_None
); resultobj
= Py_None
;
3436 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
;
3438 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3440 PyObject
* obj0
= 0 ;
3441 PyObject
* obj1
= 0 ;
3443 (char *) "self",(char *) "editable", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3449 arg2
= (bool) SWIG_AsBool(obj1
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 (arg1
)->SetEditable(arg2
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3458 Py_INCREF(Py_None
); resultobj
= Py_None
;
3465 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
*resultobj
;
3467 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3470 (char *) "self", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 (arg1
)->SetInsertionPointEnd();
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 Py_INCREF(Py_None
); resultobj
= Py_None
;
3490 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3497 PyObject
* obj2
= 0 ;
3499 (char *) "self",(char *) "from",(char *) "to", NULL
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3505 arg2
= (long) SWIG_AsLong(obj1
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3507 arg3
= (long) SWIG_AsLong(obj2
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 (arg1
)->Remove(arg2
,arg3
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 Py_INCREF(Py_None
); resultobj
= Py_None
;
3523 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3526 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3528 return Py_BuildValue((char *)"");
3530 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3531 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3536 static PyObject
*_wrap_GaugeNameStr_get() {
3541 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3543 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3550 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxWindow
*arg1
= (wxWindow
*) 0 ;
3555 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3556 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3557 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3558 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3559 long arg6
= (long) wxGA_HORIZONTAL
;
3560 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3561 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3562 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3563 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3567 bool temp8
= False
;
3568 PyObject
* obj0
= 0 ;
3569 PyObject
* obj1
= 0 ;
3570 PyObject
* obj2
= 0 ;
3571 PyObject
* obj3
= 0 ;
3572 PyObject
* obj4
= 0 ;
3573 PyObject
* obj5
= 0 ;
3574 PyObject
* obj6
= 0 ;
3575 PyObject
* obj7
= 0 ;
3577 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3583 arg2
= (int) SWIG_AsInt(obj1
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3585 arg3
= (int) SWIG_AsInt(obj2
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3600 arg6
= (long) SWIG_AsLong(obj5
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3608 PyErr_SetString(PyExc_TypeError
,"null reference");
3614 arg8
= wxString_in_helper(obj7
);
3615 if (arg8
== NULL
) SWIG_fail
;
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3641 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxGauge
*)new wxGauge();
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3663 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxGauge
*arg1
= (wxGauge
*) 0 ;
3666 wxWindow
*arg2
= (wxWindow
*) 0 ;
3669 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3670 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3671 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3672 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3673 long arg7
= (long) wxGA_HORIZONTAL
;
3674 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3675 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3676 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3677 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3681 bool temp9
= False
;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3684 PyObject
* obj2
= 0 ;
3685 PyObject
* obj3
= 0 ;
3686 PyObject
* obj4
= 0 ;
3687 PyObject
* obj5
= 0 ;
3688 PyObject
* obj6
= 0 ;
3689 PyObject
* obj7
= 0 ;
3690 PyObject
* obj8
= 0 ;
3692 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3700 arg3
= (int) SWIG_AsInt(obj2
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3702 arg4
= (int) SWIG_AsInt(obj3
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3707 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3713 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3717 arg7
= (long) SWIG_AsLong(obj6
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3721 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3725 PyErr_SetString(PyExc_TypeError
,"null reference");
3731 arg9
= wxString_in_helper(obj8
);
3732 if (arg9
== NULL
) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3760 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxGauge
*arg1
= (wxGauge
*) 0 ;
3764 PyObject
* obj0
= 0 ;
3765 PyObject
* obj1
= 0 ;
3767 (char *) "self",(char *) "range", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3773 arg2
= (int) SWIG_AsInt(obj1
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 (arg1
)->SetRange(arg2
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 Py_INCREF(Py_None
); resultobj
= Py_None
;
3789 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxGauge
*arg1
= (wxGauge
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 (char *) "self", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3808 resultobj
= SWIG_FromInt((int)result
);
3815 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxGauge
*arg1
= (wxGauge
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3820 PyObject
* obj1
= 0 ;
3822 (char *) "self",(char *) "pos", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3828 arg2
= (int) SWIG_AsInt(obj1
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 (arg1
)->SetValue(arg2
);
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 Py_INCREF(Py_None
); resultobj
= Py_None
;
3844 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxGauge
*arg1
= (wxGauge
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_FromInt((int)result
);
3870 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxGauge
*arg1
= (wxGauge
*) 0 ;
3874 PyObject
* obj0
= 0 ;
3876 (char *) "self", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3898 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
;
3900 wxGauge
*arg1
= (wxGauge
*) 0 ;
3902 PyObject
* obj0
= 0 ;
3903 PyObject
* obj1
= 0 ;
3905 (char *) "self",(char *) "w", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3911 arg2
= (int) SWIG_AsInt(obj1
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 (arg1
)->SetShadowWidth(arg2
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 Py_INCREF(Py_None
); resultobj
= Py_None
;
3927 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxGauge
*arg1
= (wxGauge
*) 0 ;
3931 PyObject
* obj0
= 0 ;
3933 (char *) "self", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= SWIG_FromInt((int)result
);
3953 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxGauge
*arg1
= (wxGauge
*) 0 ;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3960 (char *) "self",(char *) "w", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3966 arg2
= (int) SWIG_AsInt(obj1
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 (arg1
)->SetBezelFace(arg2
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 Py_INCREF(Py_None
); resultobj
= Py_None
;
3982 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
;
3984 wxGauge
*arg1
= (wxGauge
*) 0 ;
3986 PyObject
* obj0
= 0 ;
3988 (char *) "self", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 resultobj
= SWIG_FromInt((int)result
);
4008 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4011 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4013 return Py_BuildValue((char *)"");
4015 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4016 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4021 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4026 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4028 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4035 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4036 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4041 static PyObject
*_wrap_StaticBoxNameStr_get() {
4046 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4048 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4055 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4056 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4061 static PyObject
*_wrap_StaticTextNameStr_get() {
4066 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4068 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4075 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxWindow
*arg1
= (wxWindow
*) 0 ;
4079 wxString
*arg3
= 0 ;
4080 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4081 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4082 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4083 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4084 long arg6
= (long) 0 ;
4085 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4086 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4087 wxStaticBox
*result
;
4088 bool temp3
= False
;
4091 bool temp7
= False
;
4092 PyObject
* obj0
= 0 ;
4093 PyObject
* obj1
= 0 ;
4094 PyObject
* obj2
= 0 ;
4095 PyObject
* obj3
= 0 ;
4096 PyObject
* obj4
= 0 ;
4097 PyObject
* obj5
= 0 ;
4098 PyObject
* obj6
= 0 ;
4100 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4106 arg2
= (int) SWIG_AsInt(obj1
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 arg3
= wxString_in_helper(obj2
);
4110 if (arg3
== NULL
) SWIG_fail
;
4116 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4122 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4126 arg6
= (long) SWIG_AsLong(obj5
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4131 arg7
= wxString_in_helper(obj6
);
4132 if (arg7
== NULL
) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= wxPyMake_wxObject(result
);
4168 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4170 wxStaticBox
*result
;
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (wxStaticBox
*)new wxStaticBox();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= wxPyMake_wxObject(result
);
4192 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4195 wxWindow
*arg2
= (wxWindow
*) 0 ;
4197 wxString
*arg4
= 0 ;
4198 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4199 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4200 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4201 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4202 long arg7
= (long) 0 ;
4203 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4206 bool temp4
= False
;
4209 bool temp8
= False
;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4212 PyObject
* obj2
= 0 ;
4213 PyObject
* obj3
= 0 ;
4214 PyObject
* obj4
= 0 ;
4215 PyObject
* obj5
= 0 ;
4216 PyObject
* obj6
= 0 ;
4217 PyObject
* obj7
= 0 ;
4219 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 arg3
= (int) SWIG_AsInt(obj2
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 arg4
= wxString_in_helper(obj3
);
4231 if (arg4
== NULL
) SWIG_fail
;
4237 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4243 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4247 arg7
= (long) SWIG_AsLong(obj6
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4252 arg8
= wxString_in_helper(obj7
);
4253 if (arg8
== NULL
) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4289 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4292 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4294 return Py_BuildValue((char *)"");
4296 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
;
4298 wxWindow
*arg1
= (wxWindow
*) 0 ;
4300 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4301 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4302 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4303 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4304 long arg5
= (long) wxLI_HORIZONTAL
;
4305 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4306 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4307 wxStaticLine
*result
;
4310 bool temp6
= False
;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4313 PyObject
* obj2
= 0 ;
4314 PyObject
* obj3
= 0 ;
4315 PyObject
* obj4
= 0 ;
4316 PyObject
* obj5
= 0 ;
4318 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4324 arg2
= (int) SWIG_AsInt(obj1
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4329 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4335 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4339 arg5
= (long) SWIG_AsLong(obj4
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4344 arg6
= wxString_in_helper(obj5
);
4345 if (arg6
== NULL
) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4371 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
;
4373 wxStaticLine
*result
;
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (wxStaticLine
*)new wxStaticLine();
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4393 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4396 wxWindow
*arg2
= (wxWindow
*) 0 ;
4398 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4399 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4400 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4401 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4402 long arg6
= (long) wxLI_HORIZONTAL
;
4403 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4404 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4408 bool temp7
= False
;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 PyObject
* obj2
= 0 ;
4412 PyObject
* obj3
= 0 ;
4413 PyObject
* obj4
= 0 ;
4414 PyObject
* obj5
= 0 ;
4415 PyObject
* obj6
= 0 ;
4417 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 arg3
= (int) SWIG_AsInt(obj2
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4440 arg6
= (long) SWIG_AsLong(obj5
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 arg7
= wxString_in_helper(obj6
);
4446 if (arg7
== NULL
) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4474 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4480 (char *) "self", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4502 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 result
= (int)wxStaticLine::GetDefaultSize();
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= SWIG_FromInt((int)result
);
4524 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4527 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4529 return Py_BuildValue((char *)"");
4531 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxWindow
*arg1
= (wxWindow
*) 0 ;
4535 wxString
*arg3
= 0 ;
4536 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4537 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4538 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4539 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4540 long arg6
= (long) 0 ;
4541 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4542 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4543 wxStaticText
*result
;
4544 bool temp3
= False
;
4547 bool temp7
= False
;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4556 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4562 arg2
= (int) SWIG_AsInt(obj1
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 arg3
= wxString_in_helper(obj2
);
4566 if (arg3
== NULL
) SWIG_fail
;
4572 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4578 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4582 arg6
= (long) SWIG_AsLong(obj5
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4587 arg7
= wxString_in_helper(obj6
);
4588 if (arg7
== NULL
) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4622 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxStaticText
*result
;
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 result
= (wxStaticText
*)new wxStaticText();
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4644 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4647 wxWindow
*arg2
= (wxWindow
*) 0 ;
4649 wxString
*arg4
= 0 ;
4650 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4651 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4652 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4653 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4654 long arg7
= (long) 0 ;
4655 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4656 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4658 bool temp4
= False
;
4661 bool temp8
= False
;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4664 PyObject
* obj2
= 0 ;
4665 PyObject
* obj3
= 0 ;
4666 PyObject
* obj4
= 0 ;
4667 PyObject
* obj5
= 0 ;
4668 PyObject
* obj6
= 0 ;
4669 PyObject
* obj7
= 0 ;
4671 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 arg3
= (int) SWIG_AsInt(obj2
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 arg4
= wxString_in_helper(obj3
);
4683 if (arg4
== NULL
) SWIG_fail
;
4689 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4695 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4699 arg7
= (long) SWIG_AsLong(obj6
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4704 arg8
= wxString_in_helper(obj7
);
4705 if (arg8
== NULL
) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4741 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4744 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4746 return Py_BuildValue((char *)"");
4748 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxWindow
*arg1
= (wxWindow
*) 0 ;
4752 wxBitmap
*arg3
= 0 ;
4753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4757 long arg6
= (long) 0 ;
4758 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4760 wxStaticBitmap
*result
;
4763 bool temp7
= False
;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4767 PyObject
* obj3
= 0 ;
4768 PyObject
* obj4
= 0 ;
4769 PyObject
* obj5
= 0 ;
4770 PyObject
* obj6
= 0 ;
4772 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4778 arg2
= (int) SWIG_AsInt(obj1
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4780 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4784 PyErr_SetString(PyExc_TypeError
,"null reference");
4790 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4796 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4800 arg6
= (long) SWIG_AsLong(obj5
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4805 arg7
= wxString_in_helper(obj6
);
4806 if (arg7
== NULL
) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4832 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxStaticBitmap
*result
;
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4854 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4857 wxWindow
*arg2
= (wxWindow
*) 0 ;
4859 wxBitmap
*arg4
= 0 ;
4860 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4861 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4862 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4863 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4864 long arg7
= (long) 0 ;
4865 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4866 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4870 bool temp8
= False
;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4873 PyObject
* obj2
= 0 ;
4874 PyObject
* obj3
= 0 ;
4875 PyObject
* obj4
= 0 ;
4876 PyObject
* obj5
= 0 ;
4877 PyObject
* obj6
= 0 ;
4878 PyObject
* obj7
= 0 ;
4880 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 arg3
= (int) SWIG_AsInt(obj2
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4890 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4894 PyErr_SetString(PyExc_TypeError
,"null reference");
4900 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4906 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4910 arg7
= (long) SWIG_AsLong(obj6
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4915 arg8
= wxString_in_helper(obj7
);
4916 if (arg8
== NULL
) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4944 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "self", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (arg1
)->GetBitmap();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4964 wxBitmap
* resultptr
;
4965 resultptr
= new wxBitmap((wxBitmap
&) result
);
4966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4974 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4977 wxBitmap
*arg2
= 0 ;
4978 PyObject
* obj0
= 0 ;
4979 PyObject
* obj1
= 0 ;
4981 (char *) "self",(char *) "bitmap", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4991 PyErr_SetString(PyExc_TypeError
,"null reference");
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 Py_INCREF(Py_None
); resultobj
= Py_None
;
5008 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5015 (char *) "self",(char *) "icon", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5025 PyErr_SetString(PyExc_TypeError
,"null reference");
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 Py_INCREF(Py_None
); resultobj
= Py_None
;
5042 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5045 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5047 return Py_BuildValue((char *)"");
5049 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5050 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5055 static PyObject
*_wrap_ListBoxNameStr_get() {
5060 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5062 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5069 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxWindow
*arg1
= (wxWindow
*) 0 ;
5073 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5074 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5075 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5076 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5077 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5078 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5079 long arg6
= (long) 0 ;
5080 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5081 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5082 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5083 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5087 bool temp5
= False
;
5088 bool temp8
= False
;
5089 PyObject
* obj0
= 0 ;
5090 PyObject
* obj1
= 0 ;
5091 PyObject
* obj2
= 0 ;
5092 PyObject
* obj3
= 0 ;
5093 PyObject
* obj4
= 0 ;
5094 PyObject
* obj5
= 0 ;
5095 PyObject
* obj6
= 0 ;
5096 PyObject
* obj7
= 0 ;
5098 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5104 arg2
= (int) SWIG_AsInt(obj1
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5109 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5115 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5120 if (! PySequence_Check(obj4
)) {
5121 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5124 arg5
= new wxArrayString
;
5126 int i
, len
=PySequence_Length(obj4
);
5127 for (i
=0; i
<len
; i
++) {
5128 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5130 PyObject
* str
= PyObject_Unicode(item
);
5132 PyObject
* str
= PyObject_Str(item
);
5134 arg5
->Add(Py2wxString(str
));
5141 arg6
= (long) SWIG_AsLong(obj5
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5149 PyErr_SetString(PyExc_TypeError
,"null reference");
5155 arg8
= wxString_in_helper(obj7
);
5156 if (arg8
== NULL
) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5169 if (temp5
) delete arg5
;
5178 if (temp5
) delete arg5
;
5188 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (wxListBox
*)new wxListBox();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5210 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxListBox
*arg1
= (wxListBox
*) 0 ;
5213 wxWindow
*arg2
= (wxWindow
*) 0 ;
5215 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5216 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5217 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5218 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5219 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5220 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5221 long arg7
= (long) 0 ;
5222 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5223 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5224 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5225 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5229 bool temp6
= False
;
5230 bool temp9
= False
;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5233 PyObject
* obj2
= 0 ;
5234 PyObject
* obj3
= 0 ;
5235 PyObject
* obj4
= 0 ;
5236 PyObject
* obj5
= 0 ;
5237 PyObject
* obj6
= 0 ;
5238 PyObject
* obj7
= 0 ;
5239 PyObject
* obj8
= 0 ;
5241 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 arg3
= (int) SWIG_AsInt(obj2
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5265 if (! PySequence_Check(obj5
)) {
5266 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5269 arg6
= new wxArrayString
;
5271 int i
, len
=PySequence_Length(obj5
);
5272 for (i
=0; i
<len
; i
++) {
5273 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5275 PyObject
* str
= PyObject_Unicode(item
);
5277 PyObject
* str
= PyObject_Str(item
);
5279 arg6
->Add(Py2wxString(str
));
5286 arg7
= (long) SWIG_AsLong(obj6
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5294 PyErr_SetString(PyExc_TypeError
,"null reference");
5300 arg9
= wxString_in_helper(obj8
);
5301 if (arg9
== NULL
) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5316 if (temp6
) delete arg6
;
5325 if (temp6
) delete arg6
;
5335 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxListBox
*arg1
= (wxListBox
*) 0 ;
5338 wxString
*arg2
= 0 ;
5340 PyObject
*arg4
= (PyObject
*) NULL
;
5341 bool temp2
= False
;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5344 PyObject
* obj2
= 0 ;
5345 PyObject
* obj3
= 0 ;
5347 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5354 arg2
= wxString_in_helper(obj1
);
5355 if (arg2
== NULL
) SWIG_fail
;
5358 arg3
= (int) SWIG_AsInt(obj2
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 Py_INCREF(Py_None
); resultobj
= Py_None
;
5385 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxListBox
*arg1
= (wxListBox
*) 0 ;
5388 wxArrayString
*arg2
= 0 ;
5390 bool temp2
= False
;
5391 PyObject
* obj0
= 0 ;
5392 PyObject
* obj1
= 0 ;
5393 PyObject
* obj2
= 0 ;
5395 (char *) "self",(char *) "items",(char *) "pos", NULL
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5402 if (! PySequence_Check(obj1
)) {
5403 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5406 arg2
= new wxArrayString
;
5408 int i
, len
=PySequence_Length(obj1
);
5409 for (i
=0; i
<len
; i
++) {
5410 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5412 PyObject
* str
= PyObject_Unicode(item
);
5414 PyObject
* str
= PyObject_Str(item
);
5416 arg2
->Add(Py2wxString(str
));
5421 arg3
= (int) SWIG_AsInt(obj2
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 Py_INCREF(Py_None
); resultobj
= Py_None
;
5432 if (temp2
) delete arg2
;
5437 if (temp2
) delete arg2
;
5443 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxListBox
*arg1
= (wxListBox
*) 0 ;
5446 wxArrayString
*arg2
= 0 ;
5447 bool temp2
= False
;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5451 (char *) "self",(char *) "items", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5458 if (! PySequence_Check(obj1
)) {
5459 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5462 arg2
= new wxArrayString
;
5464 int i
, len
=PySequence_Length(obj1
);
5465 for (i
=0; i
<len
; i
++) {
5466 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5468 PyObject
* str
= PyObject_Unicode(item
);
5470 PyObject
* str
= PyObject_Str(item
);
5472 arg2
->Add(Py2wxString(str
));
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 (arg1
)->Set((wxArrayString
const &)*arg2
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 Py_INCREF(Py_None
); resultobj
= Py_None
;
5486 if (temp2
) delete arg2
;
5491 if (temp2
) delete arg2
;
5497 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
;
5499 wxListBox
*arg1
= (wxListBox
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5505 (char *) "self",(char *) "n", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5511 arg2
= (int) SWIG_AsInt(obj1
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5529 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxListBox
*arg1
= (wxListBox
*) 0 ;
5533 bool arg3
= (bool) True
;
5534 PyObject
* obj0
= 0 ;
5535 PyObject
* obj1
= 0 ;
5536 PyObject
* obj2
= 0 ;
5538 (char *) "self",(char *) "n",(char *) "select", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 arg2
= (int) SWIG_AsInt(obj1
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 arg3
= (bool) SWIG_AsBool(obj2
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 (arg1
)->SetSelection(arg2
,arg3
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 Py_INCREF(Py_None
); resultobj
= Py_None
;
5564 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxListBox
*arg1
= (wxListBox
*) 0 ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5571 (char *) "self",(char *) "n", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5577 arg2
= (int) SWIG_AsInt(obj1
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->Select(arg2
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxListBox
*arg1
= (wxListBox
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "n", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5606 arg2
= (int) SWIG_AsInt(obj1
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 (arg1
)->Deselect(arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 Py_INCREF(Py_None
); resultobj
= Py_None
;
5622 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxListBox
*arg1
= (wxListBox
*) 0 ;
5625 int arg2
= (int) -1 ;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5629 (char *) "self",(char *) "itemToLeaveSelected", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 arg2
= (int) SWIG_AsInt(obj1
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 (arg1
)->DeselectAll(arg2
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 Py_INCREF(Py_None
); resultobj
= Py_None
;
5653 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxListBox
*arg1
= (wxListBox
*) 0 ;
5656 wxString
*arg2
= 0 ;
5657 bool arg3
= (bool) True
;
5659 bool temp2
= False
;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5662 PyObject
* obj2
= 0 ;
5664 (char *) "self",(char *) "s",(char *) "select", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5671 arg2
= wxString_in_helper(obj1
);
5672 if (arg2
== NULL
) SWIG_fail
;
5676 arg3
= (bool) SWIG_AsBool(obj2
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5703 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxListBox
*arg1
= (wxListBox
*) 0 ;
5707 PyObject
* obj0
= 0 ;
5709 (char *) "self", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5729 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
*resultobj
;
5731 wxListBox
*arg1
= (wxListBox
*) 0 ;
5733 PyObject
* obj0
= 0 ;
5734 PyObject
* obj1
= 0 ;
5736 (char *) "self",(char *) "n", NULL
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5742 arg2
= (int) SWIG_AsInt(obj1
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 (arg1
)->SetFirstItem(arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 Py_INCREF(Py_None
); resultobj
= Py_None
;
5758 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxListBox
*arg1
= (wxListBox
*) 0 ;
5761 wxString
*arg2
= 0 ;
5762 bool temp2
= False
;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5766 (char *) "self",(char *) "s", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5773 arg2
= wxString_in_helper(obj1
);
5774 if (arg2
== NULL
) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5784 Py_INCREF(Py_None
); resultobj
= Py_None
;
5799 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
;
5801 wxListBox
*arg1
= (wxListBox
*) 0 ;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5806 (char *) "self",(char *) "n", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5812 arg2
= (int) SWIG_AsInt(obj1
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 (arg1
)->EnsureVisible(arg2
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 Py_INCREF(Py_None
); resultobj
= Py_None
;
5828 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxListBox
*arg1
= (wxListBox
*) 0 ;
5831 wxString
*arg2
= 0 ;
5832 bool temp2
= False
;
5833 PyObject
* obj0
= 0 ;
5834 PyObject
* obj1
= 0 ;
5836 (char *) "self",(char *) "s", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5843 arg2
= wxString_in_helper(obj1
);
5844 if (arg2
== NULL
) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 Py_INCREF(Py_None
); resultobj
= Py_None
;
5869 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxListBox
*arg1
= (wxListBox
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5875 (char *) "self", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5897 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxListBox
*arg1
= (wxListBox
*) 0 ;
5901 wxColour
*arg3
= 0 ;
5903 PyObject
* obj0
= 0 ;
5904 PyObject
* obj1
= 0 ;
5905 PyObject
* obj2
= 0 ;
5907 (char *) "self",(char *) "item",(char *) "c", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5913 arg2
= (int) SWIG_AsInt(obj1
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5917 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5926 Py_INCREF(Py_None
); resultobj
= Py_None
;
5933 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxListBox
*arg1
= (wxListBox
*) 0 ;
5937 wxColour
*arg3
= 0 ;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5941 PyObject
* obj2
= 0 ;
5943 (char *) "self",(char *) "item",(char *) "c", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5949 arg2
= (int) SWIG_AsInt(obj1
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5953 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 Py_INCREF(Py_None
); resultobj
= Py_None
;
5969 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxListBox
*arg1
= (wxListBox
*) 0 ;
5974 PyObject
* obj0
= 0 ;
5975 PyObject
* obj1
= 0 ;
5976 PyObject
* obj2
= 0 ;
5978 (char *) "self",(char *) "item",(char *) "f", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5984 arg2
= (int) SWIG_AsInt(obj1
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5986 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5990 PyErr_SetString(PyExc_TypeError
,"null reference");
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 Py_INCREF(Py_None
); resultobj
= Py_None
;
6007 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6010 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6012 return Py_BuildValue((char *)"");
6014 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
;
6016 wxWindow
*arg1
= (wxWindow
*) 0 ;
6018 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6019 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6020 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6021 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6022 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6023 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6024 long arg6
= (long) 0 ;
6025 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6026 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6027 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6028 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6029 wxCheckListBox
*result
;
6032 bool temp5
= False
;
6033 bool temp8
= False
;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6036 PyObject
* obj2
= 0 ;
6037 PyObject
* obj3
= 0 ;
6038 PyObject
* obj4
= 0 ;
6039 PyObject
* obj5
= 0 ;
6040 PyObject
* obj6
= 0 ;
6041 PyObject
* obj7
= 0 ;
6043 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 arg2
= (int) SWIG_AsInt(obj1
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6054 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6060 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6065 if (! PySequence_Check(obj4
)) {
6066 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6069 arg5
= new wxArrayString
;
6071 int i
, len
=PySequence_Length(obj4
);
6072 for (i
=0; i
<len
; i
++) {
6073 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6075 PyObject
* str
= PyObject_Unicode(item
);
6077 PyObject
* str
= PyObject_Str(item
);
6079 arg5
->Add(Py2wxString(str
));
6086 arg6
= (long) SWIG_AsLong(obj5
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6090 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6094 PyErr_SetString(PyExc_TypeError
,"null reference");
6100 arg8
= wxString_in_helper(obj7
);
6101 if (arg8
== NULL
) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6114 if (temp5
) delete arg5
;
6123 if (temp5
) delete arg5
;
6133 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxCheckListBox
*result
;
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (wxCheckListBox
*)new wxCheckListBox();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6155 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6158 wxWindow
*arg2
= (wxWindow
*) 0 ;
6160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6164 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6165 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6166 long arg7
= (long) 0 ;
6167 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6168 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6169 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6170 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6174 bool temp6
= False
;
6175 bool temp9
= False
;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6178 PyObject
* obj2
= 0 ;
6179 PyObject
* obj3
= 0 ;
6180 PyObject
* obj4
= 0 ;
6181 PyObject
* obj5
= 0 ;
6182 PyObject
* obj6
= 0 ;
6183 PyObject
* obj7
= 0 ;
6184 PyObject
* obj8
= 0 ;
6186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6194 arg3
= (int) SWIG_AsInt(obj2
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6210 if (! PySequence_Check(obj5
)) {
6211 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6214 arg6
= new wxArrayString
;
6216 int i
, len
=PySequence_Length(obj5
);
6217 for (i
=0; i
<len
; i
++) {
6218 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6220 PyObject
* str
= PyObject_Unicode(item
);
6222 PyObject
* str
= PyObject_Str(item
);
6224 arg6
->Add(Py2wxString(str
));
6231 arg7
= (long) SWIG_AsLong(obj6
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6235 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6239 PyErr_SetString(PyExc_TypeError
,"null reference");
6245 arg9
= wxString_in_helper(obj8
);
6246 if (arg9
== NULL
) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6261 if (temp6
) delete arg6
;
6270 if (temp6
) delete arg6
;
6280 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6286 PyObject
* obj1
= 0 ;
6288 (char *) "self",(char *) "index", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 arg2
= (int) SWIG_AsInt(obj1
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (bool)(arg1
)->IsChecked(arg2
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6312 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6316 int arg3
= (int) True
;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6319 PyObject
* obj2
= 0 ;
6321 (char *) "self",(char *) "index",(char *) "check", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6327 arg2
= (int) SWIG_AsInt(obj1
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 arg3
= (int) SWIG_AsInt(obj2
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 (arg1
)->Check(arg2
,arg3
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 Py_INCREF(Py_None
); resultobj
= Py_None
;
6347 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (int)(arg1
)->GetItemHeight();
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_FromInt((int)result
);
6373 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6380 PyObject
* obj1
= 0 ;
6382 (char *) "self",(char *) "pt", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6390 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= SWIG_FromInt((int)result
);
6406 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6413 PyObject
* obj1
= 0 ;
6414 PyObject
* obj2
= 0 ;
6416 (char *) "self",(char *) "x",(char *) "y", NULL
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6422 arg2
= (int) SWIG_AsInt(obj1
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6424 arg3
= (int) SWIG_AsInt(obj2
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= SWIG_FromInt((int)result
);
6440 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6443 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6445 return Py_BuildValue((char *)"");
6447 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6448 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6453 static PyObject
*_wrap_TextCtrlNameStr_get() {
6458 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6460 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6467 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6468 PyObject
*resultobj
;
6471 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (wxTextAttr
*)new wxTextAttr();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6486 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6487 PyObject
*resultobj
;
6488 wxColour
*arg1
= 0 ;
6489 wxColour
const &arg2_defvalue
= wxNullColour
;
6490 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6491 wxFont
const &arg3_defvalue
= wxNullFont
;
6492 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6493 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6497 PyObject
* obj0
= 0 ;
6498 PyObject
* obj1
= 0 ;
6499 PyObject
* obj2
= 0 ;
6500 PyObject
* obj3
= 0 ;
6502 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6505 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6514 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6518 PyErr_SetString(PyExc_TypeError
,"null reference");
6523 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6540 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6545 argc
= PyObject_Length(args
);
6546 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6547 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6550 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6552 if ((argc
>= 1) && (argc
<= 4)) {
6555 _v
= wxColour_typecheck(argv
[0]);
6559 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6562 _v
= wxColour_typecheck(argv
[1]);
6566 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6570 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6579 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6581 _v
= SWIG_CheckInt(argv
[3]);
6583 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6590 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6595 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6623 PyObject
* obj0
= 0 ;
6625 (char *) "self", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 Py_INCREF(Py_None
); resultobj
= Py_None
;
6645 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6648 wxColour
*arg2
= 0 ;
6650 PyObject
* obj0
= 0 ;
6651 PyObject
* obj1
= 0 ;
6653 (char *) "self",(char *) "colText", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6661 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 Py_INCREF(Py_None
); resultobj
= Py_None
;
6677 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6680 wxColour
*arg2
= 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6685 (char *) "self",(char *) "colBack", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6693 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 Py_INCREF(Py_None
); resultobj
= Py_None
;
6709 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6711 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6713 long arg3
= (long) wxTEXT_ATTR_FONT
;
6714 PyObject
* obj0
= 0 ;
6715 PyObject
* obj1
= 0 ;
6716 PyObject
* obj2
= 0 ;
6718 (char *) "self",(char *) "font",(char *) "flags", NULL
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6728 PyErr_SetString(PyExc_TypeError
,"null reference");
6732 arg3
= (long) SWIG_AsLong(obj2
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 Py_INCREF(Py_None
); resultobj
= Py_None
;
6749 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6756 (char *) "self",(char *) "alignment", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6762 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6781 wxArrayInt
*arg2
= 0 ;
6782 bool temp2
= False
;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6786 (char *) "self",(char *) "tabs", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6793 if (! PySequence_Check(obj1
)) {
6794 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6797 arg2
= new wxArrayInt
;
6799 int i
, len
=PySequence_Length(obj1
);
6800 for (i
=0; i
<len
; i
++) {
6801 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6802 PyObject
* number
= PyNumber_Int(item
);
6803 arg2
->Add(PyInt_AS_LONG(number
));
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 Py_INCREF(Py_None
); resultobj
= Py_None
;
6817 if (temp2
) delete arg2
;
6822 if (temp2
) delete arg2
;
6828 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6835 (char *) "self",(char *) "indent", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6841 arg2
= (int) SWIG_AsInt(obj1
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 (arg1
)->SetLeftIndent(arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 Py_INCREF(Py_None
); resultobj
= Py_None
;
6857 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6864 (char *) "self",(char *) "indent", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6870 arg2
= (int) SWIG_AsInt(obj1
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 (arg1
)->SetRightIndent(arg2
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 Py_INCREF(Py_None
); resultobj
= Py_None
;
6886 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6891 PyObject
* obj1
= 0 ;
6893 (char *) "self",(char *) "flags", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6899 arg2
= (long) SWIG_AsLong(obj1
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 (arg1
)->SetFlags(arg2
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 Py_INCREF(Py_None
); resultobj
= Py_None
;
6915 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6921 (char *) "self", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6943 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "self", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6971 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6977 (char *) "self", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6999 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7005 (char *) "self", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7027 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7033 (char *) "self", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7055 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "self", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7083 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 (char *) "self", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7111 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7119 (char *) "self",(char *) "flag", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7125 arg2
= (long) SWIG_AsLong(obj1
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7143 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7149 (char *) "self", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7159 result
= (wxColour
*) &_result_ref
;
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7172 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7188 result
= (wxColour
*) &_result_ref
;
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7201 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "self", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7217 result
= (wxFont
*) &_result_ref
;
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7224 wxFont
* resultptr
= new wxFont(*result
);
7225 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7233 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7239 (char *) "self", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_FromInt((int)result
);
7259 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7265 (char *) "self", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7275 result
= (wxArrayInt
*) &_result_ref
;
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= PyList_New(0);
7284 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7285 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7286 PyList_Append(resultobj
, val
);
7296 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7300 PyObject
* obj0
= 0 ;
7302 (char *) "self", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_FromLong((long)result
);
7322 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7326 PyObject
* obj0
= 0 ;
7328 (char *) "self", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= SWIG_FromLong((long)result
);
7348 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "self", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_FromLong((long)result
);
7374 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "self", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7402 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxTextAttr
*arg1
= 0 ;
7405 wxTextAttr
*arg2
= 0 ;
7406 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7409 PyObject
* obj1
= 0 ;
7410 PyObject
* obj2
= 0 ;
7412 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7420 PyErr_SetString(PyExc_TypeError
,"null reference");
7423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7427 PyErr_SetString(PyExc_TypeError
,"null reference");
7430 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7440 wxTextAttr
* resultptr
;
7441 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7450 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7453 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7455 return Py_BuildValue((char *)"");
7457 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxWindow
*arg1
= (wxWindow
*) 0 ;
7461 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7463 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7464 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7465 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7466 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7467 long arg6
= (long) 0 ;
7468 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7469 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7470 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7471 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7473 bool temp3
= False
;
7476 bool temp8
= False
;
7477 PyObject
* obj0
= 0 ;
7478 PyObject
* obj1
= 0 ;
7479 PyObject
* obj2
= 0 ;
7480 PyObject
* obj3
= 0 ;
7481 PyObject
* obj4
= 0 ;
7482 PyObject
* obj5
= 0 ;
7483 PyObject
* obj6
= 0 ;
7484 PyObject
* obj7
= 0 ;
7486 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7492 arg2
= (int) SWIG_AsInt(obj1
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7496 arg3
= wxString_in_helper(obj2
);
7497 if (arg3
== NULL
) SWIG_fail
;
7504 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7510 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7514 arg6
= (long) SWIG_AsLong(obj5
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7522 PyErr_SetString(PyExc_TypeError
,"null reference");
7528 arg8
= wxString_in_helper(obj7
);
7529 if (arg8
== NULL
) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= wxPyMake_wxObject(result
);
7565 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (wxTextCtrl
*)new wxTextCtrl();
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= wxPyMake_wxObject(result
);
7589 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7592 wxWindow
*arg2
= (wxWindow
*) 0 ;
7594 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7595 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7596 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7597 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7598 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7599 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7600 long arg7
= (long) 0 ;
7601 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7602 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7603 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7604 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7606 bool temp4
= False
;
7609 bool temp9
= False
;
7610 PyObject
* obj0
= 0 ;
7611 PyObject
* obj1
= 0 ;
7612 PyObject
* obj2
= 0 ;
7613 PyObject
* obj3
= 0 ;
7614 PyObject
* obj4
= 0 ;
7615 PyObject
* obj5
= 0 ;
7616 PyObject
* obj6
= 0 ;
7617 PyObject
* obj7
= 0 ;
7618 PyObject
* obj8
= 0 ;
7620 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7628 arg3
= (int) SWIG_AsInt(obj2
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 arg4
= wxString_in_helper(obj3
);
7633 if (arg4
== NULL
) SWIG_fail
;
7640 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7646 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7650 arg7
= (long) SWIG_AsLong(obj6
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7658 PyErr_SetString(PyExc_TypeError
,"null reference");
7664 arg9
= wxString_in_helper(obj8
);
7665 if (arg9
== NULL
) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7701 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7707 (char *) "self", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7733 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7736 wxString
*arg2
= 0 ;
7737 bool temp2
= False
;
7738 PyObject
* obj0
= 0 ;
7739 PyObject
* obj1
= 0 ;
7741 (char *) "self",(char *) "value", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7748 arg2
= wxString_in_helper(obj1
);
7749 if (arg2
== NULL
) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 (arg1
)->SetValue((wxString
const &)*arg2
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 Py_INCREF(Py_None
); resultobj
= Py_None
;
7774 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 PyObject
* obj2
= 0 ;
7784 (char *) "self",(char *) "from",(char *) "to", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7790 arg2
= (long) SWIG_AsLong(obj1
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7792 arg3
= (long) SWIG_AsLong(obj2
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7814 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7822 (char *) "self",(char *) "lineNo", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7828 arg2
= (long) SWIG_AsLong(obj1
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_FromInt((int)result
);
7844 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
;
7846 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7852 (char *) "self",(char *) "lineNo", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 arg2
= (long) SWIG_AsLong(obj1
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7880 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7884 PyObject
* obj0
= 0 ;
7886 (char *) "self", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= SWIG_FromInt((int)result
);
7906 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
;
7908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7910 PyObject
* obj0
= 0 ;
7912 (char *) "self", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7934 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "self", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7962 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7968 (char *) "self", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7990 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7996 (char *) "self", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8018 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
;
8020 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8021 long *arg2
= (long *) 0 ;
8022 long *arg3
= (long *) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8045 resultobj
= t_output_helper(resultobj
,o
);
8048 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8049 resultobj
= t_output_helper(resultobj
,o
);
8057 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8061 PyObject
* obj0
= 0 ;
8063 (char *) "self", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8089 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8094 (char *) "self", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 Py_INCREF(Py_None
); resultobj
= Py_None
;
8114 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8119 wxString
*arg4
= 0 ;
8120 bool temp4
= False
;
8121 PyObject
* obj0
= 0 ;
8122 PyObject
* obj1
= 0 ;
8123 PyObject
* obj2
= 0 ;
8124 PyObject
* obj3
= 0 ;
8126 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 arg2
= (long) SWIG_AsLong(obj1
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8134 arg3
= (long) SWIG_AsLong(obj2
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 arg4
= wxString_in_helper(obj3
);
8138 if (arg4
== NULL
) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 Py_INCREF(Py_None
); resultobj
= Py_None
;
8163 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8170 PyObject
* obj2
= 0 ;
8172 (char *) "self",(char *) "from",(char *) "to", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8178 arg2
= (long) SWIG_AsLong(obj1
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8180 arg3
= (long) SWIG_AsLong(obj2
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 (arg1
)->Remove(arg2
,arg3
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 Py_INCREF(Py_None
); resultobj
= Py_None
;
8196 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8199 wxString
*arg2
= 0 ;
8201 bool temp2
= False
;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8205 (char *) "self",(char *) "file", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8212 arg2
= wxString_in_helper(obj1
);
8213 if (arg2
== NULL
) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8240 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8243 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8244 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8246 bool temp2
= False
;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8250 (char *) "self",(char *) "file", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8258 arg2
= wxString_in_helper(obj1
);
8259 if (arg2
== NULL
) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8287 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8292 (char *) "self", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 (arg1
)->MarkDirty();
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8312 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8315 PyObject
* obj0
= 0 ;
8317 (char *) "self", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 (arg1
)->DiscardEdits();
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8340 unsigned long arg2
;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8344 (char *) "self",(char *) "len", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8350 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 (arg1
)->SetMaxLength(arg2
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8369 wxString
*arg2
= 0 ;
8370 bool temp2
= False
;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8374 (char *) "self",(char *) "text", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->WriteText((wxString
const &)*arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8410 wxString
*arg2
= 0 ;
8411 bool temp2
= False
;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8415 (char *) "self",(char *) "text", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8422 arg2
= wxString_in_helper(obj1
);
8423 if (arg2
== NULL
) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 (arg1
)->AppendText((wxString
const &)*arg2
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 Py_INCREF(Py_None
); resultobj
= Py_None
;
8448 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8451 wxKeyEvent
*arg2
= 0 ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8456 (char *) "self",(char *) "event", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8466 PyErr_SetString(PyExc_TypeError
,"null reference");
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8485 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8490 wxTextAttr
*arg4
= 0 ;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8494 PyObject
* obj2
= 0 ;
8495 PyObject
* obj3
= 0 ;
8497 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 arg2
= (long) SWIG_AsLong(obj1
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8505 arg3
= (long) SWIG_AsLong(obj2
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8507 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8511 PyErr_SetString(PyExc_TypeError
,"null reference");
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8530 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8534 wxTextAttr
*arg3
= 0 ;
8536 PyObject
* obj0
= 0 ;
8537 PyObject
* obj1
= 0 ;
8538 PyObject
* obj2
= 0 ;
8540 (char *) "self",(char *) "position",(char *) "style", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8546 arg2
= (long) SWIG_AsLong(obj1
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8548 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8552 PyErr_SetString(PyExc_TypeError
,"null reference");
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8571 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8574 wxTextAttr
*arg2
= 0 ;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8579 (char *) "self",(char *) "style", NULL
8582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8589 PyErr_SetString(PyExc_TypeError
,"null reference");
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8608 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8612 PyObject
* obj0
= 0 ;
8614 (char *) "self", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8624 result
= (wxTextAttr
*) &_result_ref
;
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8637 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8645 PyObject
* obj2
= 0 ;
8647 (char *) "self",(char *) "x",(char *) "y", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8653 arg2
= (long) SWIG_AsLong(obj1
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8655 arg3
= (long) SWIG_AsLong(obj2
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_FromLong((long)result
);
8671 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8675 long *arg3
= (long *) 0 ;
8676 long *arg4
= (long *) 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8682 (char *) "self",(char *) "pos", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8690 arg2
= (long) SWIG_AsLong(obj1
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8702 resultobj
= t_output_helper(resultobj
,o
);
8705 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8706 resultobj
= t_output_helper(resultobj
,o
);
8714 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8721 (char *) "self",(char *) "pos", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 arg2
= (long) SWIG_AsLong(obj1
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 (arg1
)->ShowPosition(arg2
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8747 long *arg3
= (long *) 0 ;
8748 long *arg4
= (long *) 0 ;
8753 PyObject
* obj0
= 0 ;
8754 PyObject
* obj1
= 0 ;
8756 (char *) "self",(char *) "pt", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8766 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_FromInt((int)result
);
8777 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8778 resultobj
= t_output_helper(resultobj
,o
);
8781 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8782 resultobj
= t_output_helper(resultobj
,o
);
8790 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
;
8792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8793 PyObject
* obj0
= 0 ;
8795 (char *) "self", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 Py_INCREF(Py_None
); resultobj
= Py_None
;
8815 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8818 PyObject
* obj0
= 0 ;
8820 (char *) "self", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8840 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
;
8842 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8843 PyObject
* obj0
= 0 ;
8845 (char *) "self", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8871 (char *) "self", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8893 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8899 (char *) "self", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8921 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8925 PyObject
* obj0
= 0 ;
8927 (char *) "self", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8949 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8954 (char *) "self", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 Py_INCREF(Py_None
); resultobj
= Py_None
;
8974 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8977 PyObject
* obj0
= 0 ;
8979 (char *) "self", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9005 (char *) "self", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9027 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9031 PyObject
* obj0
= 0 ;
9033 (char *) "self", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9055 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9062 (char *) "self",(char *) "pos", NULL
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 arg2
= (long) SWIG_AsLong(obj1
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 (arg1
)->SetInsertionPoint(arg2
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 Py_INCREF(Py_None
); resultobj
= Py_None
;
9084 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9089 (char *) "self", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 (arg1
)->SetInsertionPointEnd();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 Py_INCREF(Py_None
); resultobj
= Py_None
;
9109 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "self", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_FromLong((long)result
);
9135 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "self", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_FromLong((long)result
);
9161 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
;
9163 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9166 PyObject
* obj0
= 0 ;
9167 PyObject
* obj1
= 0 ;
9168 PyObject
* obj2
= 0 ;
9170 (char *) "self",(char *) "from",(char *) "to", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9176 arg2
= (long) SWIG_AsLong(obj1
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9178 arg3
= (long) SWIG_AsLong(obj2
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 (arg1
)->SetSelection(arg2
,arg3
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 Py_INCREF(Py_None
); resultobj
= Py_None
;
9194 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9197 PyObject
* obj0
= 0 ;
9199 (char *) "self", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 (arg1
)->SelectAll();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 Py_INCREF(Py_None
); resultobj
= Py_None
;
9219 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9226 (char *) "self",(char *) "editable", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 arg2
= (bool) SWIG_AsBool(obj1
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 (arg1
)->SetEditable(arg2
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 Py_INCREF(Py_None
); resultobj
= Py_None
;
9248 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9251 wxString
*arg2
= 0 ;
9252 bool temp2
= False
;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9256 (char *) "self",(char *) "text", NULL
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9263 arg2
= wxString_in_helper(obj1
);
9264 if (arg2
== NULL
) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 Py_INCREF(Py_None
); resultobj
= Py_None
;
9289 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 PyObject
* obj2
= 0 ;
9299 (char *) "self",(char *) "from",(char *) "to", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9305 arg2
= (long) SWIG_AsLong(obj1
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9307 arg3
= (long) SWIG_AsLong(obj2
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9329 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9332 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9334 return Py_BuildValue((char *)"");
9336 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9339 wxMouseEvent
*arg2
= 0 ;
9342 wxTextUrlEvent
*result
;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9346 PyObject
* obj3
= 0 ;
9348 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9352 arg1
= (int) SWIG_AsInt(obj0
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9358 PyErr_SetString(PyExc_TypeError
,"null reference");
9361 arg3
= (long) SWIG_AsLong(obj2
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9363 arg4
= (long) SWIG_AsLong(obj3
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9379 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9382 wxMouseEvent
*result
;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9395 result
= (wxMouseEvent
*) &_result_ref
;
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9408 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9414 (char *) "self", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_FromLong((long)result
);
9434 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_FromLong((long)result
);
9460 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9463 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9465 return Py_BuildValue((char *)"");
9467 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9468 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9473 static PyObject
*_wrap_ScrollBarNameStr_get() {
9478 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9480 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9487 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxWindow
*arg1
= (wxWindow
*) 0 ;
9490 int arg2
= (int) -1 ;
9491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9495 long arg5
= (long) wxSB_HORIZONTAL
;
9496 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9497 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9498 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9499 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9500 wxScrollBar
*result
;
9503 bool temp7
= False
;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9507 PyObject
* obj3
= 0 ;
9508 PyObject
* obj4
= 0 ;
9509 PyObject
* obj5
= 0 ;
9510 PyObject
* obj6
= 0 ;
9512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9519 arg2
= (int) SWIG_AsInt(obj1
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9531 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9535 arg5
= (long) SWIG_AsLong(obj4
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9539 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9543 PyErr_SetString(PyExc_TypeError
,"null reference");
9549 arg7
= wxString_in_helper(obj6
);
9550 if (arg7
== NULL
) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9576 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxScrollBar
*result
;
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (wxScrollBar
*)new wxScrollBar();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9598 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9601 wxWindow
*arg2
= (wxWindow
*) 0 ;
9602 int arg3
= (int) -1 ;
9603 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9604 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9605 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9606 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9607 long arg6
= (long) wxSB_HORIZONTAL
;
9608 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9609 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9610 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9611 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9615 bool temp8
= False
;
9616 PyObject
* obj0
= 0 ;
9617 PyObject
* obj1
= 0 ;
9618 PyObject
* obj2
= 0 ;
9619 PyObject
* obj3
= 0 ;
9620 PyObject
* obj4
= 0 ;
9621 PyObject
* obj5
= 0 ;
9622 PyObject
* obj6
= 0 ;
9623 PyObject
* obj7
= 0 ;
9625 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9634 arg3
= (int) SWIG_AsInt(obj2
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9650 arg6
= (long) SWIG_AsLong(obj5
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9658 PyErr_SetString(PyExc_TypeError
,"null reference");
9664 arg8
= wxString_in_helper(obj7
);
9665 if (arg8
== NULL
) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9693 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9697 PyObject
* obj0
= 0 ;
9699 (char *) "self", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_FromInt((int)result
);
9719 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9725 (char *) "self", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_FromInt((int)result
);
9745 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "self", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= SWIG_FromInt((int)result
);
9771 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_FromInt((int)result
);
9797 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9825 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9830 PyObject
* obj1
= 0 ;
9832 (char *) "self",(char *) "viewStart", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9838 arg2
= (int) SWIG_AsInt(obj1
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 (arg1
)->SetThumbPosition(arg2
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 Py_INCREF(Py_None
); resultobj
= Py_None
;
9854 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9861 bool arg6
= (bool) True
;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9864 PyObject
* obj2
= 0 ;
9865 PyObject
* obj3
= 0 ;
9866 PyObject
* obj4
= 0 ;
9867 PyObject
* obj5
= 0 ;
9869 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9875 arg2
= (int) SWIG_AsInt(obj1
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9877 arg3
= (int) SWIG_AsInt(obj2
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9879 arg4
= (int) SWIG_AsInt(obj3
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9881 arg5
= (int) SWIG_AsInt(obj4
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9884 arg6
= (bool) SWIG_AsBool(obj5
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 Py_INCREF(Py_None
); resultobj
= Py_None
;
9901 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9904 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9906 return Py_BuildValue((char *)"");
9908 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9909 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9914 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9919 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9921 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9928 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9929 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9934 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9939 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9941 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9948 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxWindow
*arg1
= (wxWindow
*) 0 ;
9951 int arg2
= (int) -1 ;
9952 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9953 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9954 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9955 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9956 long arg5
= (long) wxSP_HORIZONTAL
;
9957 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9958 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9959 wxSpinButton
*result
;
9962 bool temp6
= False
;
9963 PyObject
* obj0
= 0 ;
9964 PyObject
* obj1
= 0 ;
9965 PyObject
* obj2
= 0 ;
9966 PyObject
* obj3
= 0 ;
9967 PyObject
* obj4
= 0 ;
9968 PyObject
* obj5
= 0 ;
9970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9977 arg2
= (int) SWIG_AsInt(obj1
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9989 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9993 arg5
= (long) SWIG_AsLong(obj4
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9998 arg6
= wxString_in_helper(obj5
);
9999 if (arg6
== NULL
) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10025 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxSpinButton
*result
;
10028 char *kwnames
[] = {
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (wxSpinButton
*)new wxSpinButton();
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10047 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10050 wxWindow
*arg2
= (wxWindow
*) 0 ;
10051 int arg3
= (int) -1 ;
10052 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10053 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10054 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10055 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10056 long arg6
= (long) wxSP_HORIZONTAL
;
10057 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10058 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10062 bool temp7
= False
;
10063 PyObject
* obj0
= 0 ;
10064 PyObject
* obj1
= 0 ;
10065 PyObject
* obj2
= 0 ;
10066 PyObject
* obj3
= 0 ;
10067 PyObject
* obj4
= 0 ;
10068 PyObject
* obj5
= 0 ;
10069 PyObject
* obj6
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 arg3
= (int) SWIG_AsInt(obj2
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10096 arg6
= (long) SWIG_AsLong(obj5
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10101 arg7
= wxString_in_helper(obj6
);
10102 if (arg7
== NULL
) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10130 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_FromInt((int)result
);
10156 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_FromInt((int)result
);
10182 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= SWIG_FromInt((int)result
);
10208 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self",(char *) "val", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10221 arg2
= (int) SWIG_AsInt(obj1
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 (arg1
)->SetValue(arg2
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 Py_INCREF(Py_None
); resultobj
= Py_None
;
10237 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self",(char *) "minVal", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10250 arg2
= (int) SWIG_AsInt(obj1
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 (arg1
)->SetMin(arg2
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 Py_INCREF(Py_None
); resultobj
= Py_None
;
10266 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10270 PyObject
* obj0
= 0 ;
10271 PyObject
* obj1
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self",(char *) "maxVal", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10279 arg2
= (int) SWIG_AsInt(obj1
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 (arg1
)->SetMax(arg2
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 Py_INCREF(Py_None
); resultobj
= Py_None
;
10295 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 PyObject
* obj2
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 arg2
= (int) SWIG_AsInt(obj1
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10312 arg3
= (int) SWIG_AsInt(obj2
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 (arg1
)->SetRange(arg2
,arg3
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 Py_INCREF(Py_None
); resultobj
= Py_None
;
10328 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10332 PyObject
* obj0
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10356 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10359 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10361 return Py_BuildValue((char *)"");
10363 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxWindow
*arg1
= (wxWindow
*) 0 ;
10366 int arg2
= (int) -1 ;
10367 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10368 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10369 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10370 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10371 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10372 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10373 long arg6
= (long) wxSP_ARROW_KEYS
;
10374 int arg7
= (int) 0 ;
10375 int arg8
= (int) 100 ;
10376 int arg9
= (int) 0 ;
10377 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10378 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10379 wxSpinCtrl
*result
;
10380 bool temp3
= False
;
10383 bool temp10
= False
;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 PyObject
* obj3
= 0 ;
10388 PyObject
* obj4
= 0 ;
10389 PyObject
* obj5
= 0 ;
10390 PyObject
* obj6
= 0 ;
10391 PyObject
* obj7
= 0 ;
10392 PyObject
* obj8
= 0 ;
10393 PyObject
* obj9
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10402 arg2
= (int) SWIG_AsInt(obj1
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10407 arg3
= wxString_in_helper(obj2
);
10408 if (arg3
== NULL
) SWIG_fail
;
10415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10425 arg6
= (long) SWIG_AsLong(obj5
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10429 arg7
= (int) SWIG_AsInt(obj6
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10433 arg8
= (int) SWIG_AsInt(obj7
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10437 arg9
= (int) SWIG_AsInt(obj8
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10442 arg10
= wxString_in_helper(obj9
);
10443 if (arg10
== NULL
) SWIG_fail
;
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10477 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxSpinCtrl
*result
;
10480 char *kwnames
[] = {
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10499 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10502 wxWindow
*arg2
= (wxWindow
*) 0 ;
10503 int arg3
= (int) -1 ;
10504 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10505 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10506 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10507 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10508 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10509 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10510 long arg7
= (long) wxSP_ARROW_KEYS
;
10511 int arg8
= (int) 0 ;
10512 int arg9
= (int) 100 ;
10513 int arg10
= (int) 0 ;
10514 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10515 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10517 bool temp4
= False
;
10520 bool temp11
= False
;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 PyObject
* obj2
= 0 ;
10524 PyObject
* obj3
= 0 ;
10525 PyObject
* obj4
= 0 ;
10526 PyObject
* obj5
= 0 ;
10527 PyObject
* obj6
= 0 ;
10528 PyObject
* obj7
= 0 ;
10529 PyObject
* obj8
= 0 ;
10530 PyObject
* obj9
= 0 ;
10531 PyObject
* obj10
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10542 arg3
= (int) SWIG_AsInt(obj2
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10547 arg4
= wxString_in_helper(obj3
);
10548 if (arg4
== NULL
) SWIG_fail
;
10555 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10561 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10565 arg7
= (long) SWIG_AsLong(obj6
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10569 arg8
= (int) SWIG_AsInt(obj7
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10573 arg9
= (int) SWIG_AsInt(obj8
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10577 arg10
= (int) SWIG_AsInt(obj9
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10582 arg11
= wxString_in_helper(obj10
);
10583 if (arg11
== NULL
) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10619 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_FromInt((int)result
);
10645 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self",(char *) "value", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 arg2
= (int) SWIG_AsInt(obj1
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 (arg1
)->SetValue(arg2
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 Py_INCREF(Py_None
); resultobj
= Py_None
;
10674 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10677 wxString
*arg2
= 0 ;
10678 bool temp2
= False
;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "self",(char *) "text", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10689 arg2
= wxString_in_helper(obj1
);
10690 if (arg2
== NULL
) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 (arg1
)->SetValue((wxString
const &)*arg2
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 Py_INCREF(Py_None
); resultobj
= Py_None
;
10715 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 PyObject
* obj2
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 arg2
= (int) SWIG_AsInt(obj1
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10732 arg3
= (int) SWIG_AsInt(obj2
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 (arg1
)->SetRange(arg2
,arg3
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10748 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= SWIG_FromInt((int)result
);
10774 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= SWIG_FromInt((int)result
);
10800 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 PyObject
* obj1
= 0 ;
10807 PyObject
* obj2
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "from",(char *) "to", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10815 arg2
= (long) SWIG_AsLong(obj1
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10817 arg3
= (long) SWIG_AsLong(obj2
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetSelection(arg2
,arg3
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10836 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10838 return Py_BuildValue((char *)"");
10840 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10843 int arg2
= (int) 0 ;
10844 wxSpinEvent
*result
;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "commandType",(char *) "winid", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10853 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10857 arg2
= (int) SWIG_AsInt(obj1
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10874 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= SWIG_FromInt((int)result
);
10900 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "pos", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10913 arg2
= (int) SWIG_AsInt(obj1
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->SetPosition(arg2
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10929 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10932 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10934 return Py_BuildValue((char *)"");
10936 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10937 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10942 static PyObject
*_wrap_RadioBoxNameStr_get() {
10947 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10949 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10956 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10957 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10962 static PyObject
*_wrap_RadioButtonNameStr_get() {
10967 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10969 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10976 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxWindow
*arg1
= (wxWindow
*) 0 ;
10980 wxString
*arg3
= 0 ;
10981 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10982 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10983 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10984 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10985 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10986 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10987 int arg7
= (int) 0 ;
10988 long arg8
= (long) wxRA_HORIZONTAL
;
10989 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10990 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10991 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10992 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10993 wxRadioBox
*result
;
10994 bool temp3
= False
;
10997 bool temp6
= False
;
10998 bool temp10
= False
;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 PyObject
* obj2
= 0 ;
11002 PyObject
* obj3
= 0 ;
11003 PyObject
* obj4
= 0 ;
11004 PyObject
* obj5
= 0 ;
11005 PyObject
* obj6
= 0 ;
11006 PyObject
* obj7
= 0 ;
11007 PyObject
* obj8
= 0 ;
11008 PyObject
* obj9
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 arg2
= (int) SWIG_AsInt(obj1
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 arg3
= wxString_in_helper(obj2
);
11020 if (arg3
== NULL
) SWIG_fail
;
11026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11032 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11037 if (! PySequence_Check(obj5
)) {
11038 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11041 arg6
= new wxArrayString
;
11043 int i
, len
=PySequence_Length(obj5
);
11044 for (i
=0; i
<len
; i
++) {
11045 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11047 PyObject
* str
= PyObject_Unicode(item
);
11049 PyObject
* str
= PyObject_Str(item
);
11051 arg6
->Add(Py2wxString(str
));
11058 arg7
= (int) SWIG_AsInt(obj6
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11062 arg8
= (long) SWIG_AsLong(obj7
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11069 if (arg9
== NULL
) {
11070 PyErr_SetString(PyExc_TypeError
,"null reference");
11076 arg10
= wxString_in_helper(obj9
);
11077 if (arg10
== NULL
) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 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
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11094 if (temp6
) delete arg6
;
11107 if (temp6
) delete arg6
;
11117 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxRadioBox
*result
;
11120 char *kwnames
[] = {
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (wxRadioBox
*)new wxRadioBox();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11139 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
;
11141 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11142 wxWindow
*arg2
= (wxWindow
*) 0 ;
11144 wxString
*arg4
= 0 ;
11145 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11146 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11147 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11148 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11149 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11150 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11151 int arg8
= (int) 0 ;
11152 long arg9
= (long) wxRA_HORIZONTAL
;
11153 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11154 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11155 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11156 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11158 bool temp4
= False
;
11161 bool temp7
= False
;
11162 bool temp11
= False
;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 PyObject
* obj2
= 0 ;
11166 PyObject
* obj3
= 0 ;
11167 PyObject
* obj4
= 0 ;
11168 PyObject
* obj5
= 0 ;
11169 PyObject
* obj6
= 0 ;
11170 PyObject
* obj7
= 0 ;
11171 PyObject
* obj8
= 0 ;
11172 PyObject
* obj9
= 0 ;
11173 PyObject
* obj10
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 arg3
= (int) SWIG_AsInt(obj2
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 arg4
= wxString_in_helper(obj3
);
11187 if (arg4
== NULL
) SWIG_fail
;
11193 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11199 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11204 if (! PySequence_Check(obj6
)) {
11205 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11208 arg7
= new wxArrayString
;
11210 int i
, len
=PySequence_Length(obj6
);
11211 for (i
=0; i
<len
; i
++) {
11212 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11214 PyObject
* str
= PyObject_Unicode(item
);
11216 PyObject
* str
= PyObject_Str(item
);
11218 arg7
->Add(Py2wxString(str
));
11225 arg8
= (int) SWIG_AsInt(obj7
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 arg9
= (long) SWIG_AsLong(obj8
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11236 if (arg10
== NULL
) {
11237 PyErr_SetString(PyExc_TypeError
,"null reference");
11243 arg11
= wxString_in_helper(obj10
);
11244 if (arg11
== NULL
) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 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
);
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11263 if (temp7
) delete arg7
;
11276 if (temp7
) delete arg7
;
11286 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self",(char *) "n", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 arg2
= (int) SWIG_AsInt(obj1
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 (arg1
)->SetSelection(arg2
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 Py_INCREF(Py_None
); resultobj
= Py_None
;
11315 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
;
11317 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11319 PyObject
* obj0
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= SWIG_FromInt((int)result
);
11341 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
;
11343 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11373 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11376 wxString
*arg2
= 0 ;
11378 bool temp2
= False
;
11379 PyObject
* obj0
= 0 ;
11380 PyObject
* obj1
= 0 ;
11381 char *kwnames
[] = {
11382 (char *) "self",(char *) "s", NULL
11385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11389 arg2
= wxString_in_helper(obj1
);
11390 if (arg2
== NULL
) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11417 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= SWIG_FromInt((int)result
);
11443 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11446 wxString
*arg2
= 0 ;
11448 bool temp2
= False
;
11449 PyObject
* obj0
= 0 ;
11450 PyObject
* obj1
= 0 ;
11451 char *kwnames
[] = {
11452 (char *) "self",(char *) "s", NULL
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11459 arg2
= wxString_in_helper(obj1
);
11460 if (arg2
== NULL
) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= SWIG_FromInt((int)result
);
11485 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11490 PyObject
* obj0
= 0 ;
11491 PyObject
* obj1
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "self",(char *) "n", NULL
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11499 arg2
= (int) SWIG_AsInt(obj1
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11521 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11525 wxString
*arg3
= 0 ;
11526 bool temp3
= False
;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11529 PyObject
* obj2
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "self",(char *) "n",(char *) "label", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11537 arg2
= (int) SWIG_AsInt(obj1
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 arg3
= wxString_in_helper(obj2
);
11541 if (arg3
== NULL
) SWIG_fail
;
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11551 Py_INCREF(Py_None
); resultobj
= Py_None
;
11566 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11570 bool arg3
= (bool) True
;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 PyObject
* obj2
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "n",(char *) "enable", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11581 arg2
= (int) SWIG_AsInt(obj1
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 arg3
= (bool) SWIG_AsBool(obj2
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 (arg1
)->Enable(arg2
,arg3
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 Py_INCREF(Py_None
); resultobj
= Py_None
;
11601 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11605 bool arg3
= (bool) True
;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 PyObject
* obj2
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "self",(char *) "n",(char *) "show", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11616 arg2
= (int) SWIG_AsInt(obj1
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 arg3
= (bool) SWIG_AsBool(obj2
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 (arg1
)->Show(arg2
,arg3
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 Py_INCREF(Py_None
); resultobj
= Py_None
;
11636 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11640 PyObject
* obj0
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_FromInt((int)result
);
11662 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11666 PyObject
* obj0
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_FromInt((int)result
);
11688 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11695 PyObject
* obj0
= 0 ;
11696 PyObject
* obj1
= 0 ;
11697 PyObject
* obj2
= 0 ;
11698 PyObject
* obj3
= 0 ;
11699 char *kwnames
[] = {
11700 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11706 arg2
= (int) SWIG_AsInt(obj1
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11708 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11710 arg4
= (long) SWIG_AsLong(obj3
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_FromInt((int)result
);
11726 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11729 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11731 return Py_BuildValue((char *)"");
11733 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxWindow
*arg1
= (wxWindow
*) 0 ;
11737 wxString
*arg3
= 0 ;
11738 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11739 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11740 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11741 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11742 long arg6
= (long) 0 ;
11743 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11744 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11745 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11746 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11747 wxRadioButton
*result
;
11748 bool temp3
= False
;
11751 bool temp8
= False
;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 PyObject
* obj2
= 0 ;
11755 PyObject
* obj3
= 0 ;
11756 PyObject
* obj4
= 0 ;
11757 PyObject
* obj5
= 0 ;
11758 PyObject
* obj6
= 0 ;
11759 PyObject
* obj7
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 arg2
= (int) SWIG_AsInt(obj1
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11770 arg3
= wxString_in_helper(obj2
);
11771 if (arg3
== NULL
) SWIG_fail
;
11777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11787 arg6
= (long) SWIG_AsLong(obj5
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11794 if (arg7
== NULL
) {
11795 PyErr_SetString(PyExc_TypeError
,"null reference");
11801 arg8
= wxString_in_helper(obj7
);
11802 if (arg8
== NULL
) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11836 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
;
11838 wxRadioButton
*result
;
11839 char *kwnames
[] = {
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (wxRadioButton
*)new wxRadioButton();
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11858 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11861 wxWindow
*arg2
= (wxWindow
*) 0 ;
11863 wxString
*arg4
= 0 ;
11864 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11865 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11866 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11867 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11868 long arg7
= (long) 0 ;
11869 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11870 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11871 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11872 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11874 bool temp4
= False
;
11877 bool temp9
= False
;
11878 PyObject
* obj0
= 0 ;
11879 PyObject
* obj1
= 0 ;
11880 PyObject
* obj2
= 0 ;
11881 PyObject
* obj3
= 0 ;
11882 PyObject
* obj4
= 0 ;
11883 PyObject
* obj5
= 0 ;
11884 PyObject
* obj6
= 0 ;
11885 PyObject
* obj7
= 0 ;
11886 PyObject
* obj8
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 arg3
= (int) SWIG_AsInt(obj2
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 arg4
= wxString_in_helper(obj3
);
11900 if (arg4
== NULL
) SWIG_fail
;
11906 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11912 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11916 arg7
= (long) SWIG_AsLong(obj6
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11920 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11923 if (arg8
== NULL
) {
11924 PyErr_SetString(PyExc_TypeError
,"null reference");
11930 arg9
= wxString_in_helper(obj8
);
11931 if (arg9
== NULL
) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11967 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (bool)(arg1
)->GetValue();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11995 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "self",(char *) "value", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12008 arg2
= (bool) SWIG_AsBool(obj1
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->SetValue(arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 Py_INCREF(Py_None
); resultobj
= Py_None
;
12024 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12027 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12029 return Py_BuildValue((char *)"");
12031 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12032 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12037 static PyObject
*_wrap_SliderNameStr_get() {
12042 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12044 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12051 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxWindow
*arg1
= (wxWindow
*) 0 ;
12058 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12059 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12060 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12061 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12062 long arg8
= (long) wxSL_HORIZONTAL
;
12063 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12064 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12065 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12066 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12070 bool temp10
= False
;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 PyObject
* obj2
= 0 ;
12074 PyObject
* obj3
= 0 ;
12075 PyObject
* obj4
= 0 ;
12076 PyObject
* obj5
= 0 ;
12077 PyObject
* obj6
= 0 ;
12078 PyObject
* obj7
= 0 ;
12079 PyObject
* obj8
= 0 ;
12080 PyObject
* obj9
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12088 arg2
= (int) SWIG_AsInt(obj1
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12090 arg3
= (int) SWIG_AsInt(obj2
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12092 arg4
= (int) SWIG_AsInt(obj3
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12094 arg5
= (int) SWIG_AsInt(obj4
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12099 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12105 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12109 arg8
= (long) SWIG_AsLong(obj7
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12116 if (arg9
== NULL
) {
12117 PyErr_SetString(PyExc_TypeError
,"null reference");
12123 arg10
= wxString_in_helper(obj9
);
12124 if (arg10
== NULL
) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12150 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12153 char *kwnames
[] = {
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (wxSlider
*)new wxSlider();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12172 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxSlider
*arg1
= (wxSlider
*) 0 ;
12175 wxWindow
*arg2
= (wxWindow
*) 0 ;
12180 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12181 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12182 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12183 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12184 long arg9
= (long) wxSL_HORIZONTAL
;
12185 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12186 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12187 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12188 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12192 bool temp11
= False
;
12193 PyObject
* obj0
= 0 ;
12194 PyObject
* obj1
= 0 ;
12195 PyObject
* obj2
= 0 ;
12196 PyObject
* obj3
= 0 ;
12197 PyObject
* obj4
= 0 ;
12198 PyObject
* obj5
= 0 ;
12199 PyObject
* obj6
= 0 ;
12200 PyObject
* obj7
= 0 ;
12201 PyObject
* obj8
= 0 ;
12202 PyObject
* obj9
= 0 ;
12203 PyObject
* obj10
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12213 arg3
= (int) SWIG_AsInt(obj2
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12215 arg4
= (int) SWIG_AsInt(obj3
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12217 arg5
= (int) SWIG_AsInt(obj4
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12219 arg6
= (int) SWIG_AsInt(obj5
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12224 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12230 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12234 arg9
= (long) SWIG_AsLong(obj8
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12241 if (arg10
== NULL
) {
12242 PyErr_SetString(PyExc_TypeError
,"null reference");
12248 arg11
= wxString_in_helper(obj10
);
12249 if (arg11
== NULL
) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12277 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
;
12279 wxSlider
*arg1
= (wxSlider
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_FromInt((int)result
);
12303 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxSlider
*arg1
= (wxSlider
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 PyObject
* obj1
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self",(char *) "value", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 arg2
= (int) SWIG_AsInt(obj1
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 (arg1
)->SetValue(arg2
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 Py_INCREF(Py_None
); resultobj
= Py_None
;
12332 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxSlider
*arg1
= (wxSlider
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 PyObject
* obj1
= 0 ;
12339 PyObject
* obj2
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12347 arg2
= (int) SWIG_AsInt(obj1
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12349 arg3
= (int) SWIG_AsInt(obj2
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 (arg1
)->SetRange(arg2
,arg3
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 Py_INCREF(Py_None
); resultobj
= Py_None
;
12365 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxSlider
*arg1
= (wxSlider
*) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_FromInt((int)result
);
12391 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxSlider
*arg1
= (wxSlider
*) 0 ;
12395 PyObject
* obj0
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_FromInt((int)result
);
12417 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxSlider
*arg1
= (wxSlider
*) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "minValue", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12430 arg2
= (int) SWIG_AsInt(obj1
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 (arg1
)->SetMin(arg2
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 Py_INCREF(Py_None
); resultobj
= Py_None
;
12446 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxSlider
*arg1
= (wxSlider
*) 0 ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self",(char *) "maxValue", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 arg2
= (int) SWIG_AsInt(obj1
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetMax(arg2
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 Py_INCREF(Py_None
); resultobj
= Py_None
;
12475 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxSlider
*arg1
= (wxSlider
*) 0 ;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self",(char *) "lineSize", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12488 arg2
= (int) SWIG_AsInt(obj1
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 (arg1
)->SetLineSize(arg2
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 Py_INCREF(Py_None
); resultobj
= Py_None
;
12504 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxSlider
*arg1
= (wxSlider
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self",(char *) "pageSize", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12517 arg2
= (int) SWIG_AsInt(obj1
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 (arg1
)->SetPageSize(arg2
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 Py_INCREF(Py_None
); resultobj
= Py_None
;
12533 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxSlider
*arg1
= (wxSlider
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "self", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_FromInt((int)result
);
12559 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxSlider
*arg1
= (wxSlider
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= SWIG_FromInt((int)result
);
12585 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxSlider
*arg1
= (wxSlider
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 PyObject
* obj1
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self",(char *) "lenPixels", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12598 arg2
= (int) SWIG_AsInt(obj1
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 (arg1
)->SetThumbLength(arg2
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 Py_INCREF(Py_None
); resultobj
= Py_None
;
12614 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxSlider
*arg1
= (wxSlider
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= SWIG_FromInt((int)result
);
12640 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
;
12642 wxSlider
*arg1
= (wxSlider
*) 0 ;
12644 int arg3
= (int) 1 ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 PyObject
* obj2
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self",(char *) "n",(char *) "pos", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12655 arg2
= (int) SWIG_AsInt(obj1
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 arg3
= (int) SWIG_AsInt(obj2
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 (arg1
)->SetTickFreq(arg2
,arg3
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 Py_INCREF(Py_None
); resultobj
= Py_None
;
12675 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxSlider
*arg1
= (wxSlider
*) 0 ;
12679 PyObject
* obj0
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= SWIG_FromInt((int)result
);
12701 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxSlider
*arg1
= (wxSlider
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->ClearTicks();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxSlider
*arg1
= (wxSlider
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self",(char *) "tickPos", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 arg2
= (int) SWIG_AsInt(obj1
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 (arg1
)->SetTick(arg2
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxSlider
*arg1
= (wxSlider
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 (arg1
)->ClearSel();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 Py_INCREF(Py_None
); resultobj
= Py_None
;
12780 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxSlider
*arg1
= (wxSlider
*) 0 ;
12784 PyObject
* obj0
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_FromInt((int)result
);
12806 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxSlider
*arg1
= (wxSlider
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_FromInt((int)result
);
12832 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxSlider
*arg1
= (wxSlider
*) 0 ;
12837 PyObject
* obj0
= 0 ;
12838 PyObject
* obj1
= 0 ;
12839 PyObject
* obj2
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "self",(char *) "min",(char *) "max", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12847 arg2
= (int) SWIG_AsInt(obj1
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12849 arg3
= (int) SWIG_AsInt(obj2
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 (arg1
)->SetSelection(arg2
,arg3
);
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 Py_INCREF(Py_None
); resultobj
= Py_None
;
12865 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12868 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12870 return Py_BuildValue((char *)"");
12872 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12873 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12878 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12883 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12885 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12892 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxWindow
*arg1
= (wxWindow
*) 0 ;
12896 wxString
*arg3
= 0 ;
12897 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12898 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12899 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12900 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12901 long arg6
= (long) 0 ;
12902 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12903 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12904 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12905 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12906 wxToggleButton
*result
;
12907 bool temp3
= False
;
12910 bool temp8
= False
;
12911 PyObject
* obj0
= 0 ;
12912 PyObject
* obj1
= 0 ;
12913 PyObject
* obj2
= 0 ;
12914 PyObject
* obj3
= 0 ;
12915 PyObject
* obj4
= 0 ;
12916 PyObject
* obj5
= 0 ;
12917 PyObject
* obj6
= 0 ;
12918 PyObject
* obj7
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12926 arg2
= (int) SWIG_AsInt(obj1
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 arg3
= wxString_in_helper(obj2
);
12930 if (arg3
== NULL
) SWIG_fail
;
12936 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12942 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12946 arg6
= (long) SWIG_AsLong(obj5
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12950 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12953 if (arg7
== NULL
) {
12954 PyErr_SetString(PyExc_TypeError
,"null reference");
12960 arg8
= wxString_in_helper(obj7
);
12961 if (arg8
== NULL
) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12995 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxToggleButton
*result
;
12998 char *kwnames
[] = {
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (wxToggleButton
*)new wxToggleButton();
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13017 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13020 wxWindow
*arg2
= (wxWindow
*) 0 ;
13022 wxString
*arg4
= 0 ;
13023 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13024 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13025 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13026 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13027 long arg7
= (long) 0 ;
13028 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13029 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13030 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13031 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13033 bool temp4
= False
;
13036 bool temp9
= False
;
13037 PyObject
* obj0
= 0 ;
13038 PyObject
* obj1
= 0 ;
13039 PyObject
* obj2
= 0 ;
13040 PyObject
* obj3
= 0 ;
13041 PyObject
* obj4
= 0 ;
13042 PyObject
* obj5
= 0 ;
13043 PyObject
* obj6
= 0 ;
13044 PyObject
* obj7
= 0 ;
13045 PyObject
* obj8
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 arg3
= (int) SWIG_AsInt(obj2
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 arg4
= wxString_in_helper(obj3
);
13059 if (arg4
== NULL
) SWIG_fail
;
13065 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13071 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13075 arg7
= (long) SWIG_AsLong(obj6
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13079 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13082 if (arg8
== NULL
) {
13083 PyErr_SetString(PyExc_TypeError
,"null reference");
13089 arg9
= wxString_in_helper(obj8
);
13090 if (arg9
== NULL
) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13126 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self",(char *) "value", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13139 arg2
= (bool) SWIG_AsBool(obj1
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 (arg1
)->SetValue(arg2
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13155 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13183 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13186 wxString
*arg2
= 0 ;
13187 bool temp2
= False
;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self",(char *) "label", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 arg2
= wxString_in_helper(obj1
);
13199 if (arg2
== NULL
) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 (arg1
)->SetLabel((wxString
const &)*arg2
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 Py_INCREF(Py_None
); resultobj
= Py_None
;
13224 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13227 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13229 return Py_BuildValue((char *)"");
13231 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13232 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13237 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13242 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13244 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13251 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13277 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self",(char *) "n", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13291 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= wxPyMake_wxObject(result
);
13309 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_FromInt((int)result
);
13335 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13339 wxString
*arg3
= 0 ;
13341 bool temp3
= False
;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 PyObject
* obj2
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "n",(char *) "strText", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13352 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 arg3
= wxString_in_helper(obj2
);
13356 if (arg3
== NULL
) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13383 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "n", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13419 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13422 wxImageList
*arg2
= (wxImageList
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self",(char *) "imageList", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 (arg1
)->SetImageList(arg2
);
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 Py_INCREF(Py_None
); resultobj
= Py_None
;
13448 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13451 wxImageList
*arg2
= (wxImageList
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self",(char *) "imageList", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13462 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 (arg1
)->AssignImageList(arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 Py_INCREF(Py_None
); resultobj
= Py_None
;
13477 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13480 wxImageList
*result
;
13481 PyObject
* obj0
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= wxPyMake_wxObject(result
);
13505 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 PyObject
* obj1
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self",(char *) "n", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_FromInt((int)result
);
13535 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13541 PyObject
* obj0
= 0 ;
13542 PyObject
* obj1
= 0 ;
13543 PyObject
* obj2
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self",(char *) "n",(char *) "imageId", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13551 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13553 arg3
= (int) SWIG_AsInt(obj2
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13571 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13576 PyObject
* obj0
= 0 ;
13577 PyObject
* obj1
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self",(char *) "size", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 Py_INCREF(Py_None
); resultobj
= Py_None
;
13603 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 PyObject
* obj1
= 0 ;
13611 char *kwnames
[] = {
13612 (char *) "self",(char *) "sizePage", NULL
13615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13630 wxSize
* resultptr
;
13631 resultptr
= new wxSize((wxSize
&) result
);
13632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13640 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 PyObject
* obj1
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self",(char *) "n", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13654 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (bool)(arg1
)->DeletePage(arg2
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13672 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
;
13674 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13677 PyObject
* obj0
= 0 ;
13678 PyObject
* obj1
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self",(char *) "n", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13686 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (bool)(arg1
)->RemovePage(arg2
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13704 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (bool)(arg1
)->DeleteAllPages();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13732 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13735 wxWindow
*arg2
= (wxWindow
*) 0 ;
13736 wxString
*arg3
= 0 ;
13737 bool arg4
= (bool) False
;
13738 int arg5
= (int) -1 ;
13740 bool temp3
= False
;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 PyObject
* obj2
= 0 ;
13744 PyObject
* obj3
= 0 ;
13745 PyObject
* obj4
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13756 arg3
= wxString_in_helper(obj2
);
13757 if (arg3
== NULL
) SWIG_fail
;
13761 arg4
= (bool) SWIG_AsBool(obj3
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13765 arg5
= (int) SWIG_AsInt(obj4
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13792 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13796 wxWindow
*arg3
= (wxWindow
*) 0 ;
13797 wxString
*arg4
= 0 ;
13798 bool arg5
= (bool) False
;
13799 int arg6
= (int) -1 ;
13801 bool temp4
= False
;
13802 PyObject
* obj0
= 0 ;
13803 PyObject
* obj1
= 0 ;
13804 PyObject
* obj2
= 0 ;
13805 PyObject
* obj3
= 0 ;
13806 PyObject
* obj4
= 0 ;
13807 PyObject
* obj5
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13817 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13820 arg4
= wxString_in_helper(obj3
);
13821 if (arg4
== NULL
) SWIG_fail
;
13825 arg5
= (bool) SWIG_AsBool(obj4
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13829 arg6
= (int) SWIG_AsInt(obj5
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13856 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self",(char *) "n", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (int)(arg1
)->SetSelection(arg2
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_FromInt((int)result
);
13886 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13889 bool arg2
= (bool) True
;
13890 PyObject
* obj0
= 0 ;
13891 PyObject
* obj1
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self",(char *) "forward", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13900 arg2
= (bool) SWIG_AsBool(obj1
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->AdvanceSelection(arg2
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 Py_INCREF(Py_None
); resultobj
= Py_None
;
13917 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13920 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13922 return Py_BuildValue((char *)"");
13924 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13927 int arg2
= (int) 0 ;
13928 int arg3
= (int) -1 ;
13929 int arg4
= (int) -1 ;
13930 wxBookCtrlEvent
*result
;
13931 PyObject
* obj0
= 0 ;
13932 PyObject
* obj1
= 0 ;
13933 PyObject
* obj2
= 0 ;
13934 PyObject
* obj3
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13941 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13945 arg2
= (int) SWIG_AsInt(obj1
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 arg3
= (int) SWIG_AsInt(obj2
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13953 arg4
= (int) SWIG_AsInt(obj3
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13970 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_FromInt((int)result
);
13996 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 PyObject
* obj1
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self",(char *) "nSel", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 arg2
= (int) SWIG_AsInt(obj1
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 (arg1
)->SetSelection(arg2
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 Py_INCREF(Py_None
); resultobj
= Py_None
;
14025 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= SWIG_FromInt((int)result
);
14051 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self",(char *) "nOldSel", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14064 arg2
= (int) SWIG_AsInt(obj1
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 (arg1
)->SetOldSelection(arg2
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 Py_INCREF(Py_None
); resultobj
= Py_None
;
14080 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14083 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14085 return Py_BuildValue((char *)"");
14087 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
;
14089 wxWindow
*arg1
= (wxWindow
*) 0 ;
14090 int arg2
= (int) -1 ;
14091 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14092 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14093 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14094 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14095 long arg5
= (long) 0 ;
14096 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14097 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14098 wxNotebook
*result
;
14101 bool temp6
= False
;
14102 PyObject
* obj0
= 0 ;
14103 PyObject
* obj1
= 0 ;
14104 PyObject
* obj2
= 0 ;
14105 PyObject
* obj3
= 0 ;
14106 PyObject
* obj4
= 0 ;
14107 PyObject
* obj5
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14116 arg2
= (int) SWIG_AsInt(obj1
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14128 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14132 arg5
= (long) SWIG_AsLong(obj4
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14137 arg6
= wxString_in_helper(obj5
);
14138 if (arg6
== NULL
) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= wxPyMake_wxObject(result
);
14166 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxNotebook
*result
;
14169 char *kwnames
[] = {
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (wxNotebook
*)new wxNotebook();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= wxPyMake_wxObject(result
);
14190 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14193 wxWindow
*arg2
= (wxWindow
*) 0 ;
14195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14199 long arg6
= (long) 0 ;
14200 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14201 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14205 bool temp7
= False
;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 PyObject
* obj2
= 0 ;
14209 PyObject
* obj3
= 0 ;
14210 PyObject
* obj4
= 0 ;
14211 PyObject
* obj5
= 0 ;
14212 PyObject
* obj6
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14222 arg3
= (int) SWIG_AsInt(obj2
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14237 arg6
= (long) SWIG_AsLong(obj5
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14242 arg7
= wxString_in_helper(obj6
);
14243 if (arg7
== NULL
) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14271 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_FromInt((int)result
);
14297 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 PyObject
* obj1
= 0 ;
14304 char *kwnames
[] = {
14305 (char *) "self",(char *) "padding", NULL
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 Py_INCREF(Py_None
); resultobj
= Py_None
;
14329 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self",(char *) "sz", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14345 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 Py_INCREF(Py_None
); resultobj
= Py_None
;
14361 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14364 wxPoint
*arg2
= 0 ;
14365 long *arg3
= (long *) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self",(char *) "pt", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 resultobj
= SWIG_FromInt((int)result
);
14392 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14393 resultobj
= t_output_helper(resultobj
,o
);
14401 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
;
14403 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 PyObject
* obj1
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self",(char *) "sizePage", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14418 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14428 wxSize
* resultptr
;
14429 resultptr
= new wxSize((wxSize
&) result
);
14430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14438 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14441 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14443 return Py_BuildValue((char *)"");
14445 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14448 int arg2
= (int) 0 ;
14449 int arg3
= (int) -1 ;
14450 int arg4
= (int) -1 ;
14451 wxNotebookEvent
*result
;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 PyObject
* obj2
= 0 ;
14455 PyObject
* obj3
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14462 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 arg2
= (int) SWIG_AsInt(obj1
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 arg3
= (int) SWIG_AsInt(obj2
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14474 arg4
= (int) SWIG_AsInt(obj3
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14491 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14494 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14496 return Py_BuildValue((char *)"");
14498 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxWindow
*arg1
= (wxWindow
*) 0 ;
14501 int arg2
= (int) -1 ;
14502 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14503 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14504 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14505 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14506 long arg5
= (long) 0 ;
14507 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14508 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14509 wxListbook
*result
;
14512 bool temp6
= False
;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 PyObject
* obj2
= 0 ;
14516 PyObject
* obj3
= 0 ;
14517 PyObject
* obj4
= 0 ;
14518 PyObject
* obj5
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14527 arg2
= (int) SWIG_AsInt(obj1
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14539 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14543 arg5
= (long) SWIG_AsLong(obj4
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14548 arg6
= wxString_in_helper(obj5
);
14549 if (arg6
== NULL
) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14575 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxListbook
*result
;
14578 char *kwnames
[] = {
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (wxListbook
*)new wxListbook();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14597 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxListbook
*arg1
= (wxListbook
*) 0 ;
14600 wxWindow
*arg2
= (wxWindow
*) 0 ;
14602 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14603 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14604 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14605 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14606 long arg6
= (long) 0 ;
14607 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14608 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14612 bool temp7
= False
;
14613 PyObject
* obj0
= 0 ;
14614 PyObject
* obj1
= 0 ;
14615 PyObject
* obj2
= 0 ;
14616 PyObject
* obj3
= 0 ;
14617 PyObject
* obj4
= 0 ;
14618 PyObject
* obj5
= 0 ;
14619 PyObject
* obj6
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14629 arg3
= (int) SWIG_AsInt(obj2
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14644 arg6
= (long) SWIG_AsLong(obj5
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14649 arg7
= wxString_in_helper(obj6
);
14650 if (arg7
== NULL
) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14678 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxListbook
*arg1
= (wxListbook
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14706 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14709 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14711 return Py_BuildValue((char *)"");
14713 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14716 int arg2
= (int) 0 ;
14717 int arg3
= (int) -1 ;
14718 int arg4
= (int) -1 ;
14719 wxListbookEvent
*result
;
14720 PyObject
* obj0
= 0 ;
14721 PyObject
* obj1
= 0 ;
14722 PyObject
* obj2
= 0 ;
14723 PyObject
* obj3
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14730 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 arg2
= (int) SWIG_AsInt(obj1
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14738 arg3
= (int) SWIG_AsInt(obj2
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 arg4
= (int) SWIG_AsInt(obj3
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14759 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14762 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14764 return Py_BuildValue((char *)"");
14766 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14769 wxBookCtrlSizer
*result
;
14770 PyObject
* obj0
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "nb", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14792 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->RecalcSizes();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (arg1
)->CalcMin();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14837 wxSize
* resultptr
;
14838 resultptr
= new wxSize((wxSize
&) result
);
14839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14847 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14850 wxBookCtrl
*result
;
14851 PyObject
* obj0
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14873 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14876 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14878 return Py_BuildValue((char *)"");
14880 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14883 wxNotebookSizer
*result
;
14884 PyObject
* obj0
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "nb", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14906 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14909 PyObject
* obj0
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 (arg1
)->RecalcSizes();
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14924 Py_INCREF(Py_None
); resultobj
= Py_None
;
14931 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (arg1
)->CalcMin();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14951 wxSize
* resultptr
;
14952 resultptr
= new wxSize((wxSize
&) result
);
14953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14961 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14964 wxNotebook
*result
;
14965 PyObject
* obj0
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= wxPyMake_wxObject(result
);
14989 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14992 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14994 return Py_BuildValue((char *)"");
14996 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (int)(arg1
)->GetId();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_FromInt((int)result
);
15022 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (wxControl
*)(arg1
)->GetControl();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= wxPyMake_wxObject(result
);
15050 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15053 wxToolBarBase
*result
;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= wxPyMake_wxObject(result
);
15078 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (int)(arg1
)->IsButton();
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_FromInt((int)result
);
15104 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15108 PyObject
* obj0
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "self", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (int)(arg1
)->IsControl();
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= SWIG_FromInt((int)result
);
15130 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (int)(arg1
)->IsSeparator();
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15149 resultobj
= SWIG_FromInt((int)result
);
15156 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
;
15158 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15160 PyObject
* obj0
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (int)(arg1
)->GetStyle();
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_FromInt((int)result
);
15182 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (int)(arg1
)->GetKind();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= SWIG_FromInt((int)result
);
15208 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= (bool)(arg1
)->IsEnabled();
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15236 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (bool)(arg1
)->IsToggled();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15264 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (bool)(arg1
)->CanBeToggled();
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15292 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15308 result
= (wxBitmap
*) &_result_ref
;
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 wxBitmap
* resultptr
= new wxBitmap(*result
);
15316 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15324 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15340 result
= (wxBitmap
*) &_result_ref
;
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 wxBitmap
* resultptr
= new wxBitmap(*result
);
15348 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15356 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (arg1
)->GetBitmap();
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15376 wxBitmap
* resultptr
;
15377 resultptr
= new wxBitmap((wxBitmap
&) result
);
15378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15386 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (arg1
)->GetLabel();
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15418 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 result
= (arg1
)->GetShortHelp();
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15450 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (arg1
)->GetLongHelp();
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15482 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 PyObject
* obj1
= 0 ;
15489 char *kwnames
[] = {
15490 (char *) "self",(char *) "enable", NULL
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15496 arg2
= (bool) SWIG_AsBool(obj1
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (bool)(arg1
)->Enable(arg2
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15514 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 Py_INCREF(Py_None
); resultobj
= Py_None
;
15539 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
;
15541 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self",(char *) "toggle", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15553 arg2
= (bool) SWIG_AsBool(obj1
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)(arg1
)->SetToggle(arg2
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15574 wxString
*arg2
= 0 ;
15576 bool temp2
= False
;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "help", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 arg2
= wxString_in_helper(obj1
);
15588 if (arg2
== NULL
) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15615 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15618 wxString
*arg2
= 0 ;
15620 bool temp2
= False
;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self",(char *) "help", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15631 arg2
= wxString_in_helper(obj1
);
15632 if (arg2
== NULL
) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15659 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15662 wxBitmap
*arg2
= 0 ;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "self",(char *) "bmp", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15675 if (arg2
== NULL
) {
15676 PyErr_SetString(PyExc_TypeError
,"null reference");
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 Py_INCREF(Py_None
); resultobj
= Py_None
;
15693 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
;
15695 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15696 wxBitmap
*arg2
= 0 ;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self",(char *) "bmp", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15709 if (arg2
== NULL
) {
15710 PyErr_SetString(PyExc_TypeError
,"null reference");
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 Py_INCREF(Py_None
); resultobj
= Py_None
;
15727 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15730 wxString
*arg2
= 0 ;
15731 bool temp2
= False
;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self",(char *) "label", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 arg2
= wxString_in_helper(obj1
);
15743 if (arg2
== NULL
) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 (arg1
)->SetLabel((wxString
const &)*arg2
);
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 Py_INCREF(Py_None
); resultobj
= Py_None
;
15768 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 Py_INCREF(Py_None
); resultobj
= Py_None
;
15793 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15796 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15797 PyObject
* obj0
= 0 ;
15798 PyObject
* obj1
= 0 ;
15799 char *kwnames
[] = {
15800 (char *) "self",(char *) "tbar", NULL
15803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 (arg1
)->Attach(arg2
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 Py_INCREF(Py_None
); resultobj
= Py_None
;
15822 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15826 PyObject
* obj0
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= result
;
15848 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15851 PyObject
*arg2
= (PyObject
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 PyObject
* obj1
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self",(char *) "clientData", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 Py_INCREF(Py_None
); resultobj
= Py_None
;
15876 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15879 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15881 return Py_BuildValue((char *)"");
15883 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15887 wxString
*arg3
= 0 ;
15888 wxBitmap
*arg4
= 0 ;
15889 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15890 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15891 int arg6
= (int) wxITEM_NORMAL
;
15892 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15893 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15894 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15895 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15896 PyObject
*arg9
= (PyObject
*) NULL
;
15897 wxToolBarToolBase
*result
;
15898 bool temp3
= False
;
15899 bool temp7
= False
;
15900 bool temp8
= False
;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 PyObject
* obj2
= 0 ;
15904 PyObject
* obj3
= 0 ;
15905 PyObject
* obj4
= 0 ;
15906 PyObject
* obj5
= 0 ;
15907 PyObject
* obj6
= 0 ;
15908 PyObject
* obj7
= 0 ;
15909 PyObject
* obj8
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 arg2
= (int) SWIG_AsInt(obj1
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 arg3
= wxString_in_helper(obj2
);
15921 if (arg3
== NULL
) SWIG_fail
;
15924 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15927 if (arg4
== NULL
) {
15928 PyErr_SetString(PyExc_TypeError
,"null reference");
15932 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15935 if (arg5
== NULL
) {
15936 PyErr_SetString(PyExc_TypeError
,"null reference");
15941 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15946 arg7
= wxString_in_helper(obj6
);
15947 if (arg7
== NULL
) SWIG_fail
;
15953 arg8
= wxString_in_helper(obj7
);
15954 if (arg8
== NULL
) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= wxPyMake_wxObject(result
);
16001 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16006 wxString
*arg4
= 0 ;
16007 wxBitmap
*arg5
= 0 ;
16008 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16009 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16010 int arg7
= (int) wxITEM_NORMAL
;
16011 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16012 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16013 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16014 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16015 PyObject
*arg10
= (PyObject
*) NULL
;
16016 wxToolBarToolBase
*result
;
16017 bool temp4
= False
;
16018 bool temp8
= False
;
16019 bool temp9
= False
;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 PyObject
* obj2
= 0 ;
16023 PyObject
* obj3
= 0 ;
16024 PyObject
* obj4
= 0 ;
16025 PyObject
* obj5
= 0 ;
16026 PyObject
* obj6
= 0 ;
16027 PyObject
* obj7
= 0 ;
16028 PyObject
* obj8
= 0 ;
16029 PyObject
* obj9
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16039 arg3
= (int) SWIG_AsInt(obj2
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 arg4
= wxString_in_helper(obj3
);
16043 if (arg4
== NULL
) SWIG_fail
;
16046 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16049 if (arg5
== NULL
) {
16050 PyErr_SetString(PyExc_TypeError
,"null reference");
16054 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16057 if (arg6
== NULL
) {
16058 PyErr_SetString(PyExc_TypeError
,"null reference");
16063 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16068 arg8
= wxString_in_helper(obj7
);
16069 if (arg8
== NULL
) SWIG_fail
;
16075 arg9
= wxString_in_helper(obj8
);
16076 if (arg9
== NULL
) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 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
);
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= wxPyMake_wxObject(result
);
16123 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16126 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16127 wxToolBarToolBase
*result
;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self",(char *) "tool", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= wxPyMake_wxObject(result
);
16155 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16159 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16160 wxToolBarToolBase
*result
;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 PyObject
* obj2
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self",(char *) "pos",(char *) "tool", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16171 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16173 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= wxPyMake_wxObject(result
);
16191 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16194 wxControl
*arg2
= (wxControl
*) 0 ;
16195 wxToolBarToolBase
*result
;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "control", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= wxPyMake_wxObject(result
);
16223 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16227 wxControl
*arg3
= (wxControl
*) 0 ;
16228 wxToolBarToolBase
*result
;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 PyObject
* obj2
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self",(char *) "pos",(char *) "control", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16239 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16241 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= wxPyMake_wxObject(result
);
16259 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self",(char *) "id", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 arg2
= (int) SWIG_AsInt(obj1
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= wxPyMake_wxObject(result
);
16291 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16294 wxToolBarToolBase
*result
;
16295 PyObject
* obj0
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= wxPyMake_wxObject(result
);
16319 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16323 wxToolBarToolBase
*result
;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self",(char *) "pos", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16333 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= wxPyMake_wxObject(result
);
16351 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16355 wxToolBarToolBase
*result
;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "id", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 arg2
= (int) SWIG_AsInt(obj1
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= wxPyMake_wxObject(result
);
16383 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self",(char *) "pos", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16397 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16415 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16420 PyObject
* obj0
= 0 ;
16421 PyObject
* obj1
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self",(char *) "id", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16429 arg2
= (int) SWIG_AsInt(obj1
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (bool)(arg1
)->DeleteTool(arg2
);
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16447 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 (arg1
)->ClearTools();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 Py_INCREF(Py_None
); resultobj
= Py_None
;
16472 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16476 PyObject
* obj0
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)(arg1
)->Realize();
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16500 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 PyObject
* obj2
= 0 ;
16508 char *kwnames
[] = {
16509 (char *) "self",(char *) "id",(char *) "enable", NULL
16512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16515 arg2
= (int) SWIG_AsInt(obj1
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16517 arg3
= (bool) SWIG_AsBool(obj2
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 (arg1
)->EnableTool(arg2
,arg3
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 Py_INCREF(Py_None
); resultobj
= Py_None
;
16533 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16538 PyObject
* obj0
= 0 ;
16539 PyObject
* obj1
= 0 ;
16540 PyObject
* obj2
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self",(char *) "id",(char *) "toggle", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16548 arg2
= (int) SWIG_AsInt(obj1
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16550 arg3
= (bool) SWIG_AsBool(obj2
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 (arg1
)->ToggleTool(arg2
,arg3
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 PyObject
* obj2
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self",(char *) "id",(char *) "toggle", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16581 arg2
= (int) SWIG_AsInt(obj1
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16583 arg3
= (bool) SWIG_AsBool(obj2
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 (arg1
)->SetToggle(arg2
,arg3
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 Py_INCREF(Py_None
); resultobj
= Py_None
;
16599 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self",(char *) "id", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16613 arg2
= (int) SWIG_AsInt(obj1
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= result
;
16629 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16633 PyObject
*arg3
= (PyObject
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 PyObject
* obj2
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self",(char *) "id",(char *) "clientData", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16644 arg2
= (int) SWIG_AsInt(obj1
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 Py_INCREF(Py_None
); resultobj
= Py_None
;
16661 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 PyObject
* obj1
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self",(char *) "id", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16675 arg2
= (int) SWIG_AsInt(obj1
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 resultobj
= SWIG_FromInt((int)result
);
16691 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self",(char *) "id", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16705 arg2
= (int) SWIG_AsInt(obj1
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (bool)(arg1
)->GetToolState(arg2
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16723 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self",(char *) "id", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16737 arg2
= (int) SWIG_AsInt(obj1
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16755 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16759 wxString
*arg3
= 0 ;
16760 bool temp3
= False
;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 PyObject
* obj2
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self",(char *) "id",(char *) "helpString", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16771 arg2
= (int) SWIG_AsInt(obj1
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 arg3
= wxString_in_helper(obj2
);
16775 if (arg3
== NULL
) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16800 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self",(char *) "id", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16814 arg2
= (int) SWIG_AsInt(obj1
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (arg1
)->GetToolShortHelp(arg2
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16836 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16840 wxString
*arg3
= 0 ;
16841 bool temp3
= False
;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 PyObject
* obj2
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self",(char *) "id",(char *) "helpString", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16852 arg2
= (int) SWIG_AsInt(obj1
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 arg3
= wxString_in_helper(obj2
);
16856 if (arg3
== NULL
) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 Py_INCREF(Py_None
); resultobj
= Py_None
;
16881 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 PyObject
* obj1
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self",(char *) "id", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 arg2
= (int) SWIG_AsInt(obj1
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (arg1
)->GetToolLongHelp(arg2
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16917 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16922 PyObject
* obj0
= 0 ;
16923 PyObject
* obj1
= 0 ;
16924 PyObject
* obj2
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self",(char *) "x",(char *) "y", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16932 arg2
= (int) SWIG_AsInt(obj1
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16934 arg3
= (int) SWIG_AsInt(obj2
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 (arg1
)->SetMargins(arg2
,arg3
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 Py_INCREF(Py_None
); resultobj
= Py_None
;
16950 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self",(char *) "size", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 Py_INCREF(Py_None
); resultobj
= Py_None
;
16982 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self",(char *) "packing", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16995 arg2
= (int) SWIG_AsInt(obj1
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 (arg1
)->SetToolPacking(arg2
);
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 Py_INCREF(Py_None
); resultobj
= Py_None
;
17011 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "self",(char *) "separation", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17024 arg2
= (int) SWIG_AsInt(obj1
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 (arg1
)->SetToolSeparation(arg2
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 Py_INCREF(Py_None
); resultobj
= Py_None
;
17040 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (arg1
)->GetToolMargins();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17060 wxSize
* resultptr
;
17061 resultptr
= new wxSize((wxSize
&) result
);
17062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17070 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (arg1
)->GetMargins();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 wxSize
* resultptr
;
17091 resultptr
= new wxSize((wxSize
&) result
);
17092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17100 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (int)(arg1
)->GetToolPacking();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= SWIG_FromInt((int)result
);
17126 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= (int)(arg1
)->GetToolSeparation();
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= SWIG_FromInt((int)result
);
17152 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self",(char *) "nRows", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17165 arg2
= (int) SWIG_AsInt(obj1
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 (arg1
)->SetRows(arg2
);
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 Py_INCREF(Py_None
); resultobj
= Py_None
;
17181 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 PyObject
* obj2
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self",(char *) "rows",(char *) "cols", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17196 arg2
= (int) SWIG_AsInt(obj1
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17198 arg3
= (int) SWIG_AsInt(obj2
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17207 Py_INCREF(Py_None
); resultobj
= Py_None
;
17214 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (int)(arg1
)->GetMaxRows();
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= SWIG_FromInt((int)result
);
17240 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17244 PyObject
* obj0
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= (int)(arg1
)->GetMaxCols();
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= SWIG_FromInt((int)result
);
17266 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 char *kwnames
[] = {
17274 (char *) "self",(char *) "size", NULL
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17282 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 Py_INCREF(Py_None
); resultobj
= Py_None
;
17298 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (arg1
)->GetToolBitmapSize();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 wxSize
* resultptr
;
17319 resultptr
= new wxSize((wxSize
&) result
);
17320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17328 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17332 PyObject
* obj0
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "self", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (arg1
)->GetToolSize();
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17348 wxSize
* resultptr
;
17349 resultptr
= new wxSize((wxSize
&) result
);
17350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17358 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
;
17360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17363 wxToolBarToolBase
*result
;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 PyObject
* obj2
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self",(char *) "x",(char *) "y", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17374 arg2
= (int) SWIG_AsInt(obj1
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17376 arg3
= (int) SWIG_AsInt(obj2
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= wxPyMake_wxObject(result
);
17394 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17398 wxToolBarToolBase
*result
;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self",(char *) "toolid", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17408 arg2
= (int) SWIG_AsInt(obj1
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17418 resultobj
= wxPyMake_wxObject(result
);
17426 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17427 PyObject
*resultobj
;
17428 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17430 PyObject
* obj0
= 0 ;
17431 char *kwnames
[] = {
17432 (char *) "self", NULL
17435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (bool)(arg1
)->IsVertical();
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17454 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17457 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17459 return Py_BuildValue((char *)"");
17461 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
;
17463 wxWindow
*arg1
= (wxWindow
*) 0 ;
17465 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17466 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17467 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17468 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17469 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17470 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17471 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17475 bool temp6
= False
;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 PyObject
* obj2
= 0 ;
17479 PyObject
* obj3
= 0 ;
17480 PyObject
* obj4
= 0 ;
17481 PyObject
* obj5
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17489 arg2
= (int) SWIG_AsInt(obj1
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17494 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17500 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17504 arg5
= (long) SWIG_AsLong(obj4
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17509 arg6
= wxString_in_helper(obj5
);
17510 if (arg6
== NULL
) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= wxPyMake_wxObject(result
);
17538 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17541 char *kwnames
[] = {
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (wxToolBar
*)new wxToolBar();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= wxPyMake_wxObject(result
);
17562 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17565 wxWindow
*arg2
= (wxWindow
*) 0 ;
17567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17571 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17572 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17573 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17577 bool temp7
= False
;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 PyObject
* obj2
= 0 ;
17581 PyObject
* obj3
= 0 ;
17582 PyObject
* obj4
= 0 ;
17583 PyObject
* obj5
= 0 ;
17584 PyObject
* obj6
= 0 ;
17585 char *kwnames
[] = {
17586 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17594 arg3
= (int) SWIG_AsInt(obj2
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17609 arg6
= (long) SWIG_AsLong(obj5
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17614 arg7
= wxString_in_helper(obj6
);
17615 if (arg7
== NULL
) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17643 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
;
17645 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17648 wxToolBarToolBase
*result
;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 PyObject
* obj2
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "x",(char *) "y", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17659 arg2
= (int) SWIG_AsInt(obj1
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17661 arg3
= (int) SWIG_AsInt(obj2
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= wxPyMake_wxObject(result
);
17679 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17682 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17684 return Py_BuildValue((char *)"");
17686 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17687 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17692 static PyObject
*_wrap_ListCtrlNameStr_get() {
17697 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17699 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17706 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxColour
const &arg1_defvalue
= wxNullColour
;
17709 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17710 wxColour
const &arg2_defvalue
= wxNullColour
;
17711 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17712 wxFont
const &arg3_defvalue
= wxNullFont
;
17713 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17714 wxListItemAttr
*result
;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 PyObject
* obj2
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17728 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17738 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17741 if (arg3
== NULL
) {
17742 PyErr_SetString(PyExc_TypeError
,"null reference");
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17760 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17763 wxColour
*arg2
= 0 ;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self",(char *) "colText", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 Py_INCREF(Py_None
); resultobj
= Py_None
;
17792 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17795 wxColour
*arg2
= 0 ;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self",(char *) "colBack", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 Py_INCREF(Py_None
); resultobj
= Py_None
;
17824 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 PyObject
* obj1
= 0 ;
17830 char *kwnames
[] = {
17831 (char *) "self",(char *) "font", NULL
17834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17840 if (arg2
== NULL
) {
17841 PyErr_SetString(PyExc_TypeError
,"null reference");
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 (arg1
)->SetFont((wxFont
const &)*arg2
);
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 Py_INCREF(Py_None
); resultobj
= Py_None
;
17858 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (bool)(arg1
)->HasTextColour();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17886 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (bool)(arg1
)->HasBackgroundColour();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17914 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17918 PyObject
* obj0
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (bool)(arg1
)->HasFont();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17942 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= (arg1
)->GetTextColour();
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17962 wxColour
* resultptr
;
17963 resultptr
= new wxColour((wxColour
&) result
);
17964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17972 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 result
= (arg1
)->GetBackgroundColour();
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17992 wxColour
* resultptr
;
17993 resultptr
= new wxColour((wxColour
&) result
);
17994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18002 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (arg1
)->GetFont();
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18022 wxFont
* resultptr
;
18023 resultptr
= new wxFont((wxFont
&) result
);
18024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18032 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 wxListItemAttr_Destroy(arg1
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 Py_INCREF(Py_None
); resultobj
= Py_None
;
18057 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18060 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18062 return Py_BuildValue((char *)"");
18064 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxListItem
*result
;
18067 char *kwnames
[] = {
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 result
= (wxListItem
*)new wxListItem();
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= wxPyMake_wxObject(result
);
18088 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxListItem
*arg1
= (wxListItem
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 Py_INCREF(Py_None
); resultobj
= Py_None
;
18113 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxListItem
*arg1
= (wxListItem
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 Py_INCREF(Py_None
); resultobj
= Py_None
;
18138 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxListItem
*arg1
= (wxListItem
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 (arg1
)->ClearAttributes();
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 Py_INCREF(Py_None
); resultobj
= Py_None
;
18163 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxListItem
*arg1
= (wxListItem
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self",(char *) "mask", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18176 arg2
= (long) SWIG_AsLong(obj1
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 (arg1
)->SetMask(arg2
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 Py_INCREF(Py_None
); resultobj
= Py_None
;
18192 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxListItem
*arg1
= (wxListItem
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self",(char *) "id", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18205 arg2
= (long) SWIG_AsLong(obj1
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 (arg1
)->SetId(arg2
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 Py_INCREF(Py_None
); resultobj
= Py_None
;
18221 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxListItem
*arg1
= (wxListItem
*) 0 ;
18225 PyObject
* obj0
= 0 ;
18226 PyObject
* obj1
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self",(char *) "col", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18234 arg2
= (int) SWIG_AsInt(obj1
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->SetColumn(arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxListItem
*arg1
= (wxListItem
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "state", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18263 arg2
= (long) SWIG_AsLong(obj1
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->SetState(arg2
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 Py_INCREF(Py_None
); resultobj
= Py_None
;
18279 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxListItem
*arg1
= (wxListItem
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "stateMask", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 arg2
= (long) SWIG_AsLong(obj1
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->SetStateMask(arg2
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18308 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxListItem
*arg1
= (wxListItem
*) 0 ;
18311 wxString
*arg2
= 0 ;
18312 bool temp2
= False
;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "text", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18323 arg2
= wxString_in_helper(obj1
);
18324 if (arg2
== NULL
) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 (arg1
)->SetText((wxString
const &)*arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 Py_INCREF(Py_None
); resultobj
= Py_None
;
18349 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxListItem
*arg1
= (wxListItem
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "image", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18362 arg2
= (int) SWIG_AsInt(obj1
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 (arg1
)->SetImage(arg2
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxListItem
*arg1
= (wxListItem
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 PyObject
* obj1
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "data", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18391 arg2
= (long) SWIG_AsLong(obj1
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 (arg1
)->SetData(arg2
);
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18400 Py_INCREF(Py_None
); resultobj
= Py_None
;
18407 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18409 wxListItem
*arg1
= (wxListItem
*) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self",(char *) "width", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18420 arg2
= (int) SWIG_AsInt(obj1
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 (arg1
)->SetWidth(arg2
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 Py_INCREF(Py_None
); resultobj
= Py_None
;
18436 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxListItem
*arg1
= (wxListItem
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "align", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18449 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 Py_INCREF(Py_None
); resultobj
= Py_None
;
18465 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxListItem
*arg1
= (wxListItem
*) 0 ;
18468 wxColour
*arg2
= 0 ;
18470 PyObject
* obj0
= 0 ;
18471 PyObject
* obj1
= 0 ;
18472 char *kwnames
[] = {
18473 (char *) "self",(char *) "colText", NULL
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 Py_INCREF(Py_None
); resultobj
= Py_None
;
18497 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
;
18499 wxListItem
*arg1
= (wxListItem
*) 0 ;
18500 wxColour
*arg2
= 0 ;
18502 PyObject
* obj0
= 0 ;
18503 PyObject
* obj1
= 0 ;
18504 char *kwnames
[] = {
18505 (char *) "self",(char *) "colBack", NULL
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 Py_INCREF(Py_None
); resultobj
= Py_None
;
18529 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxListItem
*arg1
= (wxListItem
*) 0 ;
18533 PyObject
* obj0
= 0 ;
18534 PyObject
* obj1
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self",(char *) "font", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18542 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18543 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18545 if (arg2
== NULL
) {
18546 PyErr_SetString(PyExc_TypeError
,"null reference");
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 (arg1
)->SetFont((wxFont
const &)*arg2
);
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 Py_INCREF(Py_None
); resultobj
= Py_None
;
18563 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxListItem
*arg1
= (wxListItem
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= (long)(arg1
)->GetMask();
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= SWIG_FromLong((long)result
);
18589 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxListItem
*arg1
= (wxListItem
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "self", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (long)(arg1
)->GetId();
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_FromLong((long)result
);
18615 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxListItem
*arg1
= (wxListItem
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (int)(arg1
)->GetColumn();
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_FromInt((int)result
);
18641 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxListItem
*arg1
= (wxListItem
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (long)(arg1
)->GetState();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= SWIG_FromLong((long)result
);
18667 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxListItem
*arg1
= (wxListItem
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 wxString
const &_result_ref
= (arg1
)->GetText();
18683 result
= (wxString
*) &_result_ref
;
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18693 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18702 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxListItem
*arg1
= (wxListItem
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (int)(arg1
)->GetImage();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_FromInt((int)result
);
18728 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxListItem
*arg1
= (wxListItem
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (long)(arg1
)->GetData();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 resultobj
= SWIG_FromLong((long)result
);
18754 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 wxListItem
*arg1
= (wxListItem
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 result
= (int)(arg1
)->GetWidth();
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_FromInt((int)result
);
18780 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxListItem
*arg1
= (wxListItem
*) 0 ;
18784 PyObject
* obj0
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "self", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 result
= (int)(arg1
)->GetAlign();
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_FromInt((int)result
);
18806 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxListItem
*arg1
= (wxListItem
*) 0 ;
18809 wxListItemAttr
*result
;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18832 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxListItem
*arg1
= (wxListItem
*) 0 ;
18836 PyObject
* obj0
= 0 ;
18837 char *kwnames
[] = {
18838 (char *) "self", NULL
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 result
= (bool)(arg1
)->HasAttributes();
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18860 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxListItem
*arg1
= (wxListItem
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 wxColour
* resultptr
;
18881 resultptr
= new wxColour((wxColour
&) result
);
18882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18890 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxListItem
*arg1
= (wxListItem
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18910 wxColour
* resultptr
;
18911 resultptr
= new wxColour((wxColour
&) result
);
18912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18920 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxListItem
*arg1
= (wxListItem
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 result
= ((wxListItem
const *)arg1
)->GetFont();
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18940 wxFont
* resultptr
;
18941 resultptr
= new wxFont((wxFont
&) result
);
18942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18950 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxListItem
*arg1
= (wxListItem
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 PyObject
* obj1
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self",(char *) "m_mask", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18963 arg2
= (long) SWIG_AsLong(obj1
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18965 if (arg1
) (arg1
)->m_mask
= arg2
;
18967 Py_INCREF(Py_None
); resultobj
= Py_None
;
18974 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxListItem
*arg1
= (wxListItem
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18986 result
= (long) ((arg1
)->m_mask
);
18988 resultobj
= SWIG_FromLong((long)result
);
18995 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxListItem
*arg1
= (wxListItem
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self",(char *) "m_itemId", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 arg2
= (long) SWIG_AsLong(obj1
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19010 if (arg1
) (arg1
)->m_itemId
= arg2
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19019 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxListItem
*arg1
= (wxListItem
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19031 result
= (long) ((arg1
)->m_itemId
);
19033 resultobj
= SWIG_FromLong((long)result
);
19040 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxListItem
*arg1
= (wxListItem
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "m_col", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 arg2
= (int) SWIG_AsInt(obj1
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19055 if (arg1
) (arg1
)->m_col
= arg2
;
19057 Py_INCREF(Py_None
); resultobj
= Py_None
;
19064 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxListItem
*arg1
= (wxListItem
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19076 result
= (int) ((arg1
)->m_col
);
19078 resultobj
= SWIG_FromInt((int)result
);
19085 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxListItem
*arg1
= (wxListItem
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 PyObject
* obj1
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "self",(char *) "m_state", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19098 arg2
= (long) SWIG_AsLong(obj1
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19100 if (arg1
) (arg1
)->m_state
= arg2
;
19102 Py_INCREF(Py_None
); resultobj
= Py_None
;
19109 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxListItem
*arg1
= (wxListItem
*) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 result
= (long) ((arg1
)->m_state
);
19123 resultobj
= SWIG_FromLong((long)result
);
19130 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxListItem
*arg1
= (wxListItem
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self",(char *) "m_stateMask", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 arg2
= (long) SWIG_AsLong(obj1
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19145 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19147 Py_INCREF(Py_None
); resultobj
= Py_None
;
19154 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxListItem
*arg1
= (wxListItem
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19166 result
= (long) ((arg1
)->m_stateMask
);
19168 resultobj
= SWIG_FromLong((long)result
);
19175 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxListItem
*arg1
= (wxListItem
*) 0 ;
19178 wxString
*arg2
= (wxString
*) 0 ;
19179 bool temp2
= False
;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 char *kwnames
[] = {
19183 (char *) "self",(char *) "m_text", NULL
19186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19190 arg2
= wxString_in_helper(obj1
);
19191 if (arg2
== NULL
) SWIG_fail
;
19194 if (arg1
) (arg1
)->m_text
= *arg2
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19211 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxListItem
*arg1
= (wxListItem
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19223 result
= (wxString
*)& ((arg1
)->m_text
);
19227 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19229 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19238 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxListItem
*arg1
= (wxListItem
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self",(char *) "m_image", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19251 arg2
= (int) SWIG_AsInt(obj1
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19253 if (arg1
) (arg1
)->m_image
= arg2
;
19255 Py_INCREF(Py_None
); resultobj
= Py_None
;
19262 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
;
19264 wxListItem
*arg1
= (wxListItem
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19274 result
= (int) ((arg1
)->m_image
);
19276 resultobj
= SWIG_FromInt((int)result
);
19283 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxListItem
*arg1
= (wxListItem
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self",(char *) "m_data", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 arg2
= (long) SWIG_AsLong(obj1
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19298 if (arg1
) (arg1
)->m_data
= arg2
;
19300 Py_INCREF(Py_None
); resultobj
= Py_None
;
19307 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxListItem
*arg1
= (wxListItem
*) 0 ;
19311 PyObject
* obj0
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 result
= (long) ((arg1
)->m_data
);
19321 resultobj
= SWIG_FromLong((long)result
);
19328 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxListItem
*arg1
= (wxListItem
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self",(char *) "m_format", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19341 arg2
= (int) SWIG_AsInt(obj1
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19343 if (arg1
) (arg1
)->m_format
= arg2
;
19345 Py_INCREF(Py_None
); resultobj
= Py_None
;
19352 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
;
19354 wxListItem
*arg1
= (wxListItem
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 result
= (int) ((arg1
)->m_format
);
19366 resultobj
= SWIG_FromInt((int)result
);
19373 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxListItem
*arg1
= (wxListItem
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self",(char *) "m_width", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19386 arg2
= (int) SWIG_AsInt(obj1
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19388 if (arg1
) (arg1
)->m_width
= arg2
;
19390 Py_INCREF(Py_None
); resultobj
= Py_None
;
19397 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxListItem
*arg1
= (wxListItem
*) 0 ;
19401 PyObject
* obj0
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19409 result
= (int) ((arg1
)->m_width
);
19411 resultobj
= SWIG_FromInt((int)result
);
19418 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19421 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19423 return Py_BuildValue((char *)"");
19425 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19428 int arg2
= (int) 0 ;
19429 wxListEvent
*result
;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "commandType",(char *) "id", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19438 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19442 arg2
= (int) SWIG_AsInt(obj1
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19459 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self",(char *) "m_code", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19472 arg2
= (int) SWIG_AsInt(obj1
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19474 if (arg1
) (arg1
)->m_code
= arg2
;
19476 Py_INCREF(Py_None
); resultobj
= Py_None
;
19483 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
;
19485 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19487 PyObject
* obj0
= 0 ;
19488 char *kwnames
[] = {
19489 (char *) "self", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19495 result
= (int) ((arg1
)->m_code
);
19497 resultobj
= SWIG_FromInt((int)result
);
19504 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "m_oldItemIndex", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 arg2
= (long) SWIG_AsLong(obj1
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19519 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19521 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19540 result
= (long) ((arg1
)->m_oldItemIndex
);
19542 resultobj
= SWIG_FromLong((long)result
);
19549 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self",(char *) "m_itemIndex", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19562 arg2
= (long) SWIG_AsLong(obj1
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19564 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19566 Py_INCREF(Py_None
); resultobj
= Py_None
;
19573 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19585 result
= (long) ((arg1
)->m_itemIndex
);
19587 resultobj
= SWIG_FromLong((long)result
);
19594 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 char *kwnames
[] = {
19601 (char *) "self",(char *) "m_col", NULL
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 arg2
= (int) SWIG_AsInt(obj1
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19609 if (arg1
) (arg1
)->m_col
= arg2
;
19611 Py_INCREF(Py_None
); resultobj
= Py_None
;
19618 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19630 result
= (int) ((arg1
)->m_col
);
19632 resultobj
= SWIG_FromInt((int)result
);
19639 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19642 wxPoint
*arg2
= (wxPoint
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self",(char *) "m_pointDrag", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19656 Py_INCREF(Py_None
); resultobj
= Py_None
;
19663 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19684 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19687 wxListItem
*result
;
19688 PyObject
* obj0
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19696 result
= (wxListItem
*)& ((arg1
)->m_item
);
19699 resultobj
= wxPyMake_wxObject(result
);
19707 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= (int)(arg1
)->GetKeyCode();
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= SWIG_FromInt((int)result
);
19733 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (long)(arg1
)->GetIndex();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_FromLong((long)result
);
19759 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (int)(arg1
)->GetColumn();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_FromInt((int)result
);
19785 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (arg1
)->GetPoint();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 wxPoint
* resultptr
;
19806 resultptr
= new wxPoint((wxPoint
&) result
);
19807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19815 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
;
19817 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 wxString
const &_result_ref
= (arg1
)->GetLabel();
19831 result
= (wxString
*) &_result_ref
;
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19841 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19850 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
;
19852 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19854 PyObject
* obj0
= 0 ;
19855 char *kwnames
[] = {
19856 (char *) "self", NULL
19859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 wxString
const &_result_ref
= (arg1
)->GetText();
19866 result
= (wxString
*) &_result_ref
;
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19876 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19885 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (int)(arg1
)->GetImage();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_FromInt((int)result
);
19911 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= (long)(arg1
)->GetData();
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= SWIG_FromLong((long)result
);
19937 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= (long)(arg1
)->GetMask();
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= SWIG_FromLong((long)result
);
19963 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19966 wxListItem
*result
;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19979 result
= (wxListItem
*) &_result_ref
;
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19992 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 result
= (long)(arg1
)->GetCacheFrom();
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_FromLong((long)result
);
20018 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= (long)(arg1
)->GetCacheTo();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= SWIG_FromLong((long)result
);
20044 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20072 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self",(char *) "editCancelled", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20085 arg2
= (bool) SWIG_AsBool(obj1
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 (arg1
)->SetEditCanceled(arg2
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 Py_INCREF(Py_None
); resultobj
= Py_None
;
20101 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20104 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20106 return Py_BuildValue((char *)"");
20108 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxWindow
*arg1
= (wxWindow
*) 0 ;
20111 int arg2
= (int) -1 ;
20112 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20113 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20114 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20115 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20116 long arg5
= (long) wxLC_ICON
;
20117 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20118 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20119 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20121 wxPyListCtrl
*result
;
20124 bool temp7
= False
;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 PyObject
* obj2
= 0 ;
20128 PyObject
* obj3
= 0 ;
20129 PyObject
* obj4
= 0 ;
20130 PyObject
* obj5
= 0 ;
20131 PyObject
* obj6
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 arg2
= (int) SWIG_AsInt(obj1
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20152 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20156 arg5
= (long) SWIG_AsLong(obj4
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20160 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20163 if (arg6
== NULL
) {
20164 PyErr_SetString(PyExc_TypeError
,"null reference");
20170 arg7
= wxString_in_helper(obj6
);
20171 if (arg7
== NULL
) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20197 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPyListCtrl
*result
;
20200 char *kwnames
[] = {
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20219 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20222 wxWindow
*arg2
= (wxWindow
*) 0 ;
20223 int arg3
= (int) -1 ;
20224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20228 long arg6
= (long) wxLC_ICON
;
20229 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20230 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20231 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20236 bool temp8
= False
;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 PyObject
* obj2
= 0 ;
20240 PyObject
* obj3
= 0 ;
20241 PyObject
* obj4
= 0 ;
20242 PyObject
* obj5
= 0 ;
20243 PyObject
* obj6
= 0 ;
20244 PyObject
* obj7
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20255 arg3
= (int) SWIG_AsInt(obj2
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20271 arg6
= (long) SWIG_AsLong(obj5
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20275 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20278 if (arg7
== NULL
) {
20279 PyErr_SetString(PyExc_TypeError
,"null reference");
20285 arg8
= wxString_in_helper(obj7
);
20286 if (arg8
== NULL
) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20314 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20317 PyObject
*arg2
= (PyObject
*) 0 ;
20318 PyObject
*arg3
= (PyObject
*) 0 ;
20319 PyObject
* obj0
= 0 ;
20320 PyObject
* obj1
= 0 ;
20321 PyObject
* obj2
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self",(char *) "self",(char *) "_class", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 Py_INCREF(Py_None
); resultobj
= Py_None
;
20345 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20348 wxColour
*arg2
= 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "col", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20380 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20383 wxColour
*arg2
= 0 ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self",(char *) "col", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20415 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20419 wxListItem
*result
;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self",(char *) "col", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 arg2
= (int) SWIG_AsInt(obj1
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= wxPyMake_wxObject(result
);
20447 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20451 wxListItem
*arg3
= 0 ;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 PyObject
* obj2
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "self",(char *) "col",(char *) "item", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20463 arg2
= (int) SWIG_AsInt(obj1
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20465 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20468 if (arg3
== NULL
) {
20469 PyErr_SetString(PyExc_TypeError
,"null reference");
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20488 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self",(char *) "col", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 arg2
= (int) SWIG_AsInt(obj1
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_FromInt((int)result
);
20518 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 PyObject
* obj2
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self",(char *) "col",(char *) "width", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20534 arg2
= (int) SWIG_AsInt(obj1
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20536 arg3
= (int) SWIG_AsInt(obj2
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20554 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 char *kwnames
[] = {
20560 (char *) "self", NULL
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_FromInt((int)result
);
20580 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20600 wxRect
* resultptr
;
20601 resultptr
= new wxRect((wxRect
&) result
);
20602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20610 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20614 int arg3
= (int) 0 ;
20615 wxListItem
*result
;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 PyObject
* obj2
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self",(char *) "itemId",(char *) "col", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 arg2
= (long) SWIG_AsLong(obj1
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 arg3
= (int) SWIG_AsInt(obj2
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= wxPyMake_wxObject(result
);
20648 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
;
20650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20651 wxListItem
*arg2
= 0 ;
20653 PyObject
* obj0
= 0 ;
20654 PyObject
* obj1
= 0 ;
20655 char *kwnames
[] = {
20656 (char *) "self",(char *) "info", NULL
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20665 if (arg2
== NULL
) {
20666 PyErr_SetString(PyExc_TypeError
,"null reference");
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (bool)(arg1
)->SetItem(*arg2
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20685 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20690 wxString
*arg4
= 0 ;
20691 int arg5
= (int) -1 ;
20693 bool temp4
= False
;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 PyObject
* obj2
= 0 ;
20697 PyObject
* obj3
= 0 ;
20698 PyObject
* obj4
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 arg2
= (long) SWIG_AsLong(obj1
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20708 arg3
= (int) SWIG_AsInt(obj2
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 arg4
= wxString_in_helper(obj3
);
20712 if (arg4
== NULL
) SWIG_fail
;
20716 arg5
= (int) SWIG_AsInt(obj4
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_FromLong((long)result
);
20741 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
;
20743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 PyObject
* obj2
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 arg2
= (long) SWIG_AsLong(obj1
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20759 arg3
= (long) SWIG_AsLong(obj2
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_FromInt((int)result
);
20775 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 PyObject
* obj2
= 0 ;
20785 PyObject
* obj3
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 arg2
= (long) SWIG_AsLong(obj1
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20795 arg3
= (long) SWIG_AsLong(obj2
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20797 arg4
= (long) SWIG_AsLong(obj3
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20815 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20822 PyObject
* obj0
= 0 ;
20823 PyObject
* obj1
= 0 ;
20824 PyObject
* obj2
= 0 ;
20825 PyObject
* obj3
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 arg2
= (long) SWIG_AsLong(obj1
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20835 arg3
= (int) SWIG_AsInt(obj2
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20837 arg4
= (int) SWIG_AsInt(obj3
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20855 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self",(char *) "item", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 arg2
= (long) SWIG_AsLong(obj1
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20891 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20895 wxString
*arg3
= 0 ;
20896 bool temp3
= False
;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 PyObject
* obj2
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "self",(char *) "item",(char *) "str", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 arg2
= (long) SWIG_AsLong(obj1
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 arg3
= wxString_in_helper(obj2
);
20911 if (arg3
== NULL
) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 Py_INCREF(Py_None
); resultobj
= Py_None
;
20936 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self",(char *) "item", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20950 arg2
= (long) SWIG_AsLong(obj1
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= SWIG_FromLong((long)result
);
20966 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20972 PyObject
* obj0
= 0 ;
20973 PyObject
* obj1
= 0 ;
20974 PyObject
* obj2
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self",(char *) "item",(char *) "data", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
20984 arg3
= (long) SWIG_AsLong(obj2
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21002 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 PyObject
* obj1
= 0 ;
21009 char *kwnames
[] = {
21010 (char *) "self",(char *) "item", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21016 arg2
= (long) SWIG_AsLong(obj1
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 wxPoint
* resultptr
;
21027 resultptr
= new wxPoint((wxPoint
&) result
);
21028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21036 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21040 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 PyObject
* obj2
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self",(char *) "item",(char *) "code", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 arg2
= (long) SWIG_AsLong(obj1
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 arg3
= (int) SWIG_AsInt(obj2
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21066 wxRect
* resultptr
;
21067 resultptr
= new wxRect((wxRect
&) result
);
21068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21076 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21080 wxPoint
*arg3
= 0 ;
21083 PyObject
* obj0
= 0 ;
21084 PyObject
* obj1
= 0 ;
21085 PyObject
* obj2
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self",(char *) "item",(char *) "pos", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21093 arg2
= (long) SWIG_AsLong(obj1
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*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_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21119 PyObject
* obj0
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "self", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_FromInt((int)result
);
21141 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21145 PyObject
* obj0
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_FromInt((int)result
);
21167 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21171 PyObject
* obj0
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "self", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21187 wxSize
* resultptr
;
21188 resultptr
= new wxSize((wxSize
&) result
);
21189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21197 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21201 bool arg3
= (bool) False
;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 PyObject
* obj2
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21212 arg2
= (int) SWIG_AsInt(obj1
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 arg3
= (bool) SWIG_AsBool(obj2
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 (arg1
)->SetItemSpacing(arg2
,arg3
);
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 Py_INCREF(Py_None
); resultobj
= Py_None
;
21232 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_FromInt((int)result
);
21258 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21259 PyObject
*resultobj
;
21260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21262 PyObject
* obj0
= 0 ;
21263 char *kwnames
[] = {
21264 (char *) "self", NULL
21267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21278 wxColour
* resultptr
;
21279 resultptr
= new wxColour((wxColour
&) result
);
21280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21288 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21291 wxColour
*arg2
= 0 ;
21293 PyObject
* obj0
= 0 ;
21294 PyObject
* obj1
= 0 ;
21295 char *kwnames
[] = {
21296 (char *) "self",(char *) "col", NULL
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 Py_INCREF(Py_None
); resultobj
= Py_None
;
21320 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_FromLong((long)result
);
21346 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21350 bool arg3
= (bool) True
;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 PyObject
* obj2
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "self",(char *) "style",(char *) "add", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21361 arg2
= (long) SWIG_AsLong(obj1
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 arg3
= (bool) SWIG_AsBool(obj2
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 (arg1
)->SetSingleStyle(arg2
,arg3
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 Py_INCREF(Py_None
); resultobj
= Py_None
;
21381 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 PyObject
* obj1
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "style", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 arg2
= (long) SWIG_AsLong(obj1
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 (arg1
)->SetWindowStyleFlag(arg2
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21414 int arg3
= (int) wxLIST_NEXT_ALL
;
21415 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21417 PyObject
* obj0
= 0 ;
21418 PyObject
* obj1
= 0 ;
21419 PyObject
* obj2
= 0 ;
21420 PyObject
* obj3
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21428 arg2
= (long) SWIG_AsLong(obj1
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 arg3
= (int) SWIG_AsInt(obj2
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21435 arg4
= (int) SWIG_AsInt(obj3
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_FromLong((long)result
);
21452 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21456 wxImageList
*result
;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self",(char *) "which", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21466 arg2
= (int) SWIG_AsInt(obj1
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21476 resultobj
= wxPyMake_wxObject(result
);
21484 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21487 wxImageList
*arg2
= (wxImageList
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 PyObject
* obj1
= 0 ;
21491 PyObject
* obj2
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "self",(char *) "imageList",(char *) "which", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21501 arg3
= (int) SWIG_AsInt(obj2
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 (arg1
)->SetImageList(arg2
,arg3
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 Py_INCREF(Py_None
); resultobj
= Py_None
;
21517 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21520 wxImageList
*arg2
= (wxImageList
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 PyObject
* obj2
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "imageList",(char *) "which", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21533 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21534 arg3
= (int) SWIG_AsInt(obj2
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 (arg1
)->AssignImageList(arg2
,arg3
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 Py_INCREF(Py_None
); resultobj
= Py_None
;
21550 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21578 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21606 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self",(char *) "item", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21619 arg2
= (long) SWIG_AsLong(obj1
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 (arg1
)->RefreshItem(arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 Py_INCREF(Py_None
); resultobj
= Py_None
;
21635 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 PyObject
* obj2
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21650 arg2
= (long) SWIG_AsLong(obj1
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21652 arg3
= (long) SWIG_AsLong(obj2
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 (arg1
)->RefreshItems(arg2
,arg3
);
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21661 Py_INCREF(Py_None
); resultobj
= Py_None
;
21668 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21671 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21673 PyObject
* obj0
= 0 ;
21674 PyObject
* obj1
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self",(char *) "flag", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 arg2
= (int) SWIG_AsInt(obj1
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (bool)(arg1
)->Arrange(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21702 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "item", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21716 arg2
= (long) SWIG_AsLong(obj1
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 result
= (bool)(arg1
)->DeleteItem(arg2
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21734 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21738 PyObject
* obj0
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 result
= (bool)(arg1
)->DeleteAllItems();
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21762 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
;
21764 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 char *kwnames
[] = {
21770 (char *) "self",(char *) "col", NULL
21773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21776 arg2
= (int) SWIG_AsInt(obj1
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21794 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21798 PyObject
* obj0
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= (bool)(arg1
)->DeleteAllColumns();
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21822 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
;
21824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 (arg1
)->ClearAll();
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 Py_INCREF(Py_None
); resultobj
= Py_None
;
21847 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "item", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21860 arg2
= (long) SWIG_AsLong(obj1
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 (arg1
)->EditLabel(arg2
);
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 Py_INCREF(Py_None
); resultobj
= Py_None
;
21876 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
;
21878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "self",(char *) "item", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21890 arg2
= (long) SWIG_AsLong(obj1
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21908 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21912 wxString
*arg3
= 0 ;
21913 bool arg4
= (bool) False
;
21915 bool temp3
= False
;
21916 PyObject
* obj0
= 0 ;
21917 PyObject
* obj1
= 0 ;
21918 PyObject
* obj2
= 0 ;
21919 PyObject
* obj3
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 arg2
= (long) SWIG_AsLong(obj1
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 arg3
= wxString_in_helper(obj2
);
21931 if (arg3
== NULL
) SWIG_fail
;
21935 arg4
= (bool) SWIG_AsBool(obj3
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= SWIG_FromLong((long)result
);
21960 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 PyObject
* obj1
= 0 ;
21968 PyObject
* obj2
= 0 ;
21969 char *kwnames
[] = {
21970 (char *) "self",(char *) "start",(char *) "data", NULL
21973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21976 arg2
= (long) SWIG_AsLong(obj1
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21978 arg3
= (long) SWIG_AsLong(obj2
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= SWIG_FromLong((long)result
);
21994 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21998 wxPoint
*arg3
= 0 ;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 PyObject
* obj2
= 0 ;
22005 PyObject
* obj3
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 arg2
= (long) SWIG_AsLong(obj1
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22019 arg4
= (int) SWIG_AsInt(obj3
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= SWIG_FromLong((long)result
);
22035 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22038 wxPoint
*arg2
= 0 ;
22043 PyObject
* obj0
= 0 ;
22044 PyObject
* obj1
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self",(char *) "point", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= SWIG_FromLong((long)result
);
22066 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22067 resultobj
= t_output_helper(resultobj
,o
);
22075 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22078 wxListItem
*arg2
= 0 ;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self",(char *) "info", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22092 if (arg2
== NULL
) {
22093 PyErr_SetString(PyExc_TypeError
,"null reference");
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (long)(arg1
)->InsertItem(*arg2
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_FromLong((long)result
);
22110 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22114 wxString
*arg3
= 0 ;
22116 bool temp3
= False
;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 PyObject
* obj2
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "index",(char *) "label", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 arg2
= (long) SWIG_AsLong(obj1
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 arg3
= wxString_in_helper(obj2
);
22131 if (arg3
== NULL
) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 resultobj
= SWIG_FromLong((long)result
);
22156 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22162 PyObject
* obj0
= 0 ;
22163 PyObject
* obj1
= 0 ;
22164 PyObject
* obj2
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22172 arg2
= (long) SWIG_AsLong(obj1
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22174 arg3
= (int) SWIG_AsInt(obj2
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_FromLong((long)result
);
22190 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22194 wxString
*arg3
= 0 ;
22197 bool temp3
= False
;
22198 PyObject
* obj0
= 0 ;
22199 PyObject
* obj1
= 0 ;
22200 PyObject
* obj2
= 0 ;
22201 PyObject
* obj3
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22209 arg2
= (long) SWIG_AsLong(obj1
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 arg3
= wxString_in_helper(obj2
);
22213 if (arg3
== NULL
) SWIG_fail
;
22216 arg4
= (int) SWIG_AsInt(obj3
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_FromLong((long)result
);
22240 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22244 wxListItem
*arg3
= 0 ;
22246 PyObject
* obj0
= 0 ;
22247 PyObject
* obj1
= 0 ;
22248 PyObject
* obj2
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self",(char *) "col",(char *) "info", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 arg2
= (long) SWIG_AsLong(obj1
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22258 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22261 if (arg3
== NULL
) {
22262 PyErr_SetString(PyExc_TypeError
,"null reference");
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= SWIG_FromLong((long)result
);
22279 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22283 wxString
*arg3
= 0 ;
22284 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22285 int arg5
= (int) -1 ;
22287 bool temp3
= False
;
22288 PyObject
* obj0
= 0 ;
22289 PyObject
* obj1
= 0 ;
22290 PyObject
* obj2
= 0 ;
22291 PyObject
* obj3
= 0 ;
22292 PyObject
* obj4
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 arg2
= (long) SWIG_AsLong(obj1
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 arg3
= wxString_in_helper(obj2
);
22304 if (arg3
== NULL
) SWIG_fail
;
22308 arg4
= (int) SWIG_AsInt(obj3
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22312 arg5
= (int) SWIG_AsInt(obj4
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_FromLong((long)result
);
22337 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22341 PyObject
* obj0
= 0 ;
22342 PyObject
* obj1
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self",(char *) "count", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22350 arg2
= (long) SWIG_AsLong(obj1
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 (arg1
)->SetItemCount(arg2
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 Py_INCREF(Py_None
); resultobj
= Py_None
;
22366 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22372 PyObject
* obj0
= 0 ;
22373 PyObject
* obj1
= 0 ;
22374 PyObject
* obj2
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self",(char *) "dx",(char *) "dy", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 arg2
= (int) SWIG_AsInt(obj1
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22384 arg3
= (int) SWIG_AsInt(obj2
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22402 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22406 wxColour
*arg3
= 0 ;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 PyObject
* obj2
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self",(char *) "item",(char *) "col", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22418 arg2
= (long) SWIG_AsLong(obj1
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 Py_INCREF(Py_None
); resultobj
= Py_None
;
22438 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 PyObject
* obj1
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self",(char *) "item", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 arg2
= (long) SWIG_AsLong(obj1
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22462 wxColour
* resultptr
;
22463 resultptr
= new wxColour((wxColour
&) result
);
22464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22472 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22476 wxColour
*arg3
= 0 ;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 PyObject
* obj2
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self",(char *) "item",(char *) "col", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 arg2
= (long) SWIG_AsLong(obj1
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22492 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 Py_INCREF(Py_None
); resultobj
= Py_None
;
22508 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "item", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22522 arg2
= (long) SWIG_AsLong(obj1
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 wxColour
* resultptr
;
22533 resultptr
= new wxColour((wxColour
&) result
);
22534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22542 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22545 PyObject
*arg2
= (PyObject
*) 0 ;
22547 PyObject
* obj0
= 0 ;
22548 PyObject
* obj1
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self",(char *) "func", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22573 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22577 PyObject
* obj0
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= wxPyMake_wxObject(result
);
22601 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22604 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22606 return Py_BuildValue((char *)"");
22608 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxWindow
*arg1
= (wxWindow
*) 0 ;
22611 int arg2
= (int) -1 ;
22612 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22613 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22614 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22615 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22616 long arg5
= (long) wxLC_REPORT
;
22617 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22618 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22619 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22620 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22621 wxListView
*result
;
22624 bool temp7
= False
;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 PyObject
* obj2
= 0 ;
22628 PyObject
* obj3
= 0 ;
22629 PyObject
* obj4
= 0 ;
22630 PyObject
* obj5
= 0 ;
22631 PyObject
* obj6
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 arg2
= (int) SWIG_AsInt(obj1
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22652 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22656 arg5
= (long) SWIG_AsLong(obj4
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22660 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22663 if (arg6
== NULL
) {
22664 PyErr_SetString(PyExc_TypeError
,"null reference");
22670 arg7
= wxString_in_helper(obj6
);
22671 if (arg7
== NULL
) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22697 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxListView
*result
;
22700 char *kwnames
[] = {
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= (wxListView
*)new wxListView();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22719 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxListView
*arg1
= (wxListView
*) 0 ;
22722 wxWindow
*arg2
= (wxWindow
*) 0 ;
22723 int arg3
= (int) -1 ;
22724 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22725 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22726 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22727 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22728 long arg6
= (long) wxLC_REPORT
;
22729 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22730 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22731 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22732 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22736 bool temp8
= False
;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 PyObject
* obj2
= 0 ;
22740 PyObject
* obj3
= 0 ;
22741 PyObject
* obj4
= 0 ;
22742 PyObject
* obj5
= 0 ;
22743 PyObject
* obj6
= 0 ;
22744 PyObject
* obj7
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22755 arg3
= (int) SWIG_AsInt(obj2
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22761 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22767 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22771 arg6
= (long) SWIG_AsLong(obj5
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22775 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22778 if (arg7
== NULL
) {
22779 PyErr_SetString(PyExc_TypeError
,"null reference");
22785 arg8
= wxString_in_helper(obj7
);
22786 if (arg8
== NULL
) SWIG_fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22814 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxListView
*arg1
= (wxListView
*) 0 ;
22818 bool arg3
= (bool) True
;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22821 PyObject
* obj2
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self",(char *) "n",(char *) "on", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22829 arg2
= (long) SWIG_AsLong(obj1
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 arg3
= (bool) SWIG_AsBool(obj2
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 (arg1
)->Select(arg2
,arg3
);
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 Py_INCREF(Py_None
); resultobj
= Py_None
;
22849 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxListView
*arg1
= (wxListView
*) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self",(char *) "index", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22862 arg2
= (long) SWIG_AsLong(obj1
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22866 (arg1
)->Focus(arg2
);
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 Py_INCREF(Py_None
); resultobj
= Py_None
;
22878 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22879 PyObject
*resultobj
;
22880 wxListView
*arg1
= (wxListView
*) 0 ;
22882 PyObject
* obj0
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "self", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_FromLong((long)result
);
22904 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22906 wxListView
*arg1
= (wxListView
*) 0 ;
22909 PyObject
* obj0
= 0 ;
22910 PyObject
* obj1
= 0 ;
22911 char *kwnames
[] = {
22912 (char *) "self",(char *) "item", NULL
22915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22918 arg2
= (long) SWIG_AsLong(obj1
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_FromLong((long)result
);
22934 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxListView
*arg1
= (wxListView
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_FromLong((long)result
);
22960 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxListView
*arg1
= (wxListView
*) 0 ;
22965 PyObject
* obj0
= 0 ;
22966 PyObject
* obj1
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self",(char *) "index", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 arg2
= (long) SWIG_AsLong(obj1
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 result
= (bool)(arg1
)->IsSelected(arg2
);
22980 wxPyEndAllowThreads(__tstate
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22992 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxListView
*arg1
= (wxListView
*) 0 ;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 PyObject
* obj2
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self",(char *) "col",(char *) "image", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23007 arg2
= (int) SWIG_AsInt(obj1
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23009 arg3
= (int) SWIG_AsInt(obj2
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 (arg1
)->SetColumnImage(arg2
,arg3
);
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 Py_INCREF(Py_None
); resultobj
= Py_None
;
23025 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
;
23027 wxListView
*arg1
= (wxListView
*) 0 ;
23029 PyObject
* obj0
= 0 ;
23030 PyObject
* obj1
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "self",(char *) "col", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23038 arg2
= (int) SWIG_AsInt(obj1
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->ClearColumnImage(arg2
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 Py_INCREF(Py_None
); resultobj
= Py_None
;
23054 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23057 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23059 return Py_BuildValue((char *)"");
23061 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23062 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23067 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23072 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23074 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23081 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
;
23083 wxTreeItemId
*result
;
23084 char *kwnames
[] = {
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 result
= (wxTreeItemId
*)new wxTreeItemId();
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23103 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
;
23105 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 Py_INCREF(Py_None
); resultobj
= Py_None
;
23128 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23132 PyObject
* obj0
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23156 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23159 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self",(char *) "other", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23188 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23191 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self",(char *) "other", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23220 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23223 void *arg2
= (void *) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self",(char *) "m_pItem", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23233 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23234 if (arg1
) (arg1
)->m_pItem
= arg2
;
23236 Py_INCREF(Py_None
); resultobj
= Py_None
;
23243 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23255 result
= (void *) ((arg1
)->m_pItem
);
23257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23264 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23267 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23269 return Py_BuildValue((char *)"");
23271 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 PyObject
*arg1
= (PyObject
*) NULL
;
23274 wxPyTreeItemData
*result
;
23275 PyObject
* obj0
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "obj", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23298 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23302 PyObject
* obj0
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (PyObject
*)(arg1
)->GetData();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= result
;
23324 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23327 PyObject
*arg2
= (PyObject
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self",(char *) "obj", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 (arg1
)->SetData(arg2
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 Py_INCREF(Py_None
); resultobj
= Py_None
;
23352 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23355 wxTreeItemId
*result
;
23356 PyObject
* obj0
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23368 result
= (wxTreeItemId
*) &_result_ref
;
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23381 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23384 wxTreeItemId
*arg2
= 0 ;
23385 PyObject
* obj0
= 0 ;
23386 PyObject
* obj1
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self",(char *) "id", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23397 if (arg2
== NULL
) {
23398 PyErr_SetString(PyExc_TypeError
,"null reference");
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 Py_INCREF(Py_None
); resultobj
= Py_None
;
23415 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23418 PyObject
* obj0
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 wxPyTreeItemData_Destroy(arg1
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 Py_INCREF(Py_None
); resultobj
= Py_None
;
23440 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23443 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23445 return Py_BuildValue((char *)"");
23447 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23450 int arg2
= (int) 0 ;
23451 wxTreeEvent
*result
;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "commandType",(char *) "id", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23460 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23464 arg2
= (int) SWIG_AsInt(obj1
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23481 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23484 wxTreeItemId result
;
23485 PyObject
* obj0
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23501 wxTreeItemId
* resultptr
;
23502 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23511 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23514 wxTreeItemId
*arg2
= 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self",(char *) "item", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23527 if (arg2
== NULL
) {
23528 PyErr_SetString(PyExc_TypeError
,"null reference");
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 Py_INCREF(Py_None
); resultobj
= Py_None
;
23545 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
;
23547 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23548 wxTreeItemId result
;
23549 PyObject
* obj0
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "self", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23565 wxTreeItemId
* resultptr
;
23566 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23575 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23578 wxTreeItemId
*arg2
= 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "item", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23591 if (arg2
== NULL
) {
23592 PyErr_SetString(PyExc_TypeError
,"null reference");
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 Py_INCREF(Py_None
); resultobj
= Py_None
;
23609 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23613 PyObject
* obj0
= 0 ;
23614 char *kwnames
[] = {
23615 (char *) "self", NULL
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23629 wxPoint
* resultptr
;
23630 resultptr
= new wxPoint((wxPoint
&) result
);
23631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23639 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23641 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23642 wxPoint
*arg2
= 0 ;
23644 PyObject
* obj0
= 0 ;
23645 PyObject
* obj1
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self",(char *) "pt", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 Py_INCREF(Py_None
); resultobj
= Py_None
;
23671 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23674 wxKeyEvent
*result
;
23675 PyObject
* obj0
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23687 result
= (wxKeyEvent
*) &_result_ref
;
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23700 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23704 PyObject
* obj0
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "self", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_FromInt((int)result
);
23726 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23728 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23729 wxKeyEvent
*arg2
= 0 ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "evt", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23742 if (arg2
== NULL
) {
23743 PyErr_SetString(PyExc_TypeError
,"null reference");
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 Py_INCREF(Py_None
); resultobj
= Py_None
;
23760 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23762 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23764 PyObject
* obj0
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "self", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23776 result
= (wxString
*) &_result_ref
;
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23786 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23795 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23798 wxString
*arg2
= 0 ;
23799 bool temp2
= False
;
23800 PyObject
* obj0
= 0 ;
23801 PyObject
* obj1
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "self",(char *) "label", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 arg2
= wxString_in_helper(obj1
);
23811 if (arg2
== NULL
) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 (arg1
)->SetLabel((wxString
const &)*arg2
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 Py_INCREF(Py_None
); resultobj
= Py_None
;
23836 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23840 PyObject
* obj0
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23864 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 char *kwnames
[] = {
23871 (char *) "self",(char *) "editCancelled", NULL
23874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23877 arg2
= (bool) SWIG_AsBool(obj1
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 (arg1
)->SetEditCanceled(arg2
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 Py_INCREF(Py_None
); resultobj
= Py_None
;
23893 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
;
23895 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23896 wxString
*arg2
= 0 ;
23897 bool temp2
= False
;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23900 char *kwnames
[] = {
23901 (char *) "self",(char *) "toolTip", NULL
23904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23908 arg2
= wxString_in_helper(obj1
);
23909 if (arg2
== NULL
) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 Py_INCREF(Py_None
); resultobj
= Py_None
;
23934 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23937 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23939 return Py_BuildValue((char *)"");
23941 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23943 wxWindow
*arg1
= (wxWindow
*) 0 ;
23944 int arg2
= (int) -1 ;
23945 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23946 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23947 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23948 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23949 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23950 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23951 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23952 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23953 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23954 wxPyTreeCtrl
*result
;
23957 bool temp7
= False
;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 PyObject
* obj2
= 0 ;
23961 PyObject
* obj3
= 0 ;
23962 PyObject
* obj4
= 0 ;
23963 PyObject
* obj5
= 0 ;
23964 PyObject
* obj6
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 arg2
= (int) SWIG_AsInt(obj1
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23979 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23985 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23989 arg5
= (long) SWIG_AsLong(obj4
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23996 if (arg6
== NULL
) {
23997 PyErr_SetString(PyExc_TypeError
,"null reference");
24003 arg7
= wxString_in_helper(obj6
);
24004 if (arg7
== NULL
) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= wxPyMake_wxObject(result
);
24032 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
;
24034 wxPyTreeCtrl
*result
;
24035 char *kwnames
[] = {
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= wxPyMake_wxObject(result
);
24056 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
;
24058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24059 wxWindow
*arg2
= (wxWindow
*) 0 ;
24060 int arg3
= (int) -1 ;
24061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24065 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24066 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24067 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24068 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24069 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24073 bool temp8
= False
;
24074 PyObject
* obj0
= 0 ;
24075 PyObject
* obj1
= 0 ;
24076 PyObject
* obj2
= 0 ;
24077 PyObject
* obj3
= 0 ;
24078 PyObject
* obj4
= 0 ;
24079 PyObject
* obj5
= 0 ;
24080 PyObject
* obj6
= 0 ;
24081 PyObject
* obj7
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 arg3
= (int) SWIG_AsInt(obj2
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24098 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24104 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24108 arg6
= (long) SWIG_AsLong(obj5
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24112 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24115 if (arg7
== NULL
) {
24116 PyErr_SetString(PyExc_TypeError
,"null reference");
24122 arg8
= wxString_in_helper(obj7
);
24123 if (arg8
== NULL
) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24151 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24154 PyObject
*arg2
= (PyObject
*) 0 ;
24155 PyObject
*arg3
= (PyObject
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 PyObject
* obj2
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "self",(char *) "_class", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 Py_INCREF(Py_None
); resultobj
= Py_None
;
24182 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 char *kwnames
[] = {
24188 (char *) "self", NULL
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24208 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24211 unsigned int result
;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24234 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24237 unsigned int arg2
;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "indent", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24247 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 (arg1
)->SetIndent(arg2
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 Py_INCREF(Py_None
); resultobj
= Py_None
;
24263 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24266 unsigned int result
;
24267 PyObject
* obj0
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24289 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24292 unsigned int arg2
;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 char *kwnames
[] = {
24296 (char *) "self",(char *) "spacing", NULL
24299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24302 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 (arg1
)->SetSpacing(arg2
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 Py_INCREF(Py_None
); resultobj
= Py_None
;
24318 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24321 wxImageList
*result
;
24322 PyObject
* obj0
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= wxPyMake_wxObject(result
);
24346 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24349 wxImageList
*result
;
24350 PyObject
* obj0
= 0 ;
24351 char *kwnames
[] = {
24352 (char *) "self", NULL
24355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= wxPyMake_wxObject(result
);
24374 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
;
24376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24377 wxImageList
*arg2
= (wxImageList
*) 0 ;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 char *kwnames
[] = {
24381 (char *) "self",(char *) "imageList", NULL
24384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 (arg1
)->SetImageList(arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24406 wxImageList
*arg2
= (wxImageList
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 PyObject
* obj1
= 0 ;
24409 char *kwnames
[] = {
24410 (char *) "self",(char *) "imageList", NULL
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 (arg1
)->SetStateImageList(arg2
);
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 Py_INCREF(Py_None
); resultobj
= Py_None
;
24432 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
;
24434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24435 wxImageList
*arg2
= (wxImageList
*) 0 ;
24436 PyObject
* obj0
= 0 ;
24437 PyObject
* obj1
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self",(char *) "imageList", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24446 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 (arg1
)->AssignImageList(arg2
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 Py_INCREF(Py_None
); resultobj
= Py_None
;
24461 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24464 wxImageList
*arg2
= (wxImageList
*) 0 ;
24465 PyObject
* obj0
= 0 ;
24466 PyObject
* obj1
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self",(char *) "imageList", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24475 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 (arg1
)->AssignStateImageList(arg2
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 Py_INCREF(Py_None
); resultobj
= Py_None
;
24490 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24493 wxTreeItemId
*arg2
= 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 char *kwnames
[] = {
24498 (char *) "self",(char *) "item", NULL
24501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24507 if (arg2
== NULL
) {
24508 PyErr_SetString(PyExc_TypeError
,"null reference");
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24531 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24534 wxTreeItemId
*arg2
= 0 ;
24535 int arg3
= (int) wxTreeItemIcon_Normal
;
24537 PyObject
* obj0
= 0 ;
24538 PyObject
* obj1
= 0 ;
24539 PyObject
* obj2
= 0 ;
24540 char *kwnames
[] = {
24541 (char *) "self",(char *) "item",(char *) "which", NULL
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24550 if (arg2
== NULL
) {
24551 PyErr_SetString(PyExc_TypeError
,"null reference");
24555 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= SWIG_FromInt((int)result
);
24572 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
;
24574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24575 wxTreeItemId
*arg2
= 0 ;
24576 wxPyTreeItemData
*result
;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "item", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24589 if (arg2
== NULL
) {
24590 PyErr_SetString(PyExc_TypeError
,"null reference");
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24607 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24610 wxTreeItemId
*arg2
= 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 char *kwnames
[] = {
24615 (char *) "self",(char *) "item", NULL
24618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24624 if (arg2
== NULL
) {
24625 PyErr_SetString(PyExc_TypeError
,"null reference");
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= result
;
24642 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
;
24644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24645 wxTreeItemId
*arg2
= 0 ;
24647 PyObject
* obj0
= 0 ;
24648 PyObject
* obj1
= 0 ;
24649 char *kwnames
[] = {
24650 (char *) "self",(char *) "item", NULL
24653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24659 if (arg2
== NULL
) {
24660 PyErr_SetString(PyExc_TypeError
,"null reference");
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 wxColour
* resultptr
;
24672 resultptr
= new wxColour((wxColour
&) result
);
24673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24681 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24684 wxTreeItemId
*arg2
= 0 ;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self",(char *) "item", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24698 if (arg2
== NULL
) {
24699 PyErr_SetString(PyExc_TypeError
,"null reference");
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 wxColour
* resultptr
;
24711 resultptr
= new wxColour((wxColour
&) result
);
24712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24720 static PyObject
*_wrap_TreeCtrl_GetItemFont(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_GetItemFont",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
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24749 wxFont
* resultptr
;
24750 resultptr
= new wxFont((wxFont
&) result
);
24751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24759 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24762 wxTreeItemId
*arg2
= 0 ;
24763 wxString
*arg3
= 0 ;
24764 bool temp3
= False
;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 PyObject
* obj2
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self",(char *) "item",(char *) "text", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24778 if (arg2
== NULL
) {
24779 PyErr_SetString(PyExc_TypeError
,"null reference");
24783 arg3
= wxString_in_helper(obj2
);
24784 if (arg3
== NULL
) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 Py_INCREF(Py_None
); resultobj
= Py_None
;
24809 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24812 wxTreeItemId
*arg2
= 0 ;
24814 int arg4
= (int) wxTreeItemIcon_Normal
;
24815 PyObject
* obj0
= 0 ;
24816 PyObject
* obj1
= 0 ;
24817 PyObject
* obj2
= 0 ;
24818 PyObject
* obj3
= 0 ;
24819 char *kwnames
[] = {
24820 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24829 if (arg2
== NULL
) {
24830 PyErr_SetString(PyExc_TypeError
,"null reference");
24833 arg3
= (int) SWIG_AsInt(obj2
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 Py_INCREF(Py_None
); resultobj
= Py_None
;
24853 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
;
24855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24856 wxTreeItemId
*arg2
= 0 ;
24857 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 PyObject
* obj2
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self",(char *) "item",(char *) "data", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24871 if (arg2
== NULL
) {
24872 PyErr_SetString(PyExc_TypeError
,"null reference");
24875 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 Py_INCREF(Py_None
); resultobj
= Py_None
;
24891 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24894 wxTreeItemId
*arg2
= 0 ;
24895 PyObject
*arg3
= (PyObject
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 PyObject
* obj2
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self",(char *) "item",(char *) "obj", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24909 if (arg2
== NULL
) {
24910 PyErr_SetString(PyExc_TypeError
,"null reference");
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 Py_INCREF(Py_None
); resultobj
= Py_None
;
24928 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24931 wxTreeItemId
*arg2
= 0 ;
24932 bool arg3
= (bool) True
;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 PyObject
* obj2
= 0 ;
24936 char *kwnames
[] = {
24937 (char *) "self",(char *) "item",(char *) "has", NULL
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24946 if (arg2
== NULL
) {
24947 PyErr_SetString(PyExc_TypeError
,"null reference");
24951 arg3
= (bool) SWIG_AsBool(obj2
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 Py_INCREF(Py_None
); resultobj
= Py_None
;
24968 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
;
24970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24971 wxTreeItemId
*arg2
= 0 ;
24972 bool arg3
= (bool) True
;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 PyObject
* obj2
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "item",(char *) "bold", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24986 if (arg2
== NULL
) {
24987 PyErr_SetString(PyExc_TypeError
,"null reference");
24991 arg3
= (bool) SWIG_AsBool(obj2
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 Py_INCREF(Py_None
); resultobj
= Py_None
;
25008 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
;
25010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25011 wxTreeItemId
*arg2
= 0 ;
25012 wxColour
*arg3
= 0 ;
25014 PyObject
* obj0
= 0 ;
25015 PyObject
* obj1
= 0 ;
25016 PyObject
* obj2
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self",(char *) "item",(char *) "col", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25027 if (arg2
== NULL
) {
25028 PyErr_SetString(PyExc_TypeError
,"null reference");
25033 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 Py_INCREF(Py_None
); resultobj
= Py_None
;
25049 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25052 wxTreeItemId
*arg2
= 0 ;
25053 wxColour
*arg3
= 0 ;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 PyObject
* obj2
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self",(char *) "item",(char *) "col", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25068 if (arg2
== NULL
) {
25069 PyErr_SetString(PyExc_TypeError
,"null reference");
25074 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 Py_INCREF(Py_None
); resultobj
= Py_None
;
25090 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25093 wxTreeItemId
*arg2
= 0 ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 PyObject
* obj2
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "self",(char *) "item",(char *) "font", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25108 if (arg2
== NULL
) {
25109 PyErr_SetString(PyExc_TypeError
,"null reference");
25112 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25115 if (arg3
== NULL
) {
25116 PyErr_SetString(PyExc_TypeError
,"null reference");
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 Py_INCREF(Py_None
); resultobj
= Py_None
;
25133 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25136 wxTreeItemId
*arg2
= 0 ;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self",(char *) "item", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25150 if (arg2
== NULL
) {
25151 PyErr_SetString(PyExc_TypeError
,"null reference");
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25170 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25173 wxTreeItemId
*arg2
= 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self",(char *) "item", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25187 if (arg2
== NULL
) {
25188 PyErr_SetString(PyExc_TypeError
,"null reference");
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25207 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25210 wxTreeItemId
*arg2
= 0 ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "self",(char *) "item", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25224 if (arg2
== NULL
) {
25225 PyErr_SetString(PyExc_TypeError
,"null reference");
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25244 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25247 wxTreeItemId
*arg2
= 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "item", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) 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");
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25281 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
;
25283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25284 wxTreeItemId
*arg2
= 0 ;
25286 PyObject
* obj0
= 0 ;
25287 PyObject
* obj1
= 0 ;
25288 char *kwnames
[] = {
25289 (char *) "self",(char *) "item", NULL
25292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25298 if (arg2
== NULL
) {
25299 PyErr_SetString(PyExc_TypeError
,"null reference");
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25318 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
;
25320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25321 wxTreeItemId
*arg2
= 0 ;
25322 bool arg3
= (bool) True
;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 PyObject
* obj2
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self",(char *) "item",(char *) "recursively", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25337 if (arg2
== NULL
) {
25338 PyErr_SetString(PyExc_TypeError
,"null reference");
25342 arg3
= (bool) SWIG_AsBool(obj2
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25359 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25362 wxTreeItemId result
;
25363 PyObject
* obj0
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25379 wxTreeItemId
* resultptr
;
25380 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25389 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
;
25391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25392 wxTreeItemId result
;
25393 PyObject
* obj0
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "self", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25409 wxTreeItemId
* resultptr
;
25410 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25419 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
;
25421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25423 PyObject
* obj0
= 0 ;
25424 char *kwnames
[] = {
25425 (char *) "self", NULL
25428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= result
;
25445 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
;
25447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25448 wxTreeItemId
*arg2
= 0 ;
25449 wxTreeItemId result
;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "item", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25462 if (arg2
== NULL
) {
25463 PyErr_SetString(PyExc_TypeError
,"null reference");
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25474 wxTreeItemId
* resultptr
;
25475 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25484 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25487 wxTreeItemId
*arg2
= 0 ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self",(char *) "item", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25501 if (arg2
== NULL
) {
25502 PyErr_SetString(PyExc_TypeError
,"null reference");
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= result
;
25519 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
;
25521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25522 wxTreeItemId
*arg2
= 0 ;
25523 void *arg3
= (void *) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 PyObject
* obj2
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self",(char *) "item",(char *) "cookie", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25538 if (arg2
== NULL
) {
25539 PyErr_SetString(PyExc_TypeError
,"null reference");
25542 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= result
;
25557 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
;
25559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25560 wxTreeItemId
*arg2
= 0 ;
25561 wxTreeItemId result
;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self",(char *) "item", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25574 if (arg2
== NULL
) {
25575 PyErr_SetString(PyExc_TypeError
,"null reference");
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25586 wxTreeItemId
* resultptr
;
25587 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25596 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25599 wxTreeItemId
*arg2
= 0 ;
25600 wxTreeItemId result
;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 char *kwnames
[] = {
25604 (char *) "self",(char *) "item", NULL
25607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25613 if (arg2
== NULL
) {
25614 PyErr_SetString(PyExc_TypeError
,"null reference");
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25625 wxTreeItemId
* resultptr
;
25626 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25635 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
;
25637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25638 wxTreeItemId
*arg2
= 0 ;
25639 wxTreeItemId result
;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self",(char *) "item", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25652 if (arg2
== NULL
) {
25653 PyErr_SetString(PyExc_TypeError
,"null reference");
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25664 wxTreeItemId
* resultptr
;
25665 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25674 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25677 wxTreeItemId result
;
25678 PyObject
* obj0
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "self", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25694 wxTreeItemId
* resultptr
;
25695 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25704 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25707 wxTreeItemId
*arg2
= 0 ;
25708 wxTreeItemId result
;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "item", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25721 if (arg2
== NULL
) {
25722 PyErr_SetString(PyExc_TypeError
,"null reference");
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25733 wxTreeItemId
* resultptr
;
25734 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25743 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
;
25745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25746 wxTreeItemId
*arg2
= 0 ;
25747 wxTreeItemId result
;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self",(char *) "item", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25760 if (arg2
== NULL
) {
25761 PyErr_SetString(PyExc_TypeError
,"null reference");
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 wxTreeItemId
* resultptr
;
25773 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25782 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
;
25784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25785 wxString
*arg2
= 0 ;
25786 int arg3
= (int) -1 ;
25787 int arg4
= (int) -1 ;
25788 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25789 wxTreeItemId result
;
25790 bool temp2
= False
;
25791 PyObject
* obj0
= 0 ;
25792 PyObject
* obj1
= 0 ;
25793 PyObject
* obj2
= 0 ;
25794 PyObject
* obj3
= 0 ;
25795 PyObject
* obj4
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25804 arg2
= wxString_in_helper(obj1
);
25805 if (arg2
== NULL
) SWIG_fail
;
25809 arg3
= (int) SWIG_AsInt(obj2
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 arg4
= (int) SWIG_AsInt(obj3
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 wxTreeItemId
* resultptr
;
25829 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25846 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
;
25848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25849 wxTreeItemId
*arg2
= 0 ;
25850 wxString
*arg3
= 0 ;
25851 int arg4
= (int) -1 ;
25852 int arg5
= (int) -1 ;
25853 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25854 wxTreeItemId result
;
25855 bool temp3
= False
;
25856 PyObject
* obj0
= 0 ;
25857 PyObject
* obj1
= 0 ;
25858 PyObject
* obj2
= 0 ;
25859 PyObject
* obj3
= 0 ;
25860 PyObject
* obj4
= 0 ;
25861 PyObject
* obj5
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25872 if (arg2
== NULL
) {
25873 PyErr_SetString(PyExc_TypeError
,"null reference");
25877 arg3
= wxString_in_helper(obj2
);
25878 if (arg3
== NULL
) SWIG_fail
;
25882 arg4
= (int) SWIG_AsInt(obj3
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 arg5
= (int) SWIG_AsInt(obj4
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25890 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25901 wxTreeItemId
* resultptr
;
25902 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25919 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
;
25921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25922 wxTreeItemId
*arg2
= 0 ;
25923 wxTreeItemId
*arg3
= 0 ;
25924 wxString
*arg4
= 0 ;
25925 int arg5
= (int) -1 ;
25926 int arg6
= (int) -1 ;
25927 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25928 wxTreeItemId result
;
25929 bool temp4
= False
;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 PyObject
* obj2
= 0 ;
25933 PyObject
* obj3
= 0 ;
25934 PyObject
* obj4
= 0 ;
25935 PyObject
* obj5
= 0 ;
25936 PyObject
* obj6
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25947 if (arg2
== NULL
) {
25948 PyErr_SetString(PyExc_TypeError
,"null reference");
25951 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25954 if (arg3
== NULL
) {
25955 PyErr_SetString(PyExc_TypeError
,"null reference");
25959 arg4
= wxString_in_helper(obj3
);
25960 if (arg4
== NULL
) SWIG_fail
;
25964 arg5
= (int) SWIG_AsInt(obj4
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 arg6
= (int) SWIG_AsInt(obj5
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 wxTreeItemId
* resultptr
;
25984 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26001 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26004 wxTreeItemId
*arg2
= 0 ;
26006 wxString
*arg4
= 0 ;
26007 int arg5
= (int) -1 ;
26008 int arg6
= (int) -1 ;
26009 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26010 wxTreeItemId result
;
26011 bool temp4
= False
;
26012 PyObject
* obj0
= 0 ;
26013 PyObject
* obj1
= 0 ;
26014 PyObject
* obj2
= 0 ;
26015 PyObject
* obj3
= 0 ;
26016 PyObject
* obj4
= 0 ;
26017 PyObject
* obj5
= 0 ;
26018 PyObject
* obj6
= 0 ;
26019 char *kwnames
[] = {
26020 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26029 if (arg2
== NULL
) {
26030 PyErr_SetString(PyExc_TypeError
,"null reference");
26033 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 arg4
= wxString_in_helper(obj3
);
26037 if (arg4
== NULL
) SWIG_fail
;
26041 arg5
= (int) SWIG_AsInt(obj4
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 arg6
= (int) SWIG_AsInt(obj5
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26049 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 wxTreeItemId
* resultptr
;
26061 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26078 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26081 wxTreeItemId
*arg2
= 0 ;
26082 wxString
*arg3
= 0 ;
26083 int arg4
= (int) -1 ;
26084 int arg5
= (int) -1 ;
26085 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26086 wxTreeItemId result
;
26087 bool temp3
= False
;
26088 PyObject
* obj0
= 0 ;
26089 PyObject
* obj1
= 0 ;
26090 PyObject
* obj2
= 0 ;
26091 PyObject
* obj3
= 0 ;
26092 PyObject
* obj4
= 0 ;
26093 PyObject
* obj5
= 0 ;
26094 char *kwnames
[] = {
26095 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26104 if (arg2
== NULL
) {
26105 PyErr_SetString(PyExc_TypeError
,"null reference");
26109 arg3
= wxString_in_helper(obj2
);
26110 if (arg3
== NULL
) SWIG_fail
;
26114 arg4
= (int) SWIG_AsInt(obj3
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26118 arg5
= (int) SWIG_AsInt(obj4
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26122 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26133 wxTreeItemId
* resultptr
;
26134 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26151 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26154 wxTreeItemId
*arg2
= 0 ;
26155 PyObject
* obj0
= 0 ;
26156 PyObject
* obj1
= 0 ;
26157 char *kwnames
[] = {
26158 (char *) "self",(char *) "item", NULL
26161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26167 if (arg2
== NULL
) {
26168 PyErr_SetString(PyExc_TypeError
,"null reference");
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 Py_INCREF(Py_None
); resultobj
= Py_None
;
26185 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26188 wxTreeItemId
*arg2
= 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "item", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26201 if (arg2
== NULL
) {
26202 PyErr_SetString(PyExc_TypeError
,"null reference");
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 Py_INCREF(Py_None
); resultobj
= Py_None
;
26219 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 (arg1
)->DeleteAllItems();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 Py_INCREF(Py_None
); resultobj
= Py_None
;
26244 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26247 wxTreeItemId
*arg2
= 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self",(char *) "item", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26260 if (arg2
== NULL
) {
26261 PyErr_SetString(PyExc_TypeError
,"null reference");
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 Py_INCREF(Py_None
); resultobj
= Py_None
;
26278 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26281 wxTreeItemId
*arg2
= 0 ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self",(char *) "item", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26294 if (arg2
== NULL
) {
26295 PyErr_SetString(PyExc_TypeError
,"null reference");
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 Py_INCREF(Py_None
); resultobj
= Py_None
;
26312 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26315 wxTreeItemId
*arg2
= 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self",(char *) "item", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26328 if (arg2
== NULL
) {
26329 PyErr_SetString(PyExc_TypeError
,"null reference");
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 Py_INCREF(Py_None
); resultobj
= Py_None
;
26346 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26349 wxTreeItemId
*arg2
= 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "item", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26362 if (arg2
== NULL
) {
26363 PyErr_SetString(PyExc_TypeError
,"null reference");
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 Py_INCREF(Py_None
); resultobj
= Py_None
;
26380 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26383 PyObject
* obj0
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 (arg1
)->Unselect();
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 Py_INCREF(Py_None
); resultobj
= Py_None
;
26405 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
;
26407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26408 wxTreeItemId
*arg2
= 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self",(char *) "item", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26421 if (arg2
== NULL
) {
26422 PyErr_SetString(PyExc_TypeError
,"null reference");
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 Py_INCREF(Py_None
); resultobj
= Py_None
;
26439 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26442 PyObject
* obj0
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 (arg1
)->UnselectAll();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 Py_INCREF(Py_None
); resultobj
= Py_None
;
26464 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26467 wxTreeItemId
*arg2
= 0 ;
26468 bool arg3
= (bool) True
;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 PyObject
* obj2
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self",(char *) "item",(char *) "select", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26482 if (arg2
== NULL
) {
26483 PyErr_SetString(PyExc_TypeError
,"null reference");
26487 arg3
= (bool) SWIG_AsBool(obj2
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 Py_INCREF(Py_None
); resultobj
= Py_None
;
26504 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26507 wxTreeItemId
*arg2
= 0 ;
26508 PyObject
* obj0
= 0 ;
26509 PyObject
* obj1
= 0 ;
26510 char *kwnames
[] = {
26511 (char *) "self",(char *) "item", NULL
26514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26520 if (arg2
== NULL
) {
26521 PyErr_SetString(PyExc_TypeError
,"null reference");
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 Py_INCREF(Py_None
); resultobj
= Py_None
;
26538 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
;
26540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26541 wxTreeItemId
*arg2
= 0 ;
26542 PyObject
* obj0
= 0 ;
26543 PyObject
* obj1
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self",(char *) "item", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26554 if (arg2
== NULL
) {
26555 PyErr_SetString(PyExc_TypeError
,"null reference");
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 Py_INCREF(Py_None
); resultobj
= Py_None
;
26572 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
;
26574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26575 wxTreeItemId
*arg2
= 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char *kwnames
[] = {
26579 (char *) "self",(char *) "item", NULL
26582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26588 if (arg2
== NULL
) {
26589 PyErr_SetString(PyExc_TypeError
,"null reference");
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 Py_INCREF(Py_None
); resultobj
= Py_None
;
26606 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
;
26608 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26609 wxTreeItemId
*arg2
= 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char *kwnames
[] = {
26613 (char *) "self",(char *) "item", NULL
26616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26622 if (arg2
== NULL
) {
26623 PyErr_SetString(PyExc_TypeError
,"null reference");
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 Py_INCREF(Py_None
); resultobj
= Py_None
;
26640 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26643 wxTextCtrl
*result
;
26644 PyObject
* obj0
= 0 ;
26645 char *kwnames
[] = {
26646 (char *) "self", NULL
26649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= wxPyMake_wxObject(result
);
26668 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26671 wxTreeItemId
*arg2
= 0 ;
26672 PyObject
* obj0
= 0 ;
26673 PyObject
* obj1
= 0 ;
26674 char *kwnames
[] = {
26675 (char *) "self",(char *) "item", NULL
26678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26684 if (arg2
== NULL
) {
26685 PyErr_SetString(PyExc_TypeError
,"null reference");
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 Py_INCREF(Py_None
); resultobj
= Py_None
;
26702 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26703 PyObject
*resultobj
;
26704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26705 wxPoint
*arg2
= 0 ;
26707 wxTreeItemId result
;
26710 PyObject
* obj0
= 0 ;
26711 PyObject
* obj1
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self",(char *) "point", NULL
26717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26732 wxTreeItemId
* resultptr
;
26733 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26737 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26738 resultobj
= t_output_helper(resultobj
,o
);
26746 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
;
26748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26749 wxTreeItemId
*arg2
= 0 ;
26750 bool arg3
= (bool) False
;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26754 PyObject
* obj2
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26765 if (arg2
== NULL
) {
26766 PyErr_SetString(PyExc_TypeError
,"null reference");
26770 arg3
= (bool) SWIG_AsBool(obj2
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= result
;
26787 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26790 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26792 return Py_BuildValue((char *)"");
26794 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26795 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26800 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26805 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26807 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26814 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
;
26816 wxWindow
*arg1
= (wxWindow
*) 0 ;
26817 int arg2
= (int) (int)-1 ;
26818 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26824 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26825 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26826 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26827 int arg8
= (int) 0 ;
26828 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26829 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26830 wxGenericDirCtrl
*result
;
26831 bool temp3
= False
;
26834 bool temp7
= False
;
26835 bool temp9
= False
;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 PyObject
* obj2
= 0 ;
26839 PyObject
* obj3
= 0 ;
26840 PyObject
* obj4
= 0 ;
26841 PyObject
* obj5
= 0 ;
26842 PyObject
* obj6
= 0 ;
26843 PyObject
* obj7
= 0 ;
26844 PyObject
* obj8
= 0 ;
26845 char *kwnames
[] = {
26846 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26853 arg2
= (int const) SWIG_AsInt(obj1
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26858 arg3
= wxString_in_helper(obj2
);
26859 if (arg3
== NULL
) SWIG_fail
;
26866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26876 arg6
= (long) SWIG_AsLong(obj5
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26881 arg7
= wxString_in_helper(obj6
);
26882 if (arg7
== NULL
) SWIG_fail
;
26887 arg8
= (int) SWIG_AsInt(obj7
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26892 arg9
= wxString_in_helper(obj8
);
26893 if (arg9
== NULL
) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26935 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxGenericDirCtrl
*result
;
26938 char *kwnames
[] = {
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26957 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26960 wxWindow
*arg2
= (wxWindow
*) 0 ;
26961 int arg3
= (int) (int)-1 ;
26962 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26963 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26964 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26965 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26966 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26967 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26968 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26969 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26971 int arg9
= (int) 0 ;
26972 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26973 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26975 bool temp4
= False
;
26978 bool temp8
= False
;
26979 bool temp10
= False
;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 PyObject
* obj2
= 0 ;
26983 PyObject
* obj3
= 0 ;
26984 PyObject
* obj4
= 0 ;
26985 PyObject
* obj5
= 0 ;
26986 PyObject
* obj6
= 0 ;
26987 PyObject
* obj7
= 0 ;
26988 PyObject
* obj8
= 0 ;
26989 PyObject
* obj9
= 0 ;
26990 char *kwnames
[] = {
26991 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27000 arg3
= (int const) SWIG_AsInt(obj2
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27005 arg4
= wxString_in_helper(obj3
);
27006 if (arg4
== NULL
) SWIG_fail
;
27013 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27019 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27023 arg7
= (long) SWIG_AsLong(obj6
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27028 arg8
= wxString_in_helper(obj7
);
27029 if (arg8
== NULL
) SWIG_fail
;
27034 arg9
= (int) SWIG_AsInt(obj8
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27039 arg10
= wxString_in_helper(obj9
);
27040 if (arg10
== NULL
) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27084 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27087 wxString
*arg2
= 0 ;
27089 bool temp2
= False
;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self",(char *) "path", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27100 arg2
= wxString_in_helper(obj1
);
27101 if (arg2
== NULL
) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27128 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27132 PyObject
* obj0
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27142 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27160 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27163 wxString
*arg2
= 0 ;
27164 bool temp2
= False
;
27165 PyObject
* obj0
= 0 ;
27166 PyObject
* obj1
= 0 ;
27167 char *kwnames
[] = {
27168 (char *) "self",(char *) "path", NULL
27171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27175 arg2
= wxString_in_helper(obj1
);
27176 if (arg2
== NULL
) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 Py_INCREF(Py_None
); resultobj
= Py_None
;
27201 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27202 PyObject
*resultobj
;
27203 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27205 PyObject
* obj0
= 0 ;
27206 char *kwnames
[] = {
27207 (char *) "self", NULL
27210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27233 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27237 PyObject
* obj0
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27265 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27268 wxString
*arg2
= 0 ;
27269 bool temp2
= False
;
27270 PyObject
* obj0
= 0 ;
27271 PyObject
* obj1
= 0 ;
27272 char *kwnames
[] = {
27273 (char *) "self",(char *) "path", NULL
27276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27280 arg2
= wxString_in_helper(obj1
);
27281 if (arg2
== NULL
) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 (arg1
)->SetPath((wxString
const &)*arg2
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 Py_INCREF(Py_None
); resultobj
= Py_None
;
27306 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27307 PyObject
*resultobj
;
27308 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27310 PyObject
* obj0
= 0 ;
27311 PyObject
* obj1
= 0 ;
27312 char *kwnames
[] = {
27313 (char *) "self",(char *) "show", NULL
27316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27319 arg2
= (bool) SWIG_AsBool(obj1
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 (arg1
)->ShowHidden(arg2
);
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 Py_INCREF(Py_None
); resultobj
= Py_None
;
27335 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27339 PyObject
* obj0
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 result
= (bool)(arg1
)->GetShowHidden();
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27363 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
;
27365 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27367 PyObject
* obj0
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27395 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
;
27397 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27398 wxString
*arg2
= 0 ;
27399 bool temp2
= False
;
27400 PyObject
* obj0
= 0 ;
27401 PyObject
* obj1
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self",(char *) "filter", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 arg2
= wxString_in_helper(obj1
);
27411 if (arg2
== NULL
) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 (arg1
)->SetFilter((wxString
const &)*arg2
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 Py_INCREF(Py_None
); resultobj
= Py_None
;
27436 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27437 PyObject
*resultobj
;
27438 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27440 PyObject
* obj0
= 0 ;
27441 char *kwnames
[] = {
27442 (char *) "self", NULL
27445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 resultobj
= SWIG_FromInt((int)result
);
27462 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27466 PyObject
* obj0
= 0 ;
27467 PyObject
* obj1
= 0 ;
27468 char *kwnames
[] = {
27469 (char *) "self",(char *) "n", NULL
27472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27475 arg2
= (int) SWIG_AsInt(obj1
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 (arg1
)->SetFilterIndex(arg2
);
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27484 Py_INCREF(Py_None
); resultobj
= Py_None
;
27491 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27494 wxTreeItemId result
;
27495 PyObject
* obj0
= 0 ;
27496 char *kwnames
[] = {
27497 (char *) "self", NULL
27500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 result
= (arg1
)->GetRootId();
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27511 wxTreeItemId
* resultptr
;
27512 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27521 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27524 wxPyTreeCtrl
*result
;
27525 PyObject
* obj0
= 0 ;
27526 char *kwnames
[] = {
27527 (char *) "self", NULL
27530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27541 resultobj
= wxPyMake_wxObject(result
);
27549 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27550 PyObject
*resultobj
;
27551 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27552 wxDirFilterListCtrl
*result
;
27553 PyObject
* obj0
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27575 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27578 wxTreeItemId arg2
;
27579 wxString
*arg3
= 0 ;
27581 wxTreeItemId result
;
27582 wxTreeItemId
*argp2
;
27583 bool temp3
= False
;
27585 PyObject
* obj0
= 0 ;
27586 PyObject
* obj1
= 0 ;
27587 PyObject
* obj2
= 0 ;
27588 char *kwnames
[] = {
27589 (char *) "self",(char *) "parentId",(char *) "path", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27596 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27597 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27600 arg3
= wxString_in_helper(obj2
);
27601 if (arg3
== NULL
) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27612 wxTreeItemId
* resultptr
;
27613 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27617 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27618 resultobj
= t_output_helper(resultobj
,o
);
27634 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27635 PyObject
*resultobj
;
27636 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27637 PyObject
* obj0
= 0 ;
27638 char *kwnames
[] = {
27639 (char *) "self", NULL
27642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27647 (arg1
)->DoResize();
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 Py_INCREF(Py_None
); resultobj
= Py_None
;
27659 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
;
27661 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27662 PyObject
* obj0
= 0 ;
27663 char *kwnames
[] = {
27664 (char *) "self", NULL
27667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 (arg1
)->ReCreateTree();
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 Py_INCREF(Py_None
); resultobj
= Py_None
;
27684 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27687 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27689 return Py_BuildValue((char *)"");
27691 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27694 int arg2
= (int) (int)-1 ;
27695 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27696 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27697 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27698 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27699 long arg5
= (long) 0 ;
27700 wxDirFilterListCtrl
*result
;
27703 PyObject
* obj0
= 0 ;
27704 PyObject
* obj1
= 0 ;
27705 PyObject
* obj2
= 0 ;
27706 PyObject
* obj3
= 0 ;
27707 PyObject
* obj4
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27716 arg2
= (int const) SWIG_AsInt(obj1
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27722 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27728 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27732 arg5
= (long) SWIG_AsLong(obj4
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27749 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
;
27751 wxDirFilterListCtrl
*result
;
27752 char *kwnames
[] = {
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27771 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27774 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27775 int arg3
= (int) (int)-1 ;
27776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27780 long arg6
= (long) 0 ;
27784 PyObject
* obj0
= 0 ;
27785 PyObject
* obj1
= 0 ;
27786 PyObject
* obj2
= 0 ;
27787 PyObject
* obj3
= 0 ;
27788 PyObject
* obj4
= 0 ;
27789 PyObject
* obj5
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27800 arg3
= (int const) SWIG_AsInt(obj2
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27816 arg6
= (long) SWIG_AsLong(obj5
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27835 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27836 PyObject
*resultobj
;
27837 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27838 wxString
*arg2
= 0 ;
27840 bool temp2
= False
;
27841 PyObject
* obj0
= 0 ;
27842 PyObject
* obj1
= 0 ;
27843 PyObject
* obj2
= 0 ;
27844 char *kwnames
[] = {
27845 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27852 arg2
= wxString_in_helper(obj1
);
27853 if (arg2
== NULL
) SWIG_fail
;
27856 arg3
= (int) SWIG_AsInt(obj2
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27865 Py_INCREF(Py_None
); resultobj
= Py_None
;
27880 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27883 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27885 return Py_BuildValue((char *)"");
27887 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27888 PyObject
*resultobj
;
27889 wxWindow
*arg1
= (wxWindow
*) 0 ;
27891 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27892 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27893 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27894 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27895 long arg5
= (long) 0 ;
27896 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27897 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27898 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27899 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27900 wxPyControl
*result
;
27903 bool temp7
= False
;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27906 PyObject
* obj2
= 0 ;
27907 PyObject
* obj3
= 0 ;
27908 PyObject
* obj4
= 0 ;
27909 PyObject
* obj5
= 0 ;
27910 PyObject
* obj6
= 0 ;
27911 char *kwnames
[] = {
27912 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27918 arg2
= (int const) SWIG_AsInt(obj1
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27923 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27929 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27933 arg5
= (long) SWIG_AsLong(obj4
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27937 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27940 if (arg6
== NULL
) {
27941 PyErr_SetString(PyExc_TypeError
,"null reference");
27947 arg7
= wxString_in_helper(obj6
);
27948 if (arg7
== NULL
) SWIG_fail
;
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27974 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxPyControl
*result
;
27977 char *kwnames
[] = {
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 result
= (wxPyControl
*)new wxPyControl();
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27996 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27999 PyObject
*arg2
= (PyObject
*) 0 ;
28000 PyObject
*arg3
= (PyObject
*) 0 ;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 PyObject
* obj2
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self",(char *) "self",(char *) "_class", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28017 wxPyEndAllowThreads(__tstate
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 Py_INCREF(Py_None
); resultobj
= Py_None
;
28027 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
;
28029 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 PyObject
* obj2
= 0 ;
28037 PyObject
* obj3
= 0 ;
28038 PyObject
* obj4
= 0 ;
28039 char *kwnames
[] = {
28040 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28046 arg2
= (int) SWIG_AsInt(obj1
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28048 arg3
= (int) SWIG_AsInt(obj2
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28050 arg4
= (int) SWIG_AsInt(obj3
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28052 arg5
= (int) SWIG_AsInt(obj4
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28061 Py_INCREF(Py_None
); resultobj
= Py_None
;
28068 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28069 PyObject
*resultobj
;
28070 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28075 int arg6
= (int) wxSIZE_AUTO
;
28076 PyObject
* obj0
= 0 ;
28077 PyObject
* obj1
= 0 ;
28078 PyObject
* obj2
= 0 ;
28079 PyObject
* obj3
= 0 ;
28080 PyObject
* obj4
= 0 ;
28081 PyObject
* obj5
= 0 ;
28082 char *kwnames
[] = {
28083 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28089 arg2
= (int) SWIG_AsInt(obj1
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28091 arg3
= (int) SWIG_AsInt(obj2
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28093 arg4
= (int) SWIG_AsInt(obj3
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28095 arg5
= (int) SWIG_AsInt(obj4
);
28096 if (PyErr_Occurred()) SWIG_fail
;
28098 arg6
= (int) SWIG_AsInt(obj5
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 Py_INCREF(Py_None
); resultobj
= Py_None
;
28115 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28120 PyObject
* obj0
= 0 ;
28121 PyObject
* obj1
= 0 ;
28122 PyObject
* obj2
= 0 ;
28123 char *kwnames
[] = {
28124 (char *) "self",(char *) "width",(char *) "height", NULL
28127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28130 arg2
= (int) SWIG_AsInt(obj1
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28132 arg3
= (int) SWIG_AsInt(obj2
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28136 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28138 wxPyEndAllowThreads(__tstate
);
28139 if (PyErr_Occurred()) SWIG_fail
;
28141 Py_INCREF(Py_None
); resultobj
= Py_None
;
28148 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28149 PyObject
*resultobj
;
28150 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28153 PyObject
* obj0
= 0 ;
28154 PyObject
* obj1
= 0 ;
28155 PyObject
* obj2
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self",(char *) "x",(char *) "y", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28163 arg2
= (int) SWIG_AsInt(obj1
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28165 arg3
= (int) SWIG_AsInt(obj2
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 Py_INCREF(Py_None
); resultobj
= Py_None
;
28181 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28184 int *arg2
= (int *) 0 ;
28185 int *arg3
= (int *) 0 ;
28188 PyObject
* obj0
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self", NULL
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 Py_INCREF(Py_None
); resultobj
= Py_None
;
28207 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28208 resultobj
= t_output_helper(resultobj
,o
);
28211 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28212 resultobj
= t_output_helper(resultobj
,o
);
28220 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
;
28222 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28223 int *arg2
= (int *) 0 ;
28224 int *arg3
= (int *) 0 ;
28227 PyObject
* obj0
= 0 ;
28228 char *kwnames
[] = {
28229 (char *) "self", NULL
28234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 Py_INCREF(Py_None
); resultobj
= Py_None
;
28246 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28247 resultobj
= t_output_helper(resultobj
,o
);
28250 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28251 resultobj
= t_output_helper(resultobj
,o
);
28259 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28262 int *arg2
= (int *) 0 ;
28263 int *arg3
= (int *) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 Py_INCREF(Py_None
); resultobj
= Py_None
;
28285 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28286 resultobj
= t_output_helper(resultobj
,o
);
28289 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28290 resultobj
= t_output_helper(resultobj
,o
);
28298 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28302 PyObject
* obj0
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28318 wxSize
* resultptr
;
28319 resultptr
= new wxSize((wxSize
&) result
);
28320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28328 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
;
28330 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28348 wxSize
* resultptr
;
28349 resultptr
= new wxSize((wxSize
&) result
);
28350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28358 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
;
28360 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28361 PyObject
* obj0
= 0 ;
28362 char *kwnames
[] = {
28363 (char *) "self", NULL
28366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",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 (arg1
)->base_InitDialog();
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 Py_INCREF(Py_None
); resultobj
= Py_None
;
28383 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28384 PyObject
*resultobj
;
28385 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28387 PyObject
* obj0
= 0 ;
28388 char *kwnames
[] = {
28389 (char *) "self", NULL
28392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28397 result
= (bool)(arg1
)->base_TransferDataToWindow();
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28411 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
;
28413 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28415 PyObject
* obj0
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28439 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28443 PyObject
* obj0
= 0 ;
28444 char *kwnames
[] = {
28445 (char *) "self", NULL
28448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (bool)(arg1
)->base_Validate();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28467 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28469 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28495 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
;
28497 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28499 PyObject
* obj0
= 0 ;
28500 char *kwnames
[] = {
28501 (char *) "self", NULL
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28523 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28527 PyObject
* obj0
= 0 ;
28528 char *kwnames
[] = {
28529 (char *) "self", NULL
28532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28543 wxSize
* resultptr
;
28544 resultptr
= new wxSize((wxSize
&) result
);
28545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28553 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28554 PyObject
*resultobj
;
28555 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28556 wxWindow
*arg2
= (wxWindow
*) 0 ;
28557 PyObject
* obj0
= 0 ;
28558 PyObject
* obj1
= 0 ;
28559 char *kwnames
[] = {
28560 (char *) "self",(char *) "child", NULL
28563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 (arg1
)->base_AddChild(arg2
);
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 Py_INCREF(Py_None
); resultobj
= Py_None
;
28582 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
;
28584 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28585 wxWindow
*arg2
= (wxWindow
*) 0 ;
28586 PyObject
* obj0
= 0 ;
28587 PyObject
* obj1
= 0 ;
28588 char *kwnames
[] = {
28589 (char *) "self",(char *) "child", NULL
28592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 (arg1
)->base_RemoveChild(arg2
);
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 Py_INCREF(Py_None
); resultobj
= Py_None
;
28611 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28612 PyObject
*resultobj
;
28613 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28615 PyObject
* obj0
= 0 ;
28616 char *kwnames
[] = {
28617 (char *) "self", NULL
28620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28625 result
= (bool)(arg1
)->base_ShouldInheritColours();
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28639 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
;
28641 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28642 wxColour
*arg2
= 0 ;
28644 PyObject
* obj0
= 0 ;
28645 PyObject
* obj1
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "self",(char *) "c", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28655 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 Py_INCREF(Py_None
); resultobj
= Py_None
;
28671 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28674 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28676 return Py_BuildValue((char *)"");
28678 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
;
28680 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28681 int arg2
= (int) 0 ;
28682 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28683 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28684 wxHelpEvent
*result
;
28686 PyObject
* obj0
= 0 ;
28687 PyObject
* obj1
= 0 ;
28688 PyObject
* obj2
= 0 ;
28689 char *kwnames
[] = {
28690 (char *) "type",(char *) "winid",(char *) "pt", NULL
28693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28695 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28699 arg2
= (int) SWIG_AsInt(obj1
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28705 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28722 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28723 PyObject
*resultobj
;
28724 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28726 PyObject
* obj0
= 0 ;
28727 char *kwnames
[] = {
28728 (char *) "self", NULL
28731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28742 wxPoint
* resultptr
;
28743 resultptr
= new wxPoint((wxPoint
&) result
);
28744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28752 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28753 PyObject
*resultobj
;
28754 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28755 wxPoint
*arg2
= 0 ;
28757 PyObject
* obj0
= 0 ;
28758 PyObject
* obj1
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self",(char *) "pos", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28772 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28774 wxPyEndAllowThreads(__tstate
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28777 Py_INCREF(Py_None
); resultobj
= Py_None
;
28784 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28785 PyObject
*resultobj
;
28786 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28788 PyObject
* obj0
= 0 ;
28789 char *kwnames
[] = {
28790 (char *) "self", NULL
28793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28799 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28800 result
= (wxString
*) &_result_ref
;
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28808 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28810 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28819 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
;
28821 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28822 wxString
*arg2
= 0 ;
28823 bool temp2
= False
;
28824 PyObject
* obj0
= 0 ;
28825 PyObject
* obj1
= 0 ;
28826 char *kwnames
[] = {
28827 (char *) "self",(char *) "link", NULL
28830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28834 arg2
= wxString_in_helper(obj1
);
28835 if (arg2
== NULL
) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 (arg1
)->SetLink((wxString
const &)*arg2
);
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 Py_INCREF(Py_None
); resultobj
= Py_None
;
28860 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
;
28862 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28864 PyObject
* obj0
= 0 ;
28865 char *kwnames
[] = {
28866 (char *) "self", NULL
28869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28876 result
= (wxString
*) &_result_ref
;
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28884 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28886 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28895 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28896 PyObject
*resultobj
;
28897 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28898 wxString
*arg2
= 0 ;
28899 bool temp2
= False
;
28900 PyObject
* obj0
= 0 ;
28901 PyObject
* obj1
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "self",(char *) "target", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28910 arg2
= wxString_in_helper(obj1
);
28911 if (arg2
== NULL
) SWIG_fail
;
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 (arg1
)->SetTarget((wxString
const &)*arg2
);
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28921 Py_INCREF(Py_None
); resultobj
= Py_None
;
28936 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28939 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28941 return Py_BuildValue((char *)"");
28943 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
;
28945 wxWindow
*arg1
= (wxWindow
*) NULL
;
28946 bool arg2
= (bool) True
;
28947 wxContextHelp
*result
;
28948 PyObject
* obj0
= 0 ;
28949 PyObject
* obj1
= 0 ;
28950 char *kwnames
[] = {
28951 (char *) "window",(char *) "doNow", NULL
28954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28960 arg2
= (bool) SWIG_AsBool(obj1
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28977 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28980 PyObject
* obj0
= 0 ;
28981 char *kwnames
[] = {
28982 (char *) "self", NULL
28985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 Py_INCREF(Py_None
); resultobj
= Py_None
;
29002 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29005 wxWindow
*arg2
= (wxWindow
*) NULL
;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "self",(char *) "window", NULL
29013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29036 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29040 PyObject
* obj0
= 0 ;
29041 char *kwnames
[] = {
29042 (char *) "self", NULL
29045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 result
= (bool)(arg1
)->EndContextHelp();
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29064 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29067 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29069 return Py_BuildValue((char *)"");
29071 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
;
29073 wxWindow
*arg1
= (wxWindow
*) 0 ;
29074 int arg2
= (int) wxID_CONTEXT_HELP
;
29075 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29076 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29077 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29078 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29079 long arg5
= (long) wxBU_AUTODRAW
;
29080 wxContextHelpButton
*result
;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 PyObject
* obj2
= 0 ;
29086 PyObject
* obj3
= 0 ;
29087 PyObject
* obj4
= 0 ;
29088 char *kwnames
[] = {
29089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29096 arg2
= (int) SWIG_AsInt(obj1
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29108 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29112 arg5
= (long) SWIG_AsLong(obj4
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29129 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29132 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29134 return Py_BuildValue((char *)"");
29136 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
;
29138 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29139 wxHelpProvider
*result
;
29140 PyObject
* obj0
= 0 ;
29141 char *kwnames
[] = {
29142 (char *) "helpProvider", NULL
29145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29162 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
;
29164 wxHelpProvider
*result
;
29165 char *kwnames
[] = {
29169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29174 wxPyEndAllowThreads(__tstate
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29184 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29185 PyObject
*resultobj
;
29186 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29187 wxWindow
*arg2
= (wxWindow
*) 0 ;
29189 PyObject
* obj0
= 0 ;
29190 PyObject
* obj1
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self",(char *) "window", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29220 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29221 PyObject
*resultobj
;
29222 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29223 wxWindow
*arg2
= (wxWindow
*) 0 ;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 char *kwnames
[] = {
29228 (char *) "self",(char *) "window", NULL
29231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 result
= (bool)(arg1
)->ShowHelp(arg2
);
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29252 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
;
29254 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29255 wxWindow
*arg2
= (wxWindow
*) 0 ;
29256 wxString
*arg3
= 0 ;
29257 bool temp3
= False
;
29258 PyObject
* obj0
= 0 ;
29259 PyObject
* obj1
= 0 ;
29260 PyObject
* obj2
= 0 ;
29261 char *kwnames
[] = {
29262 (char *) "self",(char *) "window",(char *) "text", NULL
29265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29271 arg3
= wxString_in_helper(obj2
);
29272 if (arg3
== NULL
) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29277 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 Py_INCREF(Py_None
); resultobj
= Py_None
;
29297 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
;
29299 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29301 wxString
*arg3
= 0 ;
29302 bool temp3
= False
;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 PyObject
* obj2
= 0 ;
29306 char *kwnames
[] = {
29307 (char *) "self",(char *) "id",(char *) "text", NULL
29310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29313 arg2
= (int) SWIG_AsInt(obj1
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 arg3
= wxString_in_helper(obj2
);
29317 if (arg3
== NULL
) SWIG_fail
;
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 Py_INCREF(Py_None
); resultobj
= Py_None
;
29342 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29343 PyObject
*resultobj
;
29344 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29345 wxWindow
*arg2
= (wxWindow
*) 0 ;
29346 PyObject
* obj0
= 0 ;
29347 PyObject
* obj1
= 0 ;
29348 char *kwnames
[] = {
29349 (char *) "self",(char *) "window", NULL
29352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 (arg1
)->RemoveHelp(arg2
);
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 Py_INCREF(Py_None
); resultobj
= Py_None
;
29371 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
;
29373 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29374 PyObject
* obj0
= 0 ;
29375 char *kwnames
[] = {
29376 (char *) "self", NULL
29379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 wxHelpProvider_Destroy(arg1
);
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29389 Py_INCREF(Py_None
); resultobj
= Py_None
;
29396 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29399 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29401 return Py_BuildValue((char *)"");
29403 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29404 PyObject
*resultobj
;
29405 wxSimpleHelpProvider
*result
;
29406 char *kwnames
[] = {
29410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29413 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29425 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29428 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29430 return Py_BuildValue((char *)"");
29432 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxBitmap
*arg1
= 0 ;
29435 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29436 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29437 wxGenericDragImage
*result
;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "image",(char *) "cursor", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29448 if (arg1
== NULL
) {
29449 PyErr_SetString(PyExc_TypeError
,"null reference");
29453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29456 if (arg2
== NULL
) {
29457 PyErr_SetString(PyExc_TypeError
,"null reference");
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29475 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29476 PyObject
*resultobj
;
29478 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29479 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29480 wxGenericDragImage
*result
;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 char *kwnames
[] = {
29484 (char *) "image",(char *) "cursor", NULL
29487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29491 if (arg1
== NULL
) {
29492 PyErr_SetString(PyExc_TypeError
,"null reference");
29496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29499 if (arg2
== NULL
) {
29500 PyErr_SetString(PyExc_TypeError
,"null reference");
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29518 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
;
29520 wxString
*arg1
= 0 ;
29521 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29522 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29523 wxGenericDragImage
*result
;
29524 bool temp1
= False
;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 char *kwnames
[] = {
29528 (char *) "str",(char *) "cursor", NULL
29531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29533 arg1
= wxString_in_helper(obj0
);
29534 if (arg1
== NULL
) SWIG_fail
;
29538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29541 if (arg2
== NULL
) {
29542 PyErr_SetString(PyExc_TypeError
,"null reference");
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29568 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
;
29570 wxPyTreeCtrl
*arg1
= 0 ;
29571 wxTreeItemId
*arg2
= 0 ;
29572 wxGenericDragImage
*result
;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 char *kwnames
[] = {
29576 (char *) "treeCtrl",(char *) "id", NULL
29579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29583 if (arg1
== NULL
) {
29584 PyErr_SetString(PyExc_TypeError
,"null reference");
29587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29590 if (arg2
== NULL
) {
29591 PyErr_SetString(PyExc_TypeError
,"null reference");
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29608 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
;
29610 wxPyListCtrl
*arg1
= 0 ;
29612 wxGenericDragImage
*result
;
29613 PyObject
* obj0
= 0 ;
29614 PyObject
* obj1
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "listCtrl",(char *) "id", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29623 if (arg1
== NULL
) {
29624 PyErr_SetString(PyExc_TypeError
,"null reference");
29627 arg2
= (long) SWIG_AsLong(obj1
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29631 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29643 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
;
29645 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29646 PyObject
* obj0
= 0 ;
29647 char *kwnames
[] = {
29648 (char *) "self", NULL
29651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 wxPyEndAllowThreads(__tstate
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29661 Py_INCREF(Py_None
); resultobj
= Py_None
;
29668 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29669 PyObject
*resultobj
;
29670 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29671 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self",(char *) "bitmap", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 (arg1
)->SetBackingBitmap(arg2
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29690 Py_INCREF(Py_None
); resultobj
= Py_None
;
29697 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
;
29699 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29700 wxPoint
*arg2
= 0 ;
29701 wxWindow
*arg3
= (wxWindow
*) 0 ;
29702 bool arg4
= (bool) False
;
29703 wxRect
*arg5
= (wxRect
*) NULL
;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 PyObject
* obj2
= 0 ;
29709 PyObject
* obj3
= 0 ;
29710 PyObject
* obj4
= 0 ;
29711 char *kwnames
[] = {
29712 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29722 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29725 arg4
= (bool) SWIG_AsBool(obj3
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29729 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29748 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29751 wxPoint
*arg2
= 0 ;
29752 wxWindow
*arg3
= (wxWindow
*) 0 ;
29753 wxWindow
*arg4
= (wxWindow
*) 0 ;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 PyObject
* obj2
= 0 ;
29759 PyObject
* obj3
= 0 ;
29760 char *kwnames
[] = {
29761 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29771 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29773 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29777 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29791 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
;
29793 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29795 PyObject
* obj0
= 0 ;
29796 char *kwnames
[] = {
29797 (char *) "self", NULL
29800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 result
= (bool)(arg1
)->EndDrag();
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29819 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29820 PyObject
*resultobj
;
29821 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29822 wxPoint
*arg2
= 0 ;
29825 PyObject
* obj0
= 0 ;
29826 PyObject
* obj1
= 0 ;
29827 char *kwnames
[] = {
29828 (char *) "self",(char *) "pt", NULL
29831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29854 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "self", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 result
= (bool)(arg1
)->Show();
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29882 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
;
29884 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29886 PyObject
* obj0
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "self", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 result
= (bool)(arg1
)->Hide();
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29910 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29911 PyObject
*resultobj
;
29912 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29913 wxPoint
*arg2
= 0 ;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "self",(char *) "pos", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29937 wxRect
* resultptr
;
29938 resultptr
= new wxRect((wxRect
&) result
);
29939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29947 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29948 PyObject
*resultobj
;
29949 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29951 wxPoint
*arg3
= 0 ;
29954 PyObject
* obj0
= 0 ;
29955 PyObject
* obj1
= 0 ;
29956 PyObject
* obj2
= 0 ;
29957 char *kwnames
[] = {
29958 (char *) "self",(char *) "dc",(char *) "pos", NULL
29961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29967 if (arg2
== NULL
) {
29968 PyErr_SetString(PyExc_TypeError
,"null reference");
29973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29977 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29991 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29992 PyObject
*resultobj
;
29993 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29995 wxMemoryDC
*arg3
= 0 ;
30001 PyObject
* obj0
= 0 ;
30002 PyObject
* obj1
= 0 ;
30003 PyObject
* obj2
= 0 ;
30004 PyObject
* obj3
= 0 ;
30005 PyObject
* obj4
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30016 if (arg2
== NULL
) {
30017 PyErr_SetString(PyExc_TypeError
,"null reference");
30020 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30023 if (arg3
== NULL
) {
30024 PyErr_SetString(PyExc_TypeError
,"null reference");
30029 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30033 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30051 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
;
30053 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30054 wxPoint
*arg2
= 0 ;
30055 wxPoint
*arg3
= 0 ;
30061 PyObject
* obj0
= 0 ;
30062 PyObject
* obj1
= 0 ;
30063 PyObject
* obj2
= 0 ;
30064 PyObject
* obj3
= 0 ;
30065 PyObject
* obj4
= 0 ;
30066 char *kwnames
[] = {
30067 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30075 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30081 arg4
= (bool) SWIG_AsBool(obj3
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30083 arg5
= (bool) SWIG_AsBool(obj4
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30089 wxPyEndAllowThreads(__tstate
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30101 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30104 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30106 return Py_BuildValue((char *)"");
30108 static PyMethodDef SwigMethods
[] = {
30109 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30115 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30130 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30141 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30148 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30166 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30179 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30183 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30189 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30193 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30196 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30200 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30222 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30231 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30232 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30261 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30315 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30320 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30331 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30343 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30354 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30358 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30375 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30381 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30406 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30413 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30433 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30439 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30448 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30450 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30455 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30457 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30462 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30467 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30497 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30542 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30547 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30559 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30611 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30638 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30708 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30720 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30728 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30735 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30748 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30751 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30823 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30825 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30839 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30844 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30847 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30850 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30852 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30866 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30868 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30875 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30876 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30883 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30884 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30889 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30891 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30900 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30902 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30915 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30919 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30924 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30926 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30927 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30929 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30930 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30932 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30933 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30935 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30936 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30938 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30939 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30941 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30942 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30944 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30945 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30947 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30948 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30950 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30951 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30953 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30954 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30956 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30959 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30960 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30962 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30963 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30965 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30966 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30968 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30969 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30971 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30972 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30974 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30975 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30977 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30978 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30980 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30983 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30984 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30986 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30987 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30989 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30990 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30992 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30993 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30995 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30996 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30998 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30999 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31001 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31002 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31004 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31005 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31007 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31008 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31010 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31011 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31013 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31014 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31016 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31017 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31019 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31020 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31022 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31023 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31025 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31026 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31028 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31029 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31031 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31032 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31034 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31035 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31037 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31038 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31040 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31041 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31043 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31044 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31046 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31047 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31049 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31050 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31052 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31053 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31055 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31056 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31058 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31059 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31061 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31062 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31064 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31065 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31067 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31068 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31070 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31071 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31073 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31074 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31076 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31077 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31079 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31080 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31082 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31083 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31085 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31086 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
31088 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31089 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31091 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31092 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31094 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31095 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31097 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31098 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31100 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31101 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31103 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31104 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31106 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31107 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31109 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31110 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31112 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31113 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31115 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31116 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31118 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31119 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31121 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31122 return (void *)((wxControl
*) ((wxComboBox
*) x
));
31124 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31125 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31127 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31128 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31130 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31131 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31133 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31134 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31136 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31137 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31139 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31140 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31142 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31143 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31145 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31146 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31148 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31149 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31151 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31152 return (void *)((wxControl
*) ((wxGauge
*) x
));
31154 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31155 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31157 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31158 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31160 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31161 return (void *)((wxControl
*) ((wxButton
*) x
));
31163 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31164 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31166 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31167 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31169 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31170 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31172 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31173 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31175 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31176 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31178 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31179 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31181 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31182 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31184 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31185 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31187 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31188 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31190 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31191 return (void *)((wxControl
*) ((wxSlider
*) x
));
31193 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31194 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31196 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31197 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31199 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31200 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31202 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31203 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31205 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31206 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31208 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31209 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31211 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31212 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31214 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31215 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31217 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31218 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31220 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31221 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31223 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31224 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31226 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31227 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31229 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31232 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31233 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31235 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31236 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31238 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31239 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31241 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31244 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31245 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31247 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31250 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31253 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31254 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31256 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31257 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31259 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31262 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31265 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31268 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31269 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31271 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31272 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31274 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31275 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31277 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31278 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31280 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31283 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31286 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31289 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31292 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31295 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31298 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31301 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31304 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31307 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31310 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31313 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31316 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31319 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31322 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31325 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31328 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31331 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31332 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31334 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31337 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31340 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31343 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31346 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31349 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31350 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31352 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31353 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31355 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31356 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31358 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31359 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31361 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31362 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31364 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31365 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31367 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31368 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31370 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31371 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31373 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31374 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31376 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31377 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31379 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31382 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31383 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31385 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31388 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31391 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31392 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31394 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31395 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31397 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31398 return (void *)((wxObject
*) ((wxSizer
*) x
));
31400 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31401 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31403 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31406 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31409 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31412 static void *_p_wxEventTo_p_wxObject(void *x
) {
31413 return (void *)((wxObject
*) ((wxEvent
*) x
));
31415 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31416 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31418 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31419 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31421 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31422 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31424 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31427 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31430 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31433 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31434 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31436 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31437 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31439 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31440 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31442 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31443 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31445 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31446 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31448 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31449 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31451 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31454 static void *_p_wxControlTo_p_wxObject(void *x
) {
31455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31457 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31460 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31463 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31466 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31469 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31472 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31473 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31475 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31478 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31479 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31481 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31482 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31484 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31487 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31490 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31493 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31494 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31496 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31499 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31502 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31503 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31505 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31508 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31511 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31512 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31514 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31515 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31517 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31520 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31521 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31523 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31524 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31526 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31527 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31529 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31530 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31532 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31533 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31535 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31536 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31538 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31541 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31542 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31544 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31545 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31547 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31550 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31553 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31554 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31556 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31559 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31560 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31562 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31563 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31565 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31566 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31568 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31569 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31571 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31572 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31574 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31575 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31577 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31578 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31580 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31581 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31583 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31586 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31589 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31592 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31595 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31598 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31601 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31604 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31607 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31608 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31610 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31613 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31616 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31619 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31622 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31623 return (void *)((wxObject
*) ((wxListItem
*) x
));
31625 static void *_p_wxImageTo_p_wxObject(void *x
) {
31626 return (void *)((wxObject
*) ((wxImage
*) x
));
31628 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31629 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31631 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31632 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31634 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31635 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31637 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31638 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31640 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31643 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31646 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31649 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31650 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31652 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31653 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31655 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31656 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31658 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31659 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31661 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31662 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31664 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31667 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31668 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31670 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31673 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31674 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31676 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31677 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31679 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31680 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31682 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31683 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31685 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31686 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31688 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31689 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31691 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31692 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31694 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31695 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31697 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31700 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31701 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31703 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31704 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31706 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31709 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31712 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31713 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31715 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31718 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31721 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31722 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31724 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31725 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31727 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31728 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31730 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31731 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31733 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31734 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31736 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31737 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31739 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31740 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31742 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31743 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31745 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31746 return (void *)((wxWindow
*) ((wxControl
*) x
));
31748 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31749 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31751 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31752 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31754 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31755 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31757 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31758 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31760 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31761 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31763 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31764 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31766 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31767 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31769 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31770 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31772 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31773 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31775 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31776 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31778 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31779 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31781 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31782 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31784 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31785 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31787 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31788 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31790 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31791 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31793 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31794 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31796 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31797 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31799 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31800 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31802 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31803 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31805 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31806 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31808 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31809 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31811 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31812 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31814 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31815 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31817 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31818 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31820 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31821 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31823 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31824 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31826 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31827 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31829 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31830 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31832 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31833 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31835 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31836 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31838 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31839 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31841 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31842 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31844 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31845 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31847 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31848 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31850 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31851 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31853 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31854 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31856 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31857 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31859 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31860 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31862 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31863 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31865 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31866 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31868 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31869 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31871 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31872 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31874 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31875 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31877 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31878 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31880 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31881 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31883 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31884 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31886 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31887 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31889 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31890 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31892 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31893 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31895 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}};
31896 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}};
31897 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}};
31898 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}};
31899 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}};
31900 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}};
31901 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}};
31902 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}};
31903 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}};
31904 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}};
31905 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}};
31906 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}};
31907 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}};
31908 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}};
31909 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}};
31910 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}};
31911 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}};
31912 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}};
31913 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}};
31914 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}};
31915 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31916 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}};
31917 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}};
31918 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}};
31919 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}};
31920 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}};
31921 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}};
31922 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}};
31923 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}};
31924 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}};
31925 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}};
31926 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}};
31927 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}};
31928 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}};
31929 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}};
31930 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}};
31931 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}};
31932 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}};
31933 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}};
31934 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}};
31935 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}};
31936 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}};
31937 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}};
31938 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}};
31939 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}};
31940 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}};
31941 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}};
31942 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}};
31943 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}};
31944 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}};
31945 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}};
31946 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}};
31947 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}};
31948 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}};
31949 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}};
31950 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}};
31951 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}};
31952 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}};
31953 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}};
31954 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}};
31955 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}};
31956 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}};
31957 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}};
31958 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}};
31959 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}};
31960 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}};
31961 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}};
31962 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}};
31963 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}};
31964 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}};
31965 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}};
31966 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}};
31967 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}};
31968 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}};
31969 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}};
31970 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}};
31971 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}};
31972 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}};
31973 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31974 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}};
31975 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}};
31976 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}};
31977 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}};
31978 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}};
31980 static swig_type_info
*swig_types_initial
[] = {
31981 _swigt__p_wxTextUrlEvent
,
31982 _swigt__p_wxBookCtrlEvent
,
31984 _swigt__p_wxCheckBox
,
31985 _swigt__p_wxPyTreeCtrl
,
31987 _swigt__p_wxGenericDirCtrl
,
31989 _swigt__p_wxPyTreeItemData
,
31990 _swigt__p_wxItemContainer
,
31991 _swigt__p_wxDirFilterListCtrl
,
31992 _swigt__p_wxPyListCtrl
,
31993 _swigt__p_wxStaticLine
,
31994 _swigt__p_wxControl
,
31995 _swigt__p_wxPyControl
,
31997 _swigt__p_wxToolBarBase
,
31999 _swigt__p_wxToggleButton
,
32000 _swigt__p_wxRadioButton
,
32001 _swigt__p_wxChoice
,
32002 _swigt__p_wxMemoryDC
,
32003 _swigt__p_wxListItemAttr
,
32008 _swigt__p_wxListView
,
32010 _swigt__p_wxTextCtrl
,
32011 _swigt__p_wxNotebook
,
32012 _swigt__p_wxNotifyEvent
,
32013 _swigt__p_wxArrayString
,
32014 _swigt__p_wxListbook
,
32015 _swigt__p_wxStaticBitmap
,
32016 _swigt__p_wxSlider
,
32017 _swigt__p_wxStaticBox
,
32018 _swigt__p_wxArrayInt
,
32019 _swigt__p_wxContextHelp
,
32021 _swigt__p_wxEvtHandler
,
32022 _swigt__p_wxListEvent
,
32023 _swigt__p_wxListBox
,
32024 _swigt__p_wxCheckListBox
,
32025 _swigt__p_wxBookCtrl
,
32026 _swigt__p_wxSpinButton
,
32027 _swigt__p_wxButton
,
32028 _swigt__p_wxBitmapButton
,
32030 _swigt__p_wxContextHelpButton
,
32031 _swigt__p_wxRadioBox
,
32032 _swigt__p_wxScrollBar
,
32034 _swigt__p_wxTreeItemId
,
32035 _swigt__p_wxComboBox
,
32036 _swigt__p_wxHelpEvent
,
32037 _swigt__p_wxListItem
,
32038 _swigt__p_wxNotebookSizer
,
32039 _swigt__p_wxSpinEvent
,
32040 _swigt__p_wxGenericDragImage
,
32041 _swigt__p_wxSpinCtrl
,
32042 _swigt__p_wxImageList
,
32043 _swigt__p_wxHelpProvider
,
32044 _swigt__p_wxTextAttr
,
32045 _swigt__p_wxSimpleHelpProvider
,
32047 _swigt__p_wxListbookEvent
,
32048 _swigt__p_wxNotebookEvent
,
32049 _swigt__p_wxObject
,
32050 _swigt__p_wxCursor
,
32051 _swigt__p_wxKeyEvent
,
32052 _swigt__p_wxWindow
,
32053 _swigt__p_wxString
,
32054 _swigt__p_wxBitmap
,
32055 _swigt__p_wxTreeEvent
,
32056 _swigt__p_wxMouseEvent
,
32057 _swigt__p_wxCommandEvent
,
32058 _swigt__p_wxStaticText
,
32059 _swigt__p_wxControlWithItems
,
32060 _swigt__p_wxToolBarToolBase
,
32061 _swigt__p_wxColour
,
32062 _swigt__p_wxToolBar
,
32063 _swigt__p_wxBookCtrlSizer
,
32064 _swigt__p_wxValidator
,
32069 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32071 static swig_const_info swig_const_table
[] = {
32081 SWIGEXPORT(void) SWIG_init(void) {
32082 static PyObject
*SWIG_globals
= 0;
32083 static int typeinit
= 0;
32086 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32087 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32088 d
= PyModule_GetDict(m
);
32091 for (i
= 0; swig_types_initial
[i
]; i
++) {
32092 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32096 SWIG_InstallConstants(d
,swig_const_table
);
32098 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32099 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32100 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32101 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32102 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32103 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32104 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32105 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32106 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32107 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32108 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32109 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32110 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32111 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32112 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32113 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32114 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32115 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32116 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32117 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32118 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32119 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32120 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32121 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32122 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32123 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32124 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32125 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32126 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32127 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32128 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32129 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32130 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32131 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32132 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32133 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32134 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32135 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32136 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32137 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32138 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32139 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32140 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32141 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32142 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32143 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32144 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32145 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32146 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32147 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32148 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32149 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32150 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32151 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32152 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32153 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32154 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32155 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32156 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32157 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32158 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32159 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32160 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32161 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32162 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32163 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32164 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32165 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32166 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32167 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32168 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32169 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32170 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32171 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32172 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32173 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32174 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32175 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32176 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32177 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32178 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32179 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32180 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32181 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32182 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32183 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32184 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32185 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32186 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32187 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32188 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32189 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32190 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32191 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32192 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32193 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32194 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32195 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32196 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32197 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32198 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32199 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32200 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32201 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32202 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32203 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32204 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32205 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32206 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32207 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32208 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32209 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32210 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32211 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32212 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32213 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32214 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32215 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32216 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32217 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32218 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32219 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32220 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32221 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32222 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32223 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32224 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32225 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32226 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32227 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32228 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32229 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32230 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32231 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32232 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32233 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32234 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32235 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32236 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32237 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32238 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32239 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32240 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32241 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32242 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32243 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32244 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32245 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32246 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32247 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32248 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32249 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32250 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32251 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32252 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32253 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32254 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32255 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32256 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32257 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32258 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32259 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32260 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32261 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32262 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32263 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32264 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32265 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32266 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32267 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32268 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32269 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32270 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32271 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32272 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32273 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32274 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32275 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32276 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32277 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32278 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32279 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32280 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32281 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32282 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32283 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32284 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32285 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32286 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32287 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32288 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32289 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32290 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32291 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32292 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32293 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32294 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32295 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32296 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32297 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32298 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32299 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32300 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32301 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32302 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32303 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32304 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32305 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32306 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32307 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32308 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32310 // Map renamed classes back to their common name for OOR
32311 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32313 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32314 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32315 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32316 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32317 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32318 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32319 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32320 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32321 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32322 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32323 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32324 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32325 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32326 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32327 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32328 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32329 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32330 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32331 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32332 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32333 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32334 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32335 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32336 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32337 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32338 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32339 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32340 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32341 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32342 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32343 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32344 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32345 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32346 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32347 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32348 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32349 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32350 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32351 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32352 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32353 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32354 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32355 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32356 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32357 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32358 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32359 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32360 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32361 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32362 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32363 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32364 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32365 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32366 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32367 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32368 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32370 // Map renamed classes back to their common name for OOR
32371 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32372 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32374 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32375 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32376 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32377 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32378 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32379 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32380 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32381 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32382 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32383 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32385 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");